diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-10 15:13:51 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-10 16:31:08 -0800 |
commit | 64ba043544008a92a4fe1940e836a7dfa4ca3f11 (patch) | |
tree | 8a71ff99dcc58835000bcaffa3bc45a07d9bbbd4 /activerecord | |
parent | 4d5f9a07658f610c34851ceca2a0e25e5ad83503 (diff) | |
download | rails-64ba043544008a92a4fe1940e836a7dfa4ca3f11.tar.gz rails-64ba043544008a92a4fe1940e836a7dfa4ca3f11.tar.bz2 rails-64ba043544008a92a4fe1940e836a7dfa4ca3f11.zip |
explicitly set prefix
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/associations/class_methods/join_dependency/join_association.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/class_methods/join_dependency/join_association.rb b/activerecord/lib/active_record/associations/class_methods/join_dependency/join_association.rb index 4839068f6d..f1b923e98b 100644 --- a/activerecord/lib/active_record/associations/class_methods/join_dependency/join_association.rb +++ b/activerecord/lib/active_record/associations/class_methods/join_dependency/join_association.rb @@ -22,7 +22,7 @@ module ActiveRecord attr_reader :aliased_prefix, :aliased_table_name delegate :options, :through_reflection, :source_reflection, :to => :reflection - delegate :table, :table_name, :to => :parent, :prefix => true + delegate :table, :table_name, :to => :parent, :prefix => :parent def initialize(reflection, join_dependency, parent = nil) reflection.check_validity! |