ActiveModel::ForbiddenAttributesError raised when forbidden attributes are used for mass assignment. It’s actually a part of strong_parameters feature for model attributes in Rails 4, this error common occured when we using CanCan, authorizatio…

Read more at the source