diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-14 18:37:18 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-10-14 18:37:18 -0700 |
commit | 621c24323ea3226206ed65a16070b97a24a5bc2f (patch) | |
tree | 5ba5f3ca4a388d8dfb31dea1737e99221dd16f22 /activerecord/lib/active_record/associations/join_dependency/join_part.rb | |
parent | a53c2beac42e0fea5dab9a334a066911beeba976 (diff) | |
download | rails-621c24323ea3226206ed65a16070b97a24a5bc2f.tar.gz rails-621c24323ea3226206ed65a16070b97a24a5bc2f.tar.bz2 rails-621c24323ea3226206ed65a16070b97a24a5bc2f.zip |
keep a cache on the alias object
Diffstat (limited to 'activerecord/lib/active_record/associations/join_dependency/join_part.rb')
-rw-r--r-- | activerecord/lib/active_record/associations/join_dependency/join_part.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/associations/join_dependency/join_part.rb b/activerecord/lib/active_record/associations/join_dependency/join_part.rb index 2c4111e5ed..476288b7c5 100644 --- a/activerecord/lib/active_record/associations/join_dependency/join_part.rb +++ b/activerecord/lib/active_record/associations/join_dependency/join_part.rb @@ -51,11 +51,6 @@ module ActiveRecord raise NotImplementedError end - # The alias for the primary key of the active_record's table - def aliased_primary_key - "#{aliased_prefix}_r0" - end - # An array of [column_name, alias] pairs for the table def column_names_with_alias unless @column_names_with_alias |