1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/lib
Carlos Antonio da Silva 7fad77fcc7 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.
2012-06-26 22:21:18 -03:00
..
active_model Cleanup attribute methods a bit, use map! when accepting *args 2012-06-26 22:21:18 -03:00
active_model.rb Simplify AR configuration code. 2012-06-15 19:15:36 +01:00