RailsCasts Pro episodes are now free!

Learn more or hide this

hounddog's Profile

GitHub User: markmcdonald51

Comments by hounddog


Not sure why, but I can't get this to work unless I accept an argument in the mass_assignment_authorizer method located in the initializer. If I do it like the below everything works.

def mass_assignment_authorizer(a=nil)

Perhaps this has changed in Rails 3.1.0.rc4..

irb(main):011:0> Rails.version
=> "3.1.0.rc4"

Thanks for this post Ryan.