aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/nested_attributes.rb
diff options
context:
space:
mode:
authorBenny Klotz <benny.klotz92@gmail.com>2015-04-28 13:34:15 +0200
committerBenny Klotz <benny.klotz92@gmail.com>2015-04-28 13:34:15 +0200
commit6f3e635e413152220ad517a7299c244a58b0d4a9 (patch)
tree20861af210959970ed8ed488f752fda4260d2b2d /activerecord/lib/active_record/nested_attributes.rb
parenta66a64aa2a82b755f754bd42b8a4a4697ac89f83 (diff)
downloadrails-6f3e635e413152220ad517a7299c244a58b0d4a9.tar.gz
rails-6f3e635e413152220ad517a7299c244a58b0d4a9.tar.bz2
rails-6f3e635e413152220ad517a7299c244a58b0d4a9.zip
fixed typo
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 084ef397a8..90e37e80d2 100644
--- a/activerecord/lib/active_record/nested_attributes.rb
+++ b/activerecord/lib/active_record/nested_attributes.rb
@@ -147,8 +147,8 @@ module ActiveRecord
# has_many :posts
# accepts_nested_attributes_for :posts, reject_if: :reject_posts
#
- # def reject_posts(attributed)
- # attributed['title'].blank?
+ # def reject_posts(attributes)
+ # attributes['title'].blank?
# end
# end
#