Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Now all the models need to explicitly declare the accessible attributes

  • Loading branch information...
commit 2a6b7e5a0cf0b3a74edf83340cb983d064ba79ee 1 parent f604a63
@rafaelfranca rafaelfranca authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.