Permalink
Browse files

Merge pull request #5277 from rafaelfranca/fix-build

Now all the models need to explicitly declare the accessible attributes
  • Loading branch information...
2 parents db3d5f0 + 6dd6816 commit c37f7451f710ed26a4fafe1c3aa51896fffe0632 @NZKoz NZKoz committed Mar 5, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 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 c37f745

Please sign in to comment.