diff options
Diffstat (limited to 'activerecord/lib/active_record/associations')
-rw-r--r-- | activerecord/lib/active_record/associations/has_many_through_association.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/has_many_through_association.rb b/activerecord/lib/active_record/associations/has_many_through_association.rb index de0854a8cd..413f56857f 100644 --- a/activerecord/lib/active_record/associations/has_many_through_association.rb +++ b/activerecord/lib/active_record/associations/has_many_through_association.rb @@ -80,7 +80,7 @@ module ActiveRecord end def construct_from - "#{@reflection.table_name}, #{@owner.class.reflections[@reflection.options[:through]].table_name}" + "#{@owner.class.reflections[@reflection.options[:through]].table_name}, #{@reflection.table_name}" end def construct_select |