DEV Community

n350071🇯🇵
n350071🇯🇵

Posted on

(pry) output error: #<ActionController::UnfilteredParameters: unable to convert unpermitted parameters to hash>

🤔 Situation

pry> params
# (pry) output error: #<ActionController::UnfilteredParameters: unable to convert unpermitted parameters to hash>

👍 Try

pry> params.permit!
{
    "controller" => "photos",
        "action" => "new"
}

🔗 Parent Note

Top comments (0)