[Rails] Re: Problem with Rails3.1.1 in mass_assignment_authorizer

2011-11-10 Thread Frederick Cheung
On Nov 7, 9:27 pm, byrnejb wrote: > I found my problem is a library I wrote to turn off mass assignment . > In it I am calling this: > >   # override AR method >   def mass_assignment_authorizer >     if accessible == :all >       self.class.protected_attributes >     else >       super + ( acce

[Rails] Re: Problem with Rails3.1.1 in mass_assignment_authorizer

2011-11-07 Thread byrnejb
I found my problem is a library I wrote to turn off mass assignment . In it I am calling this: # override AR method def mass_assignment_authorizer if accessible == :all self.class.protected_attributes else super + ( accessible || [] ) end end Mass_assignment_authori