diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-26 05:45:30 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-26 05:45:30 +0900 |
commit | 23b53294cc45bbec696ef026c9728325546e39ec (patch) | |
tree | 7ba773f429db167f0b63198d3258f6a118b24898 /activerecord/lib/active_record/timestamp.rb | |
parent | eb080d91ce83bad4d0c20d3f1b68e3daa72b04e5 (diff) | |
download | rails-23b53294cc45bbec696ef026c9728325546e39ec.tar.gz rails-23b53294cc45bbec696ef026c9728325546e39ec.tar.bz2 rails-23b53294cc45bbec696ef026c9728325546e39ec.zip |
Building `where_clause` in `UniquenessValidator` is no longer needed
Building `where_clause` manually was introduced at #26073 to include
both `comparison` and `binds` in `where_clause`. Since 213796f,
`comparison` includes `binds`, so it is enough to use `where` simply.
Diffstat (limited to 'activerecord/lib/active_record/timestamp.rb')
0 files changed, 0 insertions, 0 deletions