aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2016-01-27 18:05:15 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2016-01-27 18:28:05 -0800
commita447252ac4c97b06df271c04ddd7530014dd8c86 (patch)
tree10be640abb842b352feaaa082d28c6e6b6ca378a /railties
parent7fc79bc7907ea53aead3ff8461daedaacbf1cd71 (diff)
downloadrails-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 'railties')
0 files changed, 0 insertions, 0 deletions