On Feb 4, 8:51 am, Markus Proske <markus.pro...@gmail.com> wrote:
> On Thursday, February 3, 2011 11:58:23 PM UTC+1, Ruby-Forum.com User wrote:
>
> > Here's one way I found a quick Google search:
>
> >http://stackoverflow.com/questions/4838716/how-to-avoid-the-validatio...
>
> Thank you. I've already been there and this works but I was looking for a
> more global setting for all entries in the seed file. Is there really no
> other way?
>
Bit hacky but you could override
remove_attributes_protected_from_mass_assignment or overwrite the
attribute containing the list of protected attributes

Fred

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

Reply via email to