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
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
2 matches
Mail list logo