Skip to content
Browse files

Now all the models need to explicitly declare the accessible attributes

  • Loading branch information...
1 parent db3d5f0 commit 6dd6816ce337322e7c267ab1158ac8c80588ccd6 @rafaelfranca rafaelfranca committed Mar 4, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/test/application/loading_test.rb
View
1 railties/test/application/loading_test.rb
@@ -20,6 +20,7 @@ def app
app_file "app/models/post.rb", <<-MODEL
class Post < ActiveRecord::Base
validates_acceptance_of :title, :accept => "omg"
+ attr_accessible :title
end
MODEL

0 comments on commit 6dd6816

Please sign in to comment.
Something went wrong with that request. Please try again.