Just set this up and I am getting 'ActiveModel::ForbiddenAttributesError'
extracted source - def sanitizeformassassignment(attributes) if attributes.respondto?(:permitted?) && !attributes.permitted? raise ActiveModel::ForbiddenAttributesError else attributes end
app trace -
app/models/user.rb:3:in from_omniauth' app/controllers/sessions_controller.rb:3:increate'
from_omniauth' app/controllers/sessions_controller.rb:3:in
Just set this up and I am getting 'ActiveModel::ForbiddenAttributesError'
extracted source -
def sanitizeformassassignment(attributes)
if attributes.respondto?(:permitted?) && !attributes.permitted?
raise ActiveModel::ForbiddenAttributesError
else
attributes
end
app trace -
app/models/user.rb:3:in
from_omniauth' app/controllers/sessions_controller.rb:3:in
create'