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

Use QUOTED_TRUE and QUOTED_FALSE instead of magic strings #24426

Merged
merged 1 commit into from
Apr 5, 2016

Conversation

yui-knk
Copy link
Contributor

@yui-knk yui-knk commented Apr 5, 2016

Because we define QUOTED_TRUE as "1" and QUOTED_FALSE as "0".
And add test cases to ensure this commit does not break current
behavior even if the value of attributes_before_type_cast is false.

Because we define `QUOTED_TRUE` as `"1"` and `QUOTED_FALSE` as `"0"`.
And add test cases to ensure this commit does not break current
behavior even if the value of `attributes_before_type_cast` is false.
@rails-bot
Copy link

r? @schneems

(@rails-bot has picked a reviewer for you, use r? to override)

@rafaelfranca rafaelfranca merged commit dcffeae into rails:master Apr 5, 2016
@yui-knk yui-knk deleted the refactor_mysql2 branch April 5, 2016 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants