Skip to content

Instantly share code, notes, and snippets.

@mattfitzgerald
Created October 15, 2013 05:30
Show Gist options
  • Save mattfitzgerald/6986943 to your computer and use it in GitHub Desktop.
Save mattfitzgerald/6986943 to your computer and use it in GitHub Desktop.
RuntimeError in PromotionsController#destroy
Requested model nil doesn't match controller promotions
Rails.root: /app
Application Trace | Framework Trace | Full Trace
lib/datatable.rb:57:in `base_relation'
lib/datatable.rb:13:in `scoped'
app/controllers/promotions_controller.rb:84:in `destroy'
app/controllers/application_controller.rb:109:in `track_memory_usage'
app/middleware/cookieless_gallery_middleware.rb:18:in `call'
Request
Parameters:
{"_method"=>"delete",
"authenticity_token"=>"2fvjimZeDXg9txsQYY5trzU8IILZpMjWCx74GsaGK/o=",
"id"=>"10022028"}
Show session dump
Show env dump
Response
Headers:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment