Resolve error related to ActionController::Parameters