Skip to content
Browse files

Removed unused @join_sql reference (closes #9174) [danger]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7554 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent f336cf4 commit 0f3d8707db21dc28e43c54ddb15d2e723c488d69 @dhh dhh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/associations/has_many_association.rb
View
2 activerecord/lib/active_record/associations/has_many_association.rb
@@ -173,7 +173,7 @@ def construct_sql
def construct_scope
create_scoping = {}
set_belongs_to_association_for(create_scoping)
- { :find => { :conditions => @finder_sql, :joins => @join_sql, :readonly => false }, :create => create_scoping }
+ { :find => { :conditions => @finder_sql, :readonly => false }, :create => create_scoping }
end
end
end

0 comments on commit 0f3d870

Please sign in to comment.
Something went wrong with that request. Please try again.