diff options
author | yui-knk <spiketeika@gmail.com> | 2016-04-05 10:04:38 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2016-04-05 10:04:38 +0900 |
commit | 72ecb9fc42fe0fe904b7c742036cdafa358c3cab (patch) | |
tree | 96f852a34d34324f8f9922a082aec9aa3a682c5c /guides/source/generators.md | |
parent | bd49325e3ba9fba3bbea2d32b3e7a71ec1934c55 (diff) | |
download | rails-72ecb9fc42fe0fe904b7c742036cdafa358c3cab.tar.gz rails-72ecb9fc42fe0fe904b7c742036cdafa358c3cab.tar.bz2 rails-72ecb9fc42fe0fe904b7c742036cdafa358c3cab.zip |
Use `QUOTED_TRUE` and `QUOTED_FALSE` instead of magic strings
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.
Diffstat (limited to 'guides/source/generators.md')
0 files changed, 0 insertions, 0 deletions