diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-03-13 11:40:35 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-03-13 11:40:35 -0700 |
commit | d92ae6ccca3bcfd73546d612efaea011270bd270 (patch) | |
tree | 5eaf6b2449f29cc6050e802e1ca1491f7eb13537 /activerecord/lib/active_record/relation/delegation.rb | |
parent | e88da370f190cabd1e9750c5b3531735950ab415 (diff) | |
download | rails-d92ae6ccca3bcfd73546d612efaea011270bd270.tar.gz rails-d92ae6ccca3bcfd73546d612efaea011270bd270.tar.bz2 rails-d92ae6ccca3bcfd73546d612efaea011270bd270.zip |
passing an ActiveRecord object to `exists?` is deprecated.
Pass the id of the object to the method by calling `.id` on the AR
object.
Diffstat (limited to 'activerecord/lib/active_record/relation/delegation.rb')
0 files changed, 0 insertions, 0 deletions