mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Update docs to reflect 71bf75
This commit is contained in:
parent
71bf756ea2
commit
6fd73442d8
1 changed files with 1 additions and 1 deletions
|
@ -859,7 +859,7 @@ module ActiveRecord
|
|||
# Note: If you've enabled the counter cache, then you may want to add the counter cache attribute
|
||||
# to the +attr_readonly+ list in the associated classes (e.g. <tt>class Post; attr_readonly :comments_count; end</tt>).
|
||||
# * <tt>:readonly</tt> - If true, the associated object is readonly through the association.
|
||||
# * <tt>:validate</tt> - If false, don't validate the associated objects when saving the parent object. +true+ by default.
|
||||
# * <tt>:validate</tt> - If false, don't validate the associated objects when saving the parent object. +false+ by default.
|
||||
#
|
||||
# Option examples:
|
||||
# belongs_to :firm, :foreign_key => "client_of"
|
||||
|
|
Loading…
Reference in a new issue