Skip to content

Stack Trace is not useful when there's an error in process_removed_attributes #62

Description

@btakita

I want to know which line in the app causes the error.

  An error occurred in an after hook
    ActiveModel::MassAssignmentSecurity::Error: Can't mass-assign protected attributes for CustomShipMethod: in_store_pickup
    occurred at /home/phoenix/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/protected_attributes-1.0.8/lib/active_model/mass_assignment_security/sanitizer.rb:60:in `process_removed_attributes'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions