ganddev/breminale_api

[Airbrake] [Production] undefined method `status' for #<ActiveRecord::StatementInvalid:0x007ff6c4635160>

Opened this issue · 0 comments

Airbrake error: #8832
Airbrake project: serene-ocean-3356

Error type: NoMethodError
Error message: undefined method `status' for #<ActiveRecord::StatementInvalid:0x007ff6c4635160>
Where: <no information>
Occurred at: Sep 01, 2018 14:11:34 UTC
First seen at: Sep 01, 2018 14:11:34 UTC
Occurrences: 0 (0 since last deploy on <no information>)
Severity: error

URL: http://serene-ocean-3356.herokuapp.com/api/v1/devices
File: /PROJECT_ROOT/app/api/api.rb

Backtrace:

/PROJECT_ROOT/app/api/api.rb:17:in block in <class:API>
/PROJECT_ROOT/vendor/bundle/ruby/2.2.0/gems/grape-0.14.0/lib/grape/middleware/error.rb:58:in instance_exec
/PROJECT_ROOT/vendor/bundle/ruby/2.2.0/gems/grape-0.14.0/lib/grape/middleware/error.rb:58:in exec_handler
/PROJECT_ROOT/vendor/bundle/ruby/2.2.0/gems/grape-0.14.0/lib/grape/middleware/error.rb:38:in rescue in call!