未验证 提交 f207d948 编写于 作者: T Tim Wade

Fix grammar/style: assigns/declares -> assignments/declarations.

[ci skip]
上级 ed6de3af
......@@ -239,7 +239,7 @@ def attribute_alias(name)
#
# # Call to define_attribute_methods must appear after the
# # attribute_method_prefix, attribute_method_suffix or
# # attribute_method_affix declares.
# # attribute_method_affix declarations.
# define_attribute_methods :name, :age, :address
#
# private
......@@ -267,7 +267,7 @@ def define_attribute_methods(*attr_names)
#
# # Call to define_attribute_method must appear after the
# # attribute_method_prefix, attribute_method_suffix or
# # attribute_method_affix declares.
# # attribute_method_affix declarations.
# define_attribute_method :name
#
# private
......@@ -419,7 +419,7 @@ def plain?
# returned by <tt>attributes</tt>, as though they were first-class
# methods. So a +Person+ class with a +name+ attribute can for example use
# <tt>Person#name</tt> and <tt>Person#name=</tt> and never directly use
# the attributes hash -- except for multiple assigns with
# the attributes hash -- except for multiple assignments with
# <tt>ActiveRecord::Base#attributes=</tt>.
#
# It's also possible to instantiate related objects, so a <tt>Client</tt>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册