diff options
author | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2013-12-02 19:35:02 +0530 |
---|---|---|
committer | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2013-12-02 19:35:02 +0530 |
commit | ef0f633c66d8eac6612c118c66ccf1b096bd4d3e (patch) | |
tree | 6450678fe833e162413bd141f1092914343c4448 /activemodel/lib/active_model | |
parent | e0326f56b41ef4e1d41fd327259873992d894736 (diff) | |
download | rails-ef0f633c66d8eac6612c118c66ccf1b096bd4d3e.tar.gz rails-ef0f633c66d8eac6612c118c66ccf1b096bd4d3e.tar.bz2 rails-ef0f633c66d8eac6612c118c66ccf1b096bd4d3e.zip |
Typo and grammatical fixes [ci skip]
Diffstat (limited to 'activemodel/lib/active_model')
-rw-r--r-- | activemodel/lib/active_model/attribute_methods.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/attribute_methods.rb b/activemodel/lib/active_model/attribute_methods.rb index f336c759d2..8d6d405e96 100644 --- a/activemodel/lib/active_model/attribute_methods.rb +++ b/activemodel/lib/active_model/attribute_methods.rb @@ -349,7 +349,7 @@ module ActiveModel # invoked often in a typical rails, both of which invoke the method # +match_attribute_method?+. The latter method iterates through an # array doing regular expression matches, which results in a lot of - # object creations. Most of the times it returns a +nil+ match. As the + # object creations. Most of the time it returns a +nil+ match. As the # match result is always the same given a +method_name+, this cache is # used to alleviate the GC, which ultimately also speeds up the app # significantly (in our case our test suite finishes 10% faster with |