Skip to content

Instantly share code, notes, and snippets.

@benschwarz
Created March 3, 2009 03:46
Show Gist options
  • Save benschwarz/73165 to your computer and use it in GitHub Desktop.
Save benschwarz/73165 to your computer and use it in GitHub Desktop.
Processing Admin::AssetsController#create (for 127.0.0.1 at 2009-03-03 14:45:51) [POST]
Parameters: {"plain"=>"false", "action"=>"create", "authenticity_token"=>"1a06b78f94bef113c58c757304fedc75b3832803", "linkback"=>"", "controller"=>"admin/assets", "asset"=>{"name"=>"Swellnet logo file test", "uploaded_data"=>#<ActionController::UploadedStringIO:0x550fba4>, "caption"=>"", "alt"=>""}, "target"=>""}
DynamicJavascript Load (0.3ms) SELECT * FROM `dynamic_javascripts` WHERE (`dynamic_javascripts`.`ad_type` = 'Leaderboard: 720x90px') LIMIT 1
DynamicJavascript Load (0.2ms) SELECT * FROM `dynamic_javascripts` WHERE (`dynamic_javascripts`.`ad_type` = 'Island: 300x200px') LIMIT 1
DynamicJavascript Load (0.1ms) SELECT * FROM `dynamic_javascripts` WHERE (`dynamic_javascripts`.`ad_type` = 'Gallery: 160x600px') LIMIT 1
Cache hit: System.Message.Invitation ({})
Cache hit: System.Message.Login ({})
Cache miss: Surfcam.feature ({})
Surfcam Load (0.2ms) SELECT * FROM `surfcams` WHERE (featured = true) LIMIT 1
Cache write (will save 1.01ms): Surfcam.feature
Cache hit: NewsItem.most.popular ({})
Cache hit: Bloggers.most.active ({})
Cache hit: Most.active.groups ({})
BannedIp Load (0.2ms) SELECT * FROM `banned_ips` WHERE (ban_time > '2009-03-03 14:45:51')
User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)
User Update (0.2ms) UPDATE `users` SET `login_time` = '2009-03-03 03:45:51', `updated_at` = '2009-03-03 03:45:51' WHERE `id` = 1
[paperclip] Saving attachments.
[paperclip] Paperclip attachment avatar on User initialized.
[paperclip] Saving files for avatar
[paperclip] Deleting files for avatar
[paperclip] Writing files for avatar
UserProfile Load (0.4ms) SELECT * FROM `user_profiles` WHERE (`user_profiles`.user_id = 1) LIMIT 1
Cache hit: Location.list.of.provinces.regions.and.beaches ({})
Join Table Columns (1.1ms) SHOW FIELDS FROM `roles_users`
Role Load (0.3ms) SELECT * FROM `roles` INNER JOIN `roles_users` ON `roles`.id = `roles_users`.role_id WHERE (`roles_users`.user_id = 1 )
Asset Load (2.1ms) SELECT * FROM `assets` WHERE (parent_id is null) ORDER BY created_at desc LIMIT 0, 10
CACHE (0.0ms) SELECT * FROM `assets` WHERE (parent_id is null) ORDER BY created_at desc LIMIT 0, 10
Redirected to /admin/assets/new
Completed in 33ms (DB: 5) | 302 Found [http://www.example.com/admin/assets]
REQUESTING PAGE: GET http://www.example.com/admin/assets/new with {} and HTTP headers {"HTTP_REFERER"=>"/admin/assets"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment