Created
January 6, 2013 19:27
-
-
Save alan707/4469654 to your computer and use it in GitHub Desktop.
output of terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is what I get in the terminal: | |
Started GET "/profiles/1" for 127.0.0.1 at 2013-01-06 14:24:07 -0500 | |
Processing by ProfilesController#show as HTML | |
Parameters: {"id"=>"1"} | |
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] | |
User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] | |
RentalAgreement Load (0.3ms) SELECT "rental_agreements".* FROM "rental_agreements" WHERE "rental_agreements"."owner_id" = 1 | |
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 | |
(0.2ms) SELECT COUNT(*) FROM "reviews" WHERE "reviews"."user_id" = 1 | |
Tool Load (0.3ms) SELECT "tools".* FROM "tools" WHERE "tools"."user_id" = 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 | |
RentalAgreement Load (0.2ms) SELECT "rental_agreements".* FROM "rental_agreements" WHERE "rental_agreements"."borrower_id" = 1 | |
Tool Load (0.1ms) SELECT "tools".* FROM "tools" WHERE "tools"."id" = ? LIMIT 1 [["id", 7]] | |
CACHE (0.0ms) SELECT "rental_agreements".* FROM "rental_agreements" WHERE "rental_agreements"."owner_id" = 1 | |
Tool Load (0.2ms) SELECT "tools".* FROM "tools" WHERE "tools"."id" = ? LIMIT 1 [["id", 4]] | |
Rendered profiles/show.html.erb within layouts/application (17.6ms) | |
CACHE (0.0ms) SELECT "rental_agreements".* FROM "rental_agreements" WHERE "rental_agreements"."borrower_id" = 1 | |
CACHE (0.0ms) SELECT "tools".* FROM "tools" WHERE "tools"."id" = ? LIMIT 1 [["id", 7]] | |
CACHE (0.0ms) SELECT "rental_agreements".* FROM "rental_agreements" WHERE "rental_agreements"."owner_id" = 1 | |
CACHE (0.0ms) SELECT "tools".* FROM "tools" WHERE "tools"."id" = ? LIMIT 1 [["id", 4]] | |
Rendered profiles/show.html.erb within layouts/application (7.6ms) | |
Completed 500 Internal Server Error in 36ms | |
ActiveRecord::RecordNotFound (Couldn't find Tool with id=4): | |
app/views/profiles/show.html.erb:175:in `block in _app_views_profiles_show_html_erb___1493924197225480103_70270463751120' | |
app/views/profiles/show.html.erb:174:in `_app_views_profiles_show_html_erb___1493924197225480103_70270463751120' | |
Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms) | |
Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) | |
Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.2ms) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment