diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-08-02 12:25:26 -0400 |
---|---|---|
committer | Neeraj Singh <neerajdotname@gmail.com> | 2010-08-02 12:25:26 -0400 |
commit | 1ce40ca56216ae76e93cde78ec2752de110400c0 (patch) | |
tree | be1a67a987b299d00ef01af7622e0cb917ea60a1 /activerecord/lib/active_record/validations/associated.rb | |
parent | b8d9d9ce0a72218fa0891485063d3fcb3e77cae8 (diff) | |
download | rails-1ce40ca56216ae76e93cde78ec2752de110400c0.tar.gz rails-1ce40ca56216ae76e93cde78ec2752de110400c0.tar.bz2 rails-1ce40ca56216ae76e93cde78ec2752de110400c0.zip |
ensuring that description does not exceed 100 columns
Diffstat (limited to 'activerecord/lib/active_record/validations/associated.rb')
-rw-r--r-- | activerecord/lib/active_record/validations/associated.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/validations/associated.rb b/activerecord/lib/active_record/validations/associated.rb index 0b0f5682aa..15b587de45 100644 --- a/activerecord/lib/active_record/validations/associated.rb +++ b/activerecord/lib/active_record/validations/associated.rb @@ -27,8 +27,9 @@ module ActiveRecord # # this would specify a circular dependency and cause infinite recursion. # - # NOTE: This validation will not fail if the association hasn't been assigned. If you want to ensure that the association - # is both present and guaranteed to be valid, you also need to use +validates_presence_of+. + # NOTE: This validation will not fail if the association hasn't been assigned. If you want to + # ensure that the association is both present and guaranteed to be valid, you also need to + # use +validates_presence_of+. # # Configuration options: # * <tt>:message</tt> - A custom error message (default is: "is invalid") @@ -44,4 +45,4 @@ module ActiveRecord end end end -end
\ No newline at end of file +end |