Skip to content

Instantly share code, notes, and snippets.

@methodmissing
Created March 16, 2009 22:54
Show Gist options
  • Select an option

  • Save methodmissing/80146 to your computer and use it in GitHub Desktop.

Select an option

Save methodmissing/80146 to your computer and use it in GitHub Desktop.
Processing HotelsController#index (for 127.0.0.1 at 2009-03-16 22:53:26) [GET]
Parameters: {"action"=>"index", "controller"=>"hotels"}
Hotel Columns (2.3ms) SHOW FIELDS FROM `hotels`
Hotel Load Scrooged (0.7ms) SELECT `hotels`.id FROM `hotels` LIMIT 0, 15
SQL (0.3ms) SELECT count(*) AS count_all FROM `hotels`
Rendering template within layouts/application
Rendering hotels/index
SQL (0.8ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '8092'
Image Columns (1.9ms) SHOW FIELDS FROM `images`
Image Load Scrooged (0.5ms) SELECT `images`.id FROM `images` WHERE (`images`.hotel_id = 8092) LIMIT 1
SQL (0.3ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '459'
Rendered hotels/_hotel (121.5ms)
SQL (0.3ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '8699'
Image Load Scrooged (0.3ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url FROM `images` WHERE (`images`.hotel_id = 8699) LIMIT 1
Rendered hotels/_hotel (3.7ms)
SQL (0.3ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '9197'
Image Load Scrooged (0.2ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url FROM `images` WHERE (`images`.hotel_id = 9197) LIMIT 1
Rendered hotels/_hotel (3.0ms)
SQL (0.2ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '11107'
Image Load Scrooged (0.2ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url FROM `images` WHERE (`images`.hotel_id = 11107) LIMIT 1
Rendered hotels/_hotel (2.8ms)
SQL (0.2ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '11108'
Image Load Scrooged (0.2ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url FROM `images` WHERE (`images`.hotel_id = 11108) LIMIT 1
Rendered hotels/_hotel (2.4ms)
SQL (0.2ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '11119'
Image Load Scrooged (0.2ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url FROM `images` WHERE (`images`.hotel_id = 11119) LIMIT 1
Rendered hotels/_hotel (2.4ms)
SQL (0.2ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '11120'
Image Load Scrooged (0.3ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url FROM `images` WHERE (`images`.hotel_id = 11120) LIMIT 1
Rendered hotels/_hotel (2.4ms)
SQL (0.3ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '11186'
Image Load Scrooged (0.2ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url FROM `images` WHERE (`images`.hotel_id = 11186) LIMIT 1
Rendered hotels/_hotel (2.4ms)
SQL (0.2ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '11302'
Image Load Scrooged (0.2ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url FROM `images` WHERE (`images`.hotel_id = 11302) LIMIT 1
Rendered hotels/_hotel (2.5ms)
SQL (0.2ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '11342'
Image Load Scrooged (0.2ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url FROM `images` WHERE (`images`.hotel_id = 11342) LIMIT 1
Rendered hotels/_hotel (2.5ms)
SQL (0.2ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '11351'
Image Load Scrooged (0.3ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url FROM `images` WHERE (`images`.hotel_id = 11351) LIMIT 1
Rendered hotels/_hotel (2.8ms)
SQL (0.2ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '11381'
Image Load Scrooged (0.2ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url FROM `images` WHERE (`images`.hotel_id = 11381) LIMIT 1
Rendered hotels/_hotel (2.4ms)
SQL (0.2ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '11382'
Image Load Scrooged (0.2ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url FROM `images` WHERE (`images`.hotel_id = 11382) LIMIT 1
Rendered hotels/_hotel (2.4ms)
SQL (0.2ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '11602'
Image Load Scrooged (0.2ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url FROM `images` WHERE (`images`.hotel_id = 11602) LIMIT 1
Rendered hotels/_hotel (2.4ms)
SQL (0.4ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '11697'
Image Load Scrooged (0.2ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url FROM `images` WHERE (`images`.hotel_id = 11697) LIMIT 1
Rendered hotels/_hotel (72.4ms)
Rendered shared/_header (0.3ms)
Rendered shared/_navigation (0.6ms)
Missing template hotels/_index_sidebar.erb in view path app/views
Rendered shared/_sidebar (0.5ms)
Rendered shared/_footer (0.3ms)
Completed in 310ms (View: 225, DB: 14) | 200 OK [http://localhost/hotels]
Processing HotelsController#index (for 127.0.0.1 at 2009-03-16 22:53:29) [GET]
Parameters: {"action"=>"index", "controller"=>"hotels"}
Hotel Load Scrooged (0.3ms) SELECT `hotels`.narrative,`hotels`.star_rating,`hotels`.hotel_name,`hotels`.updated_at,`hotels`.id FROM `hotels` LIMIT 0, 15
Image Load Scrooged (0.3ms) SELECT `images`.id FROM `images` WHERE (`images`.hotel_id IN (8092,8699,9197,11107,11108,11119,11120,11186,11302,11342,11351,11381,11382,11602,11697))
SQL (0.3ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '345'
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '353'
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '365'
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '394'
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '403'
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '415'
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '426'
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '436'
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '458'
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '459'
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '467'
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '481'
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '488'
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '492'
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '502'
SQL (0.2ms) SELECT count(*) AS count_all FROM `hotels`
Rendering template within layouts/application
Rendering hotels/index
Rendered hotels/_hotel (1.4ms)
Rendered hotels/_hotel (1.5ms)
Rendered hotels/_hotel (1.2ms)
Rendered hotels/_hotel (1.1ms)
Rendered hotels/_hotel (1.1ms)
Rendered hotels/_hotel (1.1ms)
Rendered hotels/_hotel (1.1ms)
Rendered hotels/_hotel (1.1ms)
Rendered hotels/_hotel (1.2ms)
Rendered hotels/_hotel (1.3ms)
Rendered hotels/_hotel (1.3ms)
Rendered hotels/_hotel (1.1ms)
Rendered hotels/_hotel (1.2ms)
Rendered hotels/_hotel (1.1ms)
Rendered hotels/_hotel (1.2ms)
Rendered shared/_header (0.0ms)
Rendered shared/_navigation (0.2ms)
Missing template hotels/_index_sidebar.erb in view path app/views
Rendered shared/_sidebar (0.0ms)
Rendered shared/_footer (0.0ms)
Completed in 33ms (View: 21, DB: 4) | 200 OK [http://localhost/hotels]
Processing HotelsController#index (for 127.0.0.1 at 2009-03-16 22:53:32) [GET]
Parameters: {"action"=>"index", "controller"=>"hotels"}
Hotel Load Scrooged (0.3ms) SELECT `hotels`.narrative,`hotels`.star_rating,`hotels`.hotel_name,`hotels`.updated_at,`hotels`.id FROM `hotels` LIMIT 0, 15
Image Load Scrooged (0.3ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url,`images`.hotel_id FROM `images` WHERE (`images`.hotel_id IN (8092,8699,9197,11107,11108,11119,11120,11186,11302,11342,11351,11381,11382,11602,11697))
SQL (0.2ms) SELECT count(*) AS count_all FROM `hotels`
Rendering template within layouts/application
Rendering hotels/index
Rendered hotels/_hotel (1.3ms)
Rendered hotels/_hotel (1.5ms)
Rendered hotels/_hotel (1.2ms)
Rendered hotels/_hotel (1.5ms)
Rendered hotels/_hotel (1.6ms)
Rendered hotels/_hotel (1.6ms)
Rendered hotels/_hotel (1.1ms)
Rendered hotels/_hotel (1.1ms)
Rendered hotels/_hotel (1.4ms)
Rendered hotels/_hotel (1.5ms)
Rendered hotels/_hotel (1.2ms)
Rendered hotels/_hotel (1.2ms)
Rendered hotels/_hotel (2.3ms)
Rendered hotels/_hotel (1.5ms)
Rendered hotels/_hotel (1.1ms)
Rendered shared/_header (0.0ms)
Rendered shared/_navigation (0.2ms)
Missing template hotels/_index_sidebar.erb in view path app/views
Rendered shared/_sidebar (0.0ms)
Rendered shared/_footer (0.0ms)
Completed in 30ms (View: 25, DB: 1) | 200 OK [http://localhost/hotels]
Processing HotelsController#show (for 127.0.0.1 at 2009-03-16 22:53:40) [GET]
Parameters: {"action"=>"show", "id"=>"8699-radisson-hotel-waterfront-cape-town", "controller"=>"hotels"}
Hotel Load Scrooged (0.3ms) SELECT `hotels`.id FROM `hotels` WHERE (`hotels`.`id` = 8699)
Rendering template within layouts/application
Rendering hotels/show
SQL (0.8ms) SELECT `hotels`.location_id,`hotels`.hotel_name,`hotels`.location,`hotels`.from_price,`hotels`.star_rating,`hotels`.apt,`hotels`.latitude,`hotels`.longitude,`hotels`.distance,`hotels`.narrative,`hotels`.telephone,`hotels`.important_notes,`hotels`.nearest_tube,`hotels`.nearest_rail,`hotels`.created_at,`hotels`.updated_at FROM `hotels` WHERE `hotels`.id = '8699'
Image Load Scrooged (0.3ms) SELECT `images`.id FROM `images` WHERE (`images`.hotel_id = 8699) LIMIT 1
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '488'
Rendered shared/_header (0.1ms)
Rendered shared/_navigation (0.2ms)
Image Load Scrooged (0.2ms) SELECT `images`.id FROM `images` WHERE (`images`.hotel_id = 8699)
SQL (0.2ms) SELECT `images`.hotel_id,`images`.title,`images`.url,`images`.width,`images`.height,`images`.thumbnail_url,`images`.thumbnail_width,`images`.thumbnail_height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '488'
Address Columns (1.9ms) SHOW FIELDS FROM `addresses`
Address Load Scrooged (0.7ms) SELECT `addresses`.id FROM `addresses` WHERE (`addresses`.hotel_id = 8699) LIMIT 1
Rendered hotels/_show_sidebar (5.8ms)
Rendered shared/_footer (0.1ms)
Completed in 14ms (View: 8, DB: 5) | 200 OK [http://localhost/hotels/8699-radisson-hotel-waterfront-cape-town]
Processing HotelsController#show (for 127.0.0.1 at 2009-03-16 22:53:43) [GET]
Parameters: {"action"=>"show", "id"=>"8699-radisson-hotel-waterfront-cape-town", "controller"=>"hotels"}
Hotel Load Scrooged (0.3ms) SELECT `hotels`.narrative,`hotels`.from_price,`hotels`.star_rating,`hotels`.hotel_name,`hotels`.id FROM `hotels` WHERE (`hotels`.`id` = 8699)
Image Load Scrooged (0.3ms) SELECT `images`.thumbnail_width,`images`.id,`images`.thumbnail_height,`images`.thumbnail_url,`images`.hotel_id FROM `images` WHERE (`images`.hotel_id = 8699)
Address Load Scrooged (0.1ms) SELECT `addresses`.id FROM `addresses` WHERE (`addresses`.hotel_id = 8699)
Rendering template within layouts/application
Rendering hotels/show
SQL (0.2ms) SELECT `images`.title,`images`.url,`images`.width,`images`.height,`images`.has_thumbnail,`images`.created_at,`images`.updated_at FROM `images` WHERE `images`.id = '488'
Rendered shared/_header (0.0ms)
Rendered shared/_navigation (0.2ms)
Rendered hotels/_show_sidebar (0.1ms)
Rendered shared/_footer (0.0ms)
Completed in 7ms (View: 3, DB: 1) | 200 OK [http://localhost/hotels/8699-radisson-hotel-waterfront-cape-town]
Processing HotelsController#show (for 127.0.0.1 at 2009-03-16 22:53:47) [GET]
Parameters: {"action"=>"show", "id"=>"8699-radisson-hotel-waterfront-cape-town", "controller"=>"hotels"}
Hotel Load Scrooged (0.3ms) SELECT `hotels`.narrative,`hotels`.from_price,`hotels`.star_rating,`hotels`.hotel_name,`hotels`.id FROM `hotels` WHERE (`hotels`.`id` = 8699)
Image Load Scrooged (0.3ms) SELECT `images`.thumbnail_width,`images`.url,`images`.id,`images`.thumbnail_height,`images`.height,`images`.thumbnail_url,`images`.width,`images`.hotel_id FROM `images` WHERE (`images`.hotel_id = 8699)
Address Load Scrooged (0.1ms) SELECT `addresses`.id FROM `addresses` WHERE (`addresses`.hotel_id = 8699)
Rendering template within layouts/application
Rendering hotels/show
Rendered shared/_header (0.0ms)
Rendered shared/_navigation (0.2ms)
Rendered hotels/_show_sidebar (0.1ms)
Rendered shared/_footer (0.0ms)
Completed in 7ms (View: 3, DB: 1) | 200 OK [http://localhost/hotels/8699-radisson-hotel-waterfront-cape-town]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment