user971938
user971938

Reputation: 81

How to find out which parameter is not permitted

I'm getting the error ActiveModel::ForbiddenAttributesError, but I can't find out which parameter is causing the problem. Does anyone know how I can find out which parameter causes to raise the error ActiveModel::ForbiddenAttributesError?

Upvotes: 2

Views: 173

Answers (1)

AdvanceInBeginning
AdvanceInBeginning

Reputation: 99

install gem byebug and read the description > https://rubygems.org/gems/byebug. happy bug hunting

Upvotes: 1

Related Questions