mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Grammar fix in aggregations rdoc. Closes #5613.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
fefe6591f6
commit
63375b9ef2
1 changed files with 2 additions and 2 deletions
|
@ -109,8 +109,8 @@ module ActiveRecord
|
|||
# Read more about value objects on http://c2.com/cgi/wiki?ValueObject and on the dangers of not keeping value objects
|
||||
# immutable on http://c2.com/cgi/wiki?ValueObjectsShouldBeImmutable
|
||||
module ClassMethods
|
||||
# Adds the a reader and writer method for manipulating a value object, so
|
||||
# <tt>composed_of :address</tt> would add <tt>address</tt> and <tt>address=(new_address)</tt>.
|
||||
# Adds reader and writer methods for manipulating a value object:
|
||||
# <tt>composed_of :address</tt> adds <tt>address</tt> and <tt>address=(new_address)</tt> methods.
|
||||
#
|
||||
# Options are:
|
||||
# * <tt>:class_name</tt> - specify the class name of the association. Use it only if that name can't be inferred
|
||||
|
|
Loading…
Reference in a new issue