diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-03-04 22:13:56 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-03-04 22:37:16 -0300 |
commit | 2a6b7e5a0cf0b3a74edf83340cb983d064ba79ee (patch) | |
tree | f05e26161cbde163ec91f20cec18de8181b7da2b /railties | |
parent | f604a6368b3a39b0035d6fe964802a4c35eb958a (diff) | |
download | rails-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')
-rw-r--r-- | railties/test/application/loading_test.rb | 1 |
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 |