diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-06-25 14:45:39 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-06-26 22:21:18 -0300 |
commit | 7fad77fcc7a986bd11f386fcc877ed9b0bce47d1 (patch) | |
tree | a7df2a1eed7a6349aa863ed778c160c227a338be /activerecord/test/cases/migration/rename_table_test.rb | |
parent | fef781cac4cb6ff6482307f3c253bdc01d4bed82 (diff) | |
download | rails-7fad77fcc7a986bd11f386fcc877ed9b0bce47d1.tar.gz rails-7fad77fcc7a986bd11f386fcc877ed9b0bce47d1.tar.bz2 rails-7fad77fcc7a986bd11f386fcc877ed9b0bce47d1.zip |
Cleanup attribute methods a bit, use map! when accepting *args
Since we're dealing with a new array instance, it's safe to use map! and
we avoid an extra array object.
Also remove the symbolize_keys! from AttributeMethodMatcher, since it's
an internal class that always receives symbol keys from the prefix/suffix
methods implementations.
Diffstat (limited to 'activerecord/test/cases/migration/rename_table_test.rb')
0 files changed, 0 insertions, 0 deletions