aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model.rb
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-06-26 12:54:22 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-06-26 22:05:56 -0300
commit60571b853920707c1103c5f9659e7b690d8eae73 (patch)
treed2054a5a54c058a0217ad569076832382c9fe8a7 /activemodel/lib/active_model.rb
parent5847f59b2506d40e45edc2db671b897b9bffe640 (diff)
downloadrails-60571b853920707c1103c5f9659e7b690d8eae73.tar.gz
rails-60571b853920707c1103c5f9659e7b690d8eae73.tar.bz2
rails-60571b853920707c1103c5f9659e7b690d8eae73.zip
Ensure Array#to_sentence does not modify given hash
Also simplify I18n logic for Array#to_sentence, doing only one lookup for all keys and using merge!, instead of one lookup for each option key.
Diffstat (limited to 'activemodel/lib/active_model.rb')
0 files changed, 0 insertions, 0 deletions