Displaying 1 result from an estimated 1 matches for "m001981".
Did you mean:
1001981
2008 Dec 28
0
:attr_accessible to protect all attributes
...yonrails.org/changeset/8032 , which actually states that
defining :attr_accessible alone, means all attributes are protected.
However when I look at the rails API page for attr_accessible, I can''t
find the documentation about that:
http://api.rubyonrails.org/classes/ActiveRecord/Base.html#M001981
As of Rails 2.2.2, how do I protect all attributes of my model?
Best regards,
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post...