aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/nested_attributes_test.rb
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-10-11 01:05:14 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-10-11 01:05:14 +0530
commitf638ef951b4d185b2bfd3d0d8be241cb23001890 (patch)
tree6fc5b981d4e8cc148ff5a63d6a753804247db375 /activerecord/test/cases/nested_attributes_test.rb
parent3401d5089ba4802b6554483a4de7739e6f914e50 (diff)
parent26ec070b09ceb798b471fd6999ae1da319120899 (diff)
downloadrails-f638ef951b4d185b2bfd3d0d8be241cb23001890.tar.gz
rails-f638ef951b4d185b2bfd3d0d8be241cb23001890.tar.bz2
rails-f638ef951b4d185b2bfd3d0d8be241cb23001890.zip
Merge branch 'master' of github.com:lifo/docrails
Conflicts: activerecord/lib/active_record/persistence.rb railties/lib/rails/generators/rails/resource_route/resource_route_generator.rb
Diffstat (limited to 'activerecord/test/cases/nested_attributes_test.rb')
-rw-r--r--activerecord/test/cases/nested_attributes_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/nested_attributes_test.rb b/activerecord/test/cases/nested_attributes_test.rb
index 9120083eca..fe9eddbdec 100644
--- a/activerecord/test/cases/nested_attributes_test.rb
+++ b/activerecord/test/cases/nested_attributes_test.rb
@@ -156,7 +156,7 @@ class TestNestedAttributesInGeneral < ActiveRecord::TestCase
end
def test_reject_if_with_blank_nested_attributes_id
- # When using a select list to choose an existing 'ship' id, with :include_blank => true
+ # When using a select list to choose an existing 'ship' id, with include_blank: true
Pirate.accepts_nested_attributes_for :ship, :reject_if => proc {|attributes| attributes[:id].blank? }
pirate = Pirate.new(:catchphrase => "Stop wastin' me time")