diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-06-25 14:38:42 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-06-26 22:21:18 -0300 |
commit | fef781cac4cb6ff6482307f3c253bdc01d4bed82 (patch) | |
tree | 9f55262f39f2e1a5ce4f5d2dc92e03f42664dfcb /activemodel/lib/active_model/model.rb | |
parent | 0ee6aa749cde21dad0e5f394a7feb3173f357d2f (diff) | |
download | rails-fef781cac4cb6ff6482307f3c253bdc01d4bed82.tar.gz rails-fef781cac4cb6ff6482307f3c253bdc01d4bed82.tar.bz2 rails-fef781cac4cb6ff6482307f3c253bdc01d4bed82.zip |
Use default + merge! instead of reverse_merge
Since we're not directly requiring the reverse_merge extension, we can
avoid another hash creation by using default_hash.merge! instead.
Diffstat (limited to 'activemodel/lib/active_model/model.rb')
0 files changed, 0 insertions, 0 deletions