aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/transactions.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-08-02 16:51:23 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-08-02 16:53:06 +0900
commita76ebe5019cdb26808ff513b9952cf7fb012ec20 (patch)
treefe34ac6581866c11f9bb2112e6384cf70ac23929 /activerecord/lib/active_record/transactions.rb
parentc205e3fca333e7c24dd1e36d439f83cdaf074e44 (diff)
downloadrails-a76ebe5019cdb26808ff513b9952cf7fb012ec20.tar.gz
rails-a76ebe5019cdb26808ff513b9952cf7fb012ec20.tar.bz2
rails-a76ebe5019cdb26808ff513b9952cf7fb012ec20.zip
Remove unnecessary `set_inverse_instance` in finder methods
Because `scope` (`target_scope`) is a `AssociationRelation`. `AssociationRelation` handles `set_inverse_instance`. https://github.com/rails/rails/blob/v5.0.0/activerecord/lib/active_record/association_relation.rb#L31-L33
Diffstat (limited to 'activerecord/lib/active_record/transactions.rb')
0 files changed, 0 insertions, 0 deletions