aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-12-02 06:17:09 -0800
committerXavier Noria <fxn@hashref.com>2013-12-02 06:17:09 -0800
commitd362ee17dbd1a500fc2e0331025845d8d38977e7 (patch)
treec0401093f7f5640bca964612d2af7a678300c688 /activemodel/lib
parentf7e527b1f55a109a56ede2f16dccf258f608ee9a (diff)
parentef0f633c66d8eac6612c118c66ccf1b096bd4d3e (diff)
downloadrails-d362ee17dbd1a500fc2e0331025845d8d38977e7.tar.gz
rails-d362ee17dbd1a500fc2e0331025845d8d38977e7.tar.bz2
rails-d362ee17dbd1a500fc2e0331025845d8d38977e7.zip
Merge pull request #13117 from akshay-vishnoi/typo
Typo and grammatical fixes [ci skip]
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/attribute_methods.rb2
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