Skip to content
Browse files

Remove unused var

  • Loading branch information...
1 parent f8b7c74 commit 01ed7005e1347c971e332dc58e8b2e02f97bf747 @spastorino spastorino committed Nov 14, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/associations/has_many_through_association.rb
View
2 activerecord/lib/active_record/associations/has_many_through_association.rb
@@ -68,7 +68,7 @@ def insert_record(record, force = true, validate = true)
end
through_association = @owner.send(@reflection.through_reflection.name)
- through_record = through_association.create!(construct_join_attributes(record))
+ through_association.create!(construct_join_attributes(record))
end
# TODO - add dependent option support

0 comments on commit 01ed700

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