Skip to content

Instantly share code, notes, and snippets.

/ruby.rb Secret

Created October 3, 2016 10:02
Show Gist options
  • Save anonymous/5f480872485539f9ed9e5fe4f0777d6b to your computer and use it in GitHub Desktop.
Save anonymous/5f480872485539f9ed9e5fe4f0777d6b to your computer and use it in GitHub Desktop.
Started DELETE "/goods/178-f" for 127.0.0.1 at 2016-10-03 12:50:36 +0300
Processing by GoodsController#destroy as HTML
Parameters: {"authenticity_token"=>"nc53NEze58uWZSsBo89pthfb6swkgTf75vnMuMxaJZM=", "id"=>"178-f"}
User Load (2.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
Good Load (1.7ms) SELECT "goods".* FROM "goods" WHERE "goods"."id" = $1 LIMIT 1 [["id", "178-f"]]
(1.3ms) BEGIN
(1.4ms) ROLLBACK
Completed 500 Internal Server Error in 15ms
NoMethodError (undefined method `to_datetime' for nil:NilClass):
app/controllers/goods_controller.rb:56:in `block in destroy'
app/controllers/goods_controller.rb:55:in `destroy'
Rendered /Users/danst/.rvm/gems/ruby-2.3.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
Rendered /Users/danst/.rvm/gems/ruby-2.3.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
Rendered /Users/danst/.rvm/gems/ruby-2.3.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /Users/danst/.rvm/gems/ruby-2.3.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (50.7ms)
Rendered /Users/danst/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_markup.html.erb (0.2ms)
Rendered /Users/danst/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.2ms)
Rendered /Users/danst/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.3ms)
Rendered /Users/danst/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.2ms)
Rendered /Users/danst/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web_console/templates/console.js.erb within layouts/javascript (40.1ms)
Rendered /Users/danst/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web_console/templates/main.js.erb within layouts/javascript (0.4ms)
Rendered /Users/danst/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web_console/templates/error_page.js.erb within layouts/javascript (0.4ms)
Rendered /Users/danst/.rvm/gems/ruby-2.3.0/gems/web-console-2.3.0/lib/web_console/templates/index.html.erb (97.3ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment