diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2016-01-27 18:05:15 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2016-01-27 18:28:05 -0800 |
commit | a447252ac4c97b06df271c04ddd7530014dd8c86 (patch) | |
tree | 10be640abb842b352feaaa082d28c6e6b6ca378a /activerecord/test/cases/timestamp_test.rb | |
parent | 7fc79bc7907ea53aead3ff8461daedaacbf1cd71 (diff) | |
download | rails-a447252ac4c97b06df271c04ddd7530014dd8c86.tar.gz rails-a447252ac4c97b06df271c04ddd7530014dd8c86.tar.bz2 rails-a447252ac4c97b06df271c04ddd7530014dd8c86.zip |
remove == from AcceptItem
Remove nonsense definition of == from `AcceptItem`. The definition only
compared names and not `q` values or even object identity. The only use
was in the `assort!` method that really just wanted the index of the
item given the item's name. Instead we just change the caller to use
`index` with the block form.
Diffstat (limited to 'activerecord/test/cases/timestamp_test.rb')
0 files changed, 0 insertions, 0 deletions