Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebasing PR #266 #324

Merged
merged 3 commits into from
May 10, 2019
Merged

Rebasing PR #266 #324

merged 3 commits into from
May 10, 2019

Conversation

kerrizor
Copy link
Collaborator

Rebasing #266

Ian Davies and others added 3 commits May 10, 2019 15:04
By default the value of only_recursion_depth is converted to a symbol.
This then fails to convert to an integer in RailsERD::diagram.generate.

This change fixes the issue by converting the option value to an int if
it only contains digits.
…symbols.

In a similar way to the current tests that verify boolean values are
set in the model as booleans, this asserts that a string of only digits
will be set in the model as the integer value rather than a symbol.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant