1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#This is what I get on my local machine

Processing ImagesController#create (for 127.0.0.1 at 2008-07-06 21:58:42) [POST]
  Session ID: 6ccc0b0666d3809086adfb3699c6dad9
  Parameters: {"commit"=>"Upload image", "authenticity_token"=>"78f55ba3dcde240ac99a3a42d3668e881228a5fb", "action"=>"create", "controller"=>"images", "image"=>{"uploaded_data"=>#<File:/tmp/CGI438-1>}}
  Image Columns (0.002138)   SHOW FIELDS FROM `images`
  SQL (0.000140)   BEGIN
  Image Create (0.000409)   INSERT INTO `images` (`content_type`, `size`, `thumbnail`, `updated_at`, `filename`, `height`, `parent_id`, `created_at`, `width`) VALUES('image/jpeg', 1925862, NULL, '2008-07-06 21:58:44', 'IMG_0952.JPG', 533, NULL, '2008-07-06 21:58:44', 800)
  Image Load (0.000797)   SELECT * FROM `images` WHERE (`images`.`thumbnail` = 'thumb' AND `images`.`parent_id` = 77) LIMIT 1
  Image Create (0.000542)   INSERT INTO `images` (`content_type`, `size`, `thumbnail`, `updated_at`, `filename`, `height`, `parent_id`, `created_at`, `width`) VALUES('image/jpeg', 151346, 'thumb', '2008-07-06 21:58:44', 'IMG_0952_thumb.JPG', 67, 77, '2008-07-06 21:58:44', 100)
  SQL (0.004437)   COMMIT
Redirected to http://localhost:3018/images
Completed in 1.56126 (0 reqs/sec) | DB: 0.00846 (0%) | 302 Found [http://localhost/images]


Processing ImagesController#index (for 127.0.0.1 at 2008-07-06 21:58:44) [GET]
  Session ID: 6ccc0b0666d3809086adfb3699c6dad9
  Parameters: {"action"=>"index", "controller"=>"images"}
  Image Load (0.000974)   SELECT * FROM `images` WHERE (thumbnail IS NULL) ORDER BY created_at DESC
Rendering template within layouts/application
Rendering images/index
Rendered images/_create_user (0.00098)
  Image Columns (0.002106)   SHOW FIELDS FROM `images`
Rendered images/_user_snippet (0.00533)
Rendered images/_user_snippet (0.00098)
Rendered images/_user_snippet (0.00093)
Completed in 0.02076 (48 reqs/sec) | Rendering: 0.00939 (45%) | DB: 0.00308 (14%) | 200 OK [http://localhost/images]

This is what I get on my remote

1
2
3
4
5
6
7
Processing ImagesController#index (for 58.105.38.54 at 2008-07-06 05:12:01) [GET]
  Session ID: d961d2ebd5f8e9aafdb694cd77e64d2a
  Parameters: {"action"=>"index", "controller"=>"images"}
Rendering template within layouts/application
Rendering images/index
Completed in 0.00400 (250 reqs/sec) | Rendering: 0.00300 (75%) | DB: 0.00000 (0%) | 200 OK [http://gig.alishus.com/images/]