aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/nested_attributes.rb
diff options
context:
space:
mode:
authorMalcolm Locke <malc@wholemeal.co.nz>2010-06-17 14:26:13 +1200
committerMalcolm Locke <malc@wholemeal.co.nz>2010-06-17 14:26:13 +1200
commit1910c9239531ae98af523da81c53eded14e2909f (patch)
treeeccf99977dac91367936be599a556398f0c68e8e /activerecord/lib/active_record/nested_attributes.rb
parent5861fde01fbe9446666b319dfc8d24514aafda21 (diff)
downloadrails-1910c9239531ae98af523da81c53eded14e2909f.tar.gz
rails-1910c9239531ae98af523da81c53eded14e2909f.tar.bz2
rails-1910c9239531ae98af523da81c53eded14e2909f.zip
Missing quote and indentation wrong
Diffstat (limited to 'activerecord/lib/active_record/nested_attributes.rb')
-rw-r--r--activerecord/lib/active_record/nested_attributes.rb4
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
#