aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-03-04 22:13:56 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-03-04 22:37:16 -0300
commit2a6b7e5a0cf0b3a74edf83340cb983d064ba79ee (patch)
treef05e26161cbde163ec91f20cec18de8181b7da2b /railties/test
parentf604a6368b3a39b0035d6fe964802a4c35eb958a (diff)
downloadrails-2a6b7e5a0cf0b3a74edf83340cb983d064ba79ee.tar.gz
rails-2a6b7e5a0cf0b3a74edf83340cb983d064ba79ee.tar.bz2
rails-2a6b7e5a0cf0b3a74edf83340cb983d064ba79ee.zip
Now all the models need to explicitly declare the accessible attributes
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/application/loading_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/test/application/loading_test.rb b/railties/test/application/loading_test.rb
index c4c93cce22..0e2b00f1d4 100644
--- a/railties/test/application/loading_test.rb
+++ b/railties/test/application/loading_test.rb
@@ -20,6 +20,7 @@ class LoadingTest < Test::Unit::TestCase
app_file "app/models/post.rb", <<-MODEL
class Post < ActiveRecord::Base
validates_acceptance_of :title, :accept => "omg"
+ attr_accessible :title
end
MODEL