search for: attr_accessible_nil

Displaying 1 result from an estimated 1 matches for "attr_accessible_nil".

2011 Nov 07
2
Problem with Rails3.1.1 in mass_assignment_authorizer
...n.rb:190:in `new'' Everything was working on Friday last with Rails-3.0.9 and no changes to the code or the features have been made. I am therefore somewhat curious as to what might be causing this. I previously had mass assignment turned off in an initializer: $ cat config/initializers/attr_accessible_nil.rb #ActiveRecord::Base.send(:attr_accessible, nil) So, I am wondering if this might be the cause of the problem. Note that I have no intention of moving to Rails-3.1.1 at the moment. I am just curious as to what would be causing this error. -- You received this message because you are subscribe...