Skip to content
This repository
Browse code

Update docs to reflect 71bf75

  • Loading branch information...
commit 535b98859cdd1f3bdcf38d2c4fd9d4c7ad493efc 1 parent e25e272
Pratik lifo authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  activerecord/lib/active_record/associations.rb
2  activerecord/lib/active_record/associations.rb
@@ -859,7 +859,7 @@ def has_one(association_id, options = {})
859 859 # Note: If you've enabled the counter cache, then you may want to add the counter cache attribute
860 860 # to the +attr_readonly+ list in the associated classes (e.g. <tt>class Post; attr_readonly :comments_count; end</tt>).
861 861 # * <tt>:readonly</tt> - If true, the associated object is readonly through the association.
862   - # * <tt>:validate</tt> - If false, don't validate the associated objects when saving the parent object. +true+ by default.
  862 + # * <tt>:validate</tt> - If false, don't validate the associated objects when saving the parent object. +false+ by default.
863 863 #
864 864 # Option examples:
865 865 # belongs_to :firm, :foreign_key => "client_of"

0 comments on commit 535b988

Please sign in to comment.
Something went wrong with that request. Please try again.