aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/autosave_association.rb
diff options
context:
space:
mode:
authorPeter Kovacs <peter@kovax.org>2013-08-05 11:44:16 -0400
committerPeter Kovacs <peter@kovax.org>2013-08-05 11:44:16 -0400
commit76a58e1e7e10d71ac47aa2a17e6436aca1b506fb (patch)
tree7acacbf0dec4f05baba72ba6bd1088022fa41ac8 /activerecord/lib/active_record/autosave_association.rb
parent3baee0982d25e64cab2eeb046369f0fcf9ee2436 (diff)
downloadrails-76a58e1e7e10d71ac47aa2a17e6436aca1b506fb.tar.gz
rails-76a58e1e7e10d71ac47aa2a17e6436aca1b506fb.tar.bz2
rails-76a58e1e7e10d71ac47aa2a17e6436aca1b506fb.zip
Free result_metadata directly instead of freeing 2nd, redundant call.
`result_metadata` returns a new object each time it is called, so calling `result_metadata.free` is essentially a noop. Instead call `free` directly on the metadata when we're done with it.
Diffstat (limited to 'activerecord/lib/active_record/autosave_association.rb')
0 files changed, 0 insertions, 0 deletions