aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-12-10 15:13:51 -0800
committerVijay Dev <vijaydev.cse@gmail.com>2010-12-16 01:49:27 +0530
commitb1447d902c39a4b324cb0dc54b80fecc0fe7e34e (patch)
tree94b37b04fe531775d8c11857842b0366f3e30a82 /activerecord
parent0042054ea873a8d25d9bbdc4c7fe0febe1b76042 (diff)
downloadrails-b1447d902c39a4b324cb0dc54b80fecc0fe7e34e.tar.gz
rails-b1447d902c39a4b324cb0dc54b80fecc0fe7e34e.tar.bz2
rails-b1447d902c39a4b324cb0dc54b80fecc0fe7e34e.zip
explicitly set prefix
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/associations/class_methods/join_dependency/join_association.rb2
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!