From 6dd6816ce337322e7c267ab1158ac8c80588ccd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Sun, 4 Mar 2012 22:13:56 -0300 Subject: Now all the models need to explicitly declare the accessible attributes --- railties/test/application/loading_test.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'railties/test/application') diff --git a/railties/test/application/loading_test.rb b/railties/test/application/loading_test.rb index 5ad51f8476..0354c08067 100644 --- a/railties/test/application/loading_test.rb +++ b/railties/test/application/loading_test.rb @@ -20,6 +20,7 @@ class LoadingTest < ActiveSupport::TestCase app_file "app/models/post.rb", <<-MODEL class Post < ActiveRecord::Base validates_acceptance_of :title, :accept => "omg" + attr_accessible :title end MODEL -- cgit v1.2.3