diff options
author | Peter Kovacs <peter@kovax.org> | 2013-08-05 11:44:16 -0400 |
---|---|---|
committer | Peter Kovacs <peter@kovax.org> | 2013-08-05 11:44:16 -0400 |
commit | 76a58e1e7e10d71ac47aa2a17e6436aca1b506fb (patch) | |
tree | 7acacbf0dec4f05baba72ba6bd1088022fa41ac8 /activerecord/lib/active_record/inheritance.rb | |
parent | 3baee0982d25e64cab2eeb046369f0fcf9ee2436 (diff) | |
download | rails-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/inheritance.rb')
0 files changed, 0 insertions, 0 deletions