diff options
author | Malcolm Locke <malc@wholemeal.co.nz> | 2010-06-17 14:26:13 +1200 |
---|---|---|
committer | Malcolm Locke <malc@wholemeal.co.nz> | 2010-06-17 14:26:13 +1200 |
commit | 1910c9239531ae98af523da81c53eded14e2909f (patch) | |
tree | eccf99977dac91367936be599a556398f0c68e8e /activerecord/lib/active_record | |
parent | 5861fde01fbe9446666b319dfc8d24514aafda21 (diff) | |
download | rails-1910c9239531ae98af523da81c53eded14e2909f.tar.gz rails-1910c9239531ae98af523da81c53eded14e2909f.tar.bz2 rails-1910c9239531ae98af523da81c53eded14e2909f.zip |
Missing quote and indentation wrong
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/nested_attributes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/nested_attributes.rb b/activerecord/lib/active_record/nested_attributes.rb index 99f8b431c8..12a75f5d16 100644 --- a/activerecord/lib/active_record/nested_attributes.rb +++ b/activerecord/lib/active_record/nested_attributes.rb @@ -133,7 +133,7 @@ module ActiveRecord # member.posts.first.title # => 'Kari, the awesome Ruby documentation browser!' # member.posts.second.title # => 'The egalitarian assumption of the modern citizen' # - # Alternatively, :reject_if also accepts a symbol for using methods: + # Alternatively, :reject_if also accepts a symbol for using methods: # # class Member < ActiveRecord::Base # has_many :posts @@ -145,7 +145,7 @@ module ActiveRecord # accepts_nested_attributes_for :posts, :reject_if => :reject_posts # # def reject_posts(attributed) - # attributed['title].blank? + # attributed['title'].blank? # end # end # |