Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Now all the models need to explicitly declare the accessible attributes

  • Loading branch information...
commit 6dd6816ce337322e7c267ab1158ac8c80588ccd6 1 parent db3d5f0
@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.