aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2016-04-05 10:04:38 +0900
committeryui-knk <spiketeika@gmail.com>2016-04-05 10:04:38 +0900
commit72ecb9fc42fe0fe904b7c742036cdafa358c3cab (patch)
tree96f852a34d34324f8f9922a082aec9aa3a682c5c /activerecord/test/models
parentbd49325e3ba9fba3bbea2d32b3e7a71ec1934c55 (diff)
downloadrails-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 'activerecord/test/models')
0 files changed, 0 insertions, 0 deletions