Skip to content

Instantly share code, notes, and snippets.

@dabonka
Created November 2, 2015 21:36
Show Gist options
  • Save dabonka/180ac0057e3f0b6f7fd2 to your computer and use it in GitHub Desktop.
Save dabonka/180ac0057e3f0b6f7fd2 to your computer and use it in GitHub Desktop.
Лог при отрабатывании ссылки <td><%= link_to("Delete",card_path(card), method: :delete) %></td>
Started GET "/cards/16" for 10.0.2.2 at 2015-11-03 01:30:49 +0400
Processing by CardsController#show as HTML
Parameters: {"id"=>"16"}
Card Load (1.9ms) SELECT "cards".* FROM "cards" WHERE "cards"."id" = $1 LIMIT 1 [["id", 16]]
Rendered cards/show.html.erb within layouts/application (1.5ms)
Completed 200 OK in 199ms (Views: 161.8ms | ActiveRecord: 1.9ms)
Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2015-11-03 01:30:49 +0400
Started GET "/cards/application.css" for 10.0.2.2 at 2015-11-03 01:30:50 +0400
Processing by CardsController#show as CSS
Parameters: {"id"=>"application"}
Card Load (1.9ms) SELECT "cards".* FROM "cards" WHERE "cards"."id" = $1 LIMIT 1 [["id", 0]]
Completed 404 Not Found in 8ms
ActiveRecord::RecordNotFound (Couldn't find Card with 'id'=application):
app/controllers/cards_controller.rb:8:in `show'
Rendered /usr/local/rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.7ms)
Rendered /usr/local/rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.5ms)
Rendered /usr/local/rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.5ms)
Rendered /usr/local/rvm/gems/ruby-2.1.1/gems/actionpack-4.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (100.6ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment