aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorGosha Arinich <me@goshakkk.name>2013-01-07 11:47:27 +0300
committerGosha Arinich <me@goshakkk.name>2013-01-07 11:47:27 +0300
commit0acf92184dab8d97db7d447bea8e3c6097b33722 (patch)
treeee37ef9f2038a578ea789bdf64e10381e6da3697 /activemodel
parent09626e2ebaed9852a26b5572e3d27f4a154d6a05 (diff)
downloadrails-0acf92184dab8d97db7d447bea8e3c6097b33722.tar.gz
rails-0acf92184dab8d97db7d447bea8e3c6097b33722.tar.bz2
rails-0acf92184dab8d97db7d447bea8e3c6097b33722.zip
prefer american spelling of 'behavior'
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 db5759ada9..6d11c0fbdc 100644
--- a/activemodel/lib/active_model/attribute_methods.rb
+++ b/activemodel/lib/active_model/attribute_methods.rb
@@ -436,7 +436,7 @@ module ActiveModel
# attribute_missing is like method_missing, but for attributes. When method_missing is
# called we check to see if there is a matching attribute method. If so, we call
# attribute_missing to dispatch the attribute. This method can be overloaded to
- # customise the behaviour.
+ # customize the behavior.
def attribute_missing(match, *args, &block)
__send__(match.target, match.attr_name, *args, &block)
end