ganddev/breminale_api

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

Opened this issue · 0 comments

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

Error type: NoMethodError
Error message: undefined method `status' for #<ActiveRecord::StatementInvalid:0x007f750883d090>
Where: <no information>
Occurred at: Aug 02, 2018 08:26:27 UTC
First seen at: Aug 02, 2018 08:26:27 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!