search for: mass_assignment_authorizer

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

2011 Nov 07
2
Problem with Rails3.1.1 in mass_assignment_authorizer
...talled by bundler. However, when I discovered this mishap during my feature run I encountered this error in many places: wrong number of arguments (1 for 0) (ArgumentError) /home/byrnejb/.rvm/gems/ruby-1.8.7-p352/gems/activemodel-3.1.1/ lib/active_model/mass_assignment_security.rb:209:in `mass_assignment_authorizer'' /home/byrnejb/.rvm/gems/ruby-1.8.7-p352/gems/activemodel-3.1.1/ lib/active_model/mass_assignment_security.rb:209:in `sanitize_for_mass_assignment'' /home/byrnejb/.rvm/gems/ruby-1.8.7-p352/gems/activerecord-3.1.1/ lib/active_record/base.rb:1744:in `assign_attributes'...