Skip to content
This repository
Browse code

Remove unused var

  • Loading branch information...
commit 01ed7005e1347c971e332dc58e8b2e02f97bf747 1 parent f8b7c74
Santiago Pastorino spastorino authored
2  activerecord/lib/active_record/associations/has_many_through_association.rb
@@ -68,7 +68,7 @@ def insert_record(record, force = true, validate = true)
68 68 end
69 69
70 70 through_association = @owner.send(@reflection.through_reflection.name)
71   - through_record = through_association.create!(construct_join_attributes(record))
  71 + through_association.create!(construct_join_attributes(record))
72 72 end
73 73
74 74 # TODO - add dependent option support

0 comments on commit 01ed700

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