Fix airbrake/airbrake#410
Fix airbrake/airbrake#410

For Rails 5 api-only apps, `ActionController::Parameters` has no `to_hash` method.
nick-desteffen/airbrake,airbrake/airbrake,nick-desteffen/airbrake,airbrake/airbrake