search for: mass_assignment_security

Displaying 3 results from an estimated 3 matches for "mass_assignment_security".

2014 Feb 17
0
Need help -FATAL: database "catarse_development" does not exist
...b/active_record/attribute_methods/primary_key.rb:77:in `reset_primary_key' /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activerecord-4.0.2/lib/active_record/attribute_methods/primary_key.rb:65:in `primary_key' /usr/local/rvm/gems/ruby-1.9.3-p484/gems/protected_attributes-1.0.5/lib/active_record/mass_assignment_security/attribute_assignment.rb:15:in `attributes_protected_by_default' /usr/local/rvm/gems/ruby-1.9.3-p484/gems/protected_attributes-1.0.5/lib/active_model/mass_assignment_security.rb:332:in `block in protected_attributes_configs' /usr/local/rvm/gems/ruby-1.9.3-p484/gems/protected_attributes-1.0.5...
2011 Nov 07
2
Problem with Rails3.1.1 in mass_assignment_authorizer
By accident I had Rails-3.1.1 installed 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/...
2011 Feb 03
5
Ignore attr_accessible in seed file
Is there a way to tell Rails to ignore attr_accessible when seeding the database and to allow mass assignment with create or new? I know how to skip validations but do not find anything on mass assignment... -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to