Markus Proske wrote in post #979510:
> Is there a way to tell Rails to ignore attr_accessible when seeding the
> database and to allow mass assignment with create or new?
> I know how to skip validations but do not find anything on mass
> assignment...

Here's one way I found a quick Google search:

http://stackoverflow.com/questions/4838716/how-to-avoid-the-validation-callbacks-and-attr-accessible-effects-during-the-s

-- 
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 to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to