env['action_dispatch.request.parameters'] may be empty, account for that