Permalink
Browse files

Missing quote and indentation wrong

  • Loading branch information...
1 parent 5861fde commit 1910c9239531ae98af523da81c53eded14e2909f @malclocke malclocke committed Jun 17, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/nested_attributes.rb
@@ -133,7 +133,7 @@ class TooManyRecords < ActiveRecordError
# 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 @@ class TooManyRecords < ActiveRecordError
# accepts_nested_attributes_for :posts, :reject_if => :reject_posts
#
# def reject_posts(attributed)
- # attributed['title].blank?
+ # attributed['title'].blank?
# end
# end
#

0 comments on commit 1910c92

Please sign in to comment.