aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorTim Wade <hello@timjwade.com>2015-04-24 08:43:24 -0400
committerTim Wade <hello@timjwade.com>2015-04-24 08:52:51 -0400
commited6de3afcc8069bfa1e0c9098a3e5ed6ff532af4 (patch)
tree4f2adec8a3ccbe88ed45b3e74ce1a6722174937a /activemodel
parent37349f71adbeeef039101596a0e815bd1c04a65f (diff)
downloadrails-ed6de3afcc8069bfa1e0c9098a3e5ed6ff532af4.tar.gz
rails-ed6de3afcc8069bfa1e0c9098a3e5ed6ff532af4.tar.bz2
rails-ed6de3afcc8069bfa1e0c9098a3e5ed6ff532af4.zip
Fix grammar/style: use (v) fall back (on).
[ci skip]
Diffstat (limited to 'activemodel')
-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 6b14d9702e..dbd03e0f49 100644
--- a/activemodel/lib/active_model/attribute_methods.rb
+++ b/activemodel/lib/active_model/attribute_methods.rb
@@ -363,7 +363,7 @@ module ActiveModel
end
# Define a method `name` in `mod` that dispatches to `send`
- # using the given `extra` args. This fallbacks `define_method`
+ # using the given `extra` args. This falls back on `define_method`
# and `send` if the given names cannot be compiled.
def define_proxy_call(include_private, mod, name, send, *extra) #:nodoc:
defn = if name =~ NAME_COMPILABLE_REGEXP