aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activerecord/lib/active_record/associations/join_dependency/join_association.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/join_dependency/join_association.rb b/activerecord/lib/active_record/associations/join_dependency/join_association.rb
index 63f084426b..d497709671 100644
--- a/activerecord/lib/active_record/associations/join_dependency/join_association.rb
+++ b/activerecord/lib/active_record/associations/join_dependency/join_association.rb
@@ -17,7 +17,7 @@ module ActiveRecord
attr_accessor :tables
- delegate :options, :through_reflection, :source_reflection, :chain, :to => :reflection
+ delegate :chain, :to => :reflection
def initialize(reflection, index, join_type)
super(reflection.klass)