diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-10 15:13:51 -0800 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2010-12-16 01:49:27 +0530 |
commit | b1447d902c39a4b324cb0dc54b80fecc0fe7e34e (patch) | |
tree | 94b37b04fe531775d8c11857842b0366f3e30a82 | |
parent | 0042054ea873a8d25d9bbdc4c7fe0febe1b76042 (diff) | |
download | rails-b1447d902c39a4b324cb0dc54b80fecc0fe7e34e.tar.gz rails-b1447d902c39a4b324cb0dc54b80fecc0fe7e34e.tar.bz2 rails-b1447d902c39a4b324cb0dc54b80fecc0fe7e34e.zip |
explicitly set prefix
-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! |