Skip to content

Commit

Permalink
Update docs to reflect 71bf75
Browse files Browse the repository at this point in the history
  • Loading branch information
lifo committed Jun 11, 2008
1 parent e25e272 commit 535b988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/associations.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ def has_one(association_id, options = {})
# Note: If you've enabled the counter cache, then you may want to add the counter cache attribute # 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>). # 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>: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: # Option examples:
# belongs_to :firm, :foreign_key => "client_of" # belongs_to :firm, :foreign_key => "client_of"
Expand Down

0 comments on commit 535b988

Please sign in to comment.