diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-12-26 15:33:57 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-12-26 15:33:57 -0700 |
commit | 3179b4a868c370bf879c15c53b78f25fadec9b41 (patch) | |
tree | 5f8fa85b609f182cfbb9c2d4985c93a981208c2a /activerecord/test/models/admin/account.rb | |
parent | a60770d3bf3a8aeac16c110f3a7d05a6d52a86d6 (diff) | |
download | rails-3179b4a868c370bf879c15c53b78f25fadec9b41.tar.gz rails-3179b4a868c370bf879c15c53b78f25fadec9b41.tar.bz2 rails-3179b4a868c370bf879c15c53b78f25fadec9b41.zip |
Perform casting of single values within the predicate builder
As part of the larger refactoring to remove type casting from Arel, we
need to do the casting of values eagerly. The predicate builder is the
closest place that knows about the Active Record class, and can
therefore have the type information.
/cc @mrgilman
[Sean Griffin & Melanie Gilman]
Diffstat (limited to 'activerecord/test/models/admin/account.rb')
0 files changed, 0 insertions, 0 deletions