diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-12-26 17:01:05 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-12-26 17:01:05 -0700 |
commit | 8ce6fd559445188b1cbccafd50455ee217d2c752 (patch) | |
tree | b4b613cb7939697072b71c6c45bb634a6c62c2b1 /activerecord/lib/active_record/attribute.rb | |
parent | b4e6e47471ef951fe134a74cf71544c10a8638f5 (diff) | |
download | rails-8ce6fd559445188b1cbccafd50455ee217d2c752.tar.gz rails-8ce6fd559445188b1cbccafd50455ee217d2c752.tar.bz2 rails-8ce6fd559445188b1cbccafd50455ee217d2c752.zip |
Inform Arel that we don't need to cast a value in tests
Part of the larger refactoring to remove type casting from Arel. We can
inform it that we already have the right type by wrapping the value in
an `Arel::Nodes::Quoted`. This commit can be reverted when we have
removed type casting from Arel in Rail 5.1
Diffstat (limited to 'activerecord/lib/active_record/attribute.rb')
0 files changed, 0 insertions, 0 deletions