diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-12-26 17:40:30 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-12-26 17:45:01 -0700 |
commit | 50d7e448e8823ed53f7a4e8fcd12bc3cf3353cf6 (patch) | |
tree | de6dc1533482dd0a365caebb3f5ad022c63c032d /activerecord/lib/active_record/counter_cache.rb | |
parent | 15e2d5043f181a480f9bb3c3ff19b03505e7c4a1 (diff) | |
download | rails-50d7e448e8823ed53f7a4e8fcd12bc3cf3353cf6.tar.gz rails-50d7e448e8823ed53f7a4e8fcd12bc3cf3353cf6.tar.bz2 rails-50d7e448e8823ed53f7a4e8fcd12bc3cf3353cf6.zip |
Inform Arel that we don't need additional type casting in batching
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/counter_cache.rb')
0 files changed, 0 insertions, 0 deletions