diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-12-26 14:17:22 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-12-26 14:18:26 -0700 |
commit | 392a453b10abad60432f2612000f306de55b7d1a (patch) | |
tree | 32d3216bacb4c51e1f1d112b3f4cdac590e3973c /activerecord/lib/active_record/type/text.rb | |
parent | a3936bbe21f4bff8247f890cacfd0fc882921003 (diff) | |
download | rails-392a453b10abad60432f2612000f306de55b7d1a.tar.gz rails-392a453b10abad60432f2612000f306de55b7d1a.tar.bz2 rails-392a453b10abad60432f2612000f306de55b7d1a.zip |
Re-use the predicate builder in the `ArrayHandler`
This reduces the number of places which will need to care about single
value or range specific logic as we introduce type casting. The array
handler is only responsible for producing `in` statements.
/cc @mrgilman
[Sean Griffin & Melanie Gilman]
Diffstat (limited to 'activerecord/lib/active_record/type/text.rb')
0 files changed, 0 insertions, 0 deletions