diff options
author | chopraanmol1 <chopraanmol1@gmail.com> | 2017-08-09 11:18:27 +0530 |
---|---|---|
committer | chopraanmol1 <chopraanmol1@gmail.com> | 2017-08-09 11:18:27 +0530 |
commit | 5f64f361aea5a59c5782ed9d635668a738d9fabd (patch) | |
tree | 9facba3c11f16cc26357583584d0215765b18fe4 /activerecord/lib/active_record/relation | |
parent | 7919d5ca7b11107671a72fa0cfd2adc139954e4e (diff) | |
download | rails-5f64f361aea5a59c5782ed9d635668a738d9fabd.tar.gz rails-5f64f361aea5a59c5782ed9d635668a738d9fabd.tar.bz2 rails-5f64f361aea5a59c5782ed9d635668a738d9fabd.zip |
Changed join_fk private method to join_foreign_key public method
Diffstat (limited to 'activerecord/lib/active_record/relation')
-rw-r--r-- | activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb b/activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb index 27efd49622..0255a65bfe 100644 --- a/activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb +++ b/activerecord/lib/active_record/relation/predicate_builder/association_query_value.rb @@ -9,7 +9,7 @@ module ActiveRecord end def queries - [associated_table.association_join_fk.to_s => ids] + [associated_table.association_join_foreign_key.to_s => ids] end # TODO Change this to private once we've dropped Ruby 2.2 support. |