Skip to content

Instantly share code, notes, and snippets.

@krishnasrihari
Created July 10, 2013 14:55
Show Gist options
  • Save krishnasrihari/5967008 to your computer and use it in GitHub Desktop.
Save krishnasrihari/5967008 to your computer and use it in GitHub Desktop.
Started GET "/" for 91.64.81.67 at 2013-07-10 14:48:02 +0200
Processing by DashboardsController#show as HTML
Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 20 AND (users.deleted_at IS NULL) LIMIT 1
(0.2ms) BEGIN
(0.4ms) UPDATE `users` SET `last_request_at` = '2013-07-10 12:48:02', `perishable_token` = 'f7vPLApn7tP8UlUqYjOd', `updated_at` = '2013-07-10 12:48:02' WHERE `users`.`id` = 20
(1.6ms) COMMIT
IdeationProcess Load (0.4ms) SELECT `ideation_processes`.* FROM `ideation_processes` INNER JOIN `invitations` ON `ideation_processes`.`id` = `invitations`.`ideation_process_id` WHERE `invitations`.`user_id` = 20 AND (ideation_processes.deleted_at IS NULL) AND (invitations.deleted_at IS NULL) AND (invitations.status=1)
(0.2ms) SELECT COUNT(*) FROM `ideation_tasks` INNER JOIN `process_steps` ON `ideation_tasks`.`id` = `process_steps`.`task_id` WHERE `process_steps`.`ideation_process_id` = 49 AND (ideation_tasks.deleted_at IS NULL) AND (process_steps.deleted_at IS NULL)
Project Load (0.3ms) SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 2 AND (projects.deleted_at IS NULL) LIMIT 1
User Exists (0.6ms) SELECT 1 AS one FROM `users` INNER JOIN `memberships` ON `users`.`id` = `memberships`.`user_id` WHERE `memberships`.`project_id` = 2 AND `users`.`id` = 20 AND (users.deleted_at IS NULL) AND (memberships.deleted_at IS NULL) AND (memberships.role = 'owner') LIMIT 1
(0.2ms) SELECT COUNT(*) FROM `ideation_tasks` INNER JOIN `process_steps` ON `ideation_tasks`.`id` = `process_steps`.`task_id` WHERE `process_steps`.`ideation_process_id` = 57 AND (ideation_tasks.deleted_at IS NULL) AND (process_steps.deleted_at IS NULL)
(0.2ms) SELECT COUNT(*) FROM `invitations` WHERE `invitations`.`ideation_process_id` = 57 AND `invitations`.`user_id` = 20 AND `invitations`.`status` = 1 AND (invitations.deleted_at IS NULL)
(0.3ms) SELECT COUNT(*) FROM `ideas` WHERE `ideas`.`ideation_process_id` = 57 AND (ideas.deleted_at IS NULL) AND (user_id=20)
IdeationProcess Load (0.5ms) SELECT `ideation_processes`.* FROM `ideation_processes` WHERE `ideation_processes`.`user_id` = 20 AND (ideation_processes.deleted_at IS NULL) AND (ideation_processes.end_datetime < '2013-07-10 12:48:02')
(0.2ms) SELECT COUNT(*) FROM `invitations` WHERE `invitations`.`ideation_process_id` = 33 AND (invitations.deleted_at IS NULL) AND (invitations.rating_average IS NULL and invitations.status=1)
(0.2ms) SELECT COUNT(*) FROM `invitations` WHERE `invitations`.`ideation_process_id` = 50 AND (invitations.deleted_at IS NULL) AND (invitations.rating_average IS NULL and invitations.status=1)
IdeationProcess Load (0.3ms) SELECT `ideation_processes`.* FROM `ideation_processes` WHERE `ideation_processes`.`user_id` = 20 AND (ideation_processes.deleted_at IS NULL)
(0.2ms) SELECT COUNT(*) FROM `invitations` WHERE `invitations`.`ideation_process_id` = 33 AND `invitations`.`status` = 0 AND `invitations`.`is_request` = 1 AND (invitations.deleted_at IS NULL)
(0.2ms) SELECT COUNT(*) FROM `invitations` WHERE `invitations`.`ideation_process_id` = 50 AND `invitations`.`status` = 0 AND `invitations`.`is_request` = 1 AND (invitations.deleted_at IS NULL)
(0.2ms) SELECT COUNT(*) FROM `ideation_processes` INNER JOIN `invitations` ON `ideation_processes`.`id` = `invitations`.`ideation_process_id` WHERE `invitations`.`user_id` = 20 AND (ideation_processes.deleted_at IS NULL) AND (invitations.deleted_at IS NULL) AND (invitations.status=0 and invitations.is_request=false)
NoNotification Load (0.2ms) SELECT `no_notifications`.* FROM `no_notifications` WHERE `no_notifications`.`notifiable_id` = 33 AND `no_notifications`.`notifiable_type` = 'IdeationProcess'
Project Load (0.2ms) SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 19 AND (projects.deleted_at IS NULL) LIMIT 1
(0.2ms) SELECT COUNT(*) FROM `ideation_processes` WHERE `ideation_processes`.`project_id` = 19 AND (ideation_processes.deleted_at IS NULL)
IdeationProcess Load (0.4ms) SELECT `ideation_processes`.* FROM `ideation_processes` WHERE `ideation_processes`.`project_id` = 19 AND (ideation_processes.deleted_at IS NULL)
(0.3ms) SELECT COUNT(*) FROM `ideation_tasks` INNER JOIN `process_steps` ON `ideation_tasks`.`id` = `process_steps`.`task_id` WHERE `process_steps`.`ideation_process_id` = 33 AND (ideation_tasks.deleted_at IS NULL) AND (process_steps.deleted_at IS NULL)
IdeationTask Load (0.2ms) SELECT `ideation_tasks`.* FROM `ideation_tasks` INNER JOIN `process_steps` ON `ideation_tasks`.`id` = `process_steps`.`task_id` WHERE `process_steps`.`ideation_process_id` = 33 AND (ideation_tasks.deleted_at IS NULL) AND (process_steps.deleted_at IS NULL)
Tool Load (0.2ms) SELECT `tools`.* FROM `tools` WHERE `tools`.`id` = 2 LIMIT 1
Tool Load (0.2ms) SELECT `tools`.* FROM `tools` WHERE `tools`.`id` = 3 LIMIT 1
(0.2ms) SELECT COUNT(*) FROM `ideation_tasks` INNER JOIN `process_steps` ON `ideation_tasks`.`id` = `process_steps`.`task_id` WHERE `process_steps`.`ideation_process_id` = 50 AND (ideation_tasks.deleted_at IS NULL) AND (process_steps.deleted_at IS NULL)
IdeationTask Load (0.2ms) SELECT `ideation_tasks`.* FROM `ideation_tasks` INNER JOIN `process_steps` ON `ideation_tasks`.`id` = `process_steps`.`task_id` WHERE `process_steps`.`ideation_process_id` = 50 AND (ideation_tasks.deleted_at IS NULL) AND (process_steps.deleted_at IS NULL)
Tool Load (0.2ms) SELECT `tools`.* FROM `tools` WHERE `tools`.`id` = 10 LIMIT 1
NoNotification Load (0.0ms) SELECT `no_notifications`.* FROM `no_notifications` WHERE `no_notifications`.`notifiable_id` = 50 AND `no_notifications`.`notifiable_type` = 'IdeationProcess'
CACHE (0.0ms) SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 19 AND (projects.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT COUNT(*) FROM `ideation_processes` WHERE `ideation_processes`.`project_id` = 19 AND (ideation_processes.deleted_at IS NULL)
CACHE (0.0ms) SELECT `ideation_processes`.* FROM `ideation_processes` WHERE `ideation_processes`.`project_id` = 19 AND (ideation_processes.deleted_at IS NULL)
CACHE (0.0ms) SELECT COUNT(*) FROM `ideation_tasks` INNER JOIN `process_steps` ON `ideation_tasks`.`id` = `process_steps`.`task_id` WHERE `process_steps`.`ideation_process_id` = 33 AND (ideation_tasks.deleted_at IS NULL) AND (process_steps.deleted_at IS NULL)
CACHE (0.0ms) SELECT `ideation_tasks`.* FROM `ideation_tasks` INNER JOIN `process_steps` ON `ideation_tasks`.`id` = `process_steps`.`task_id` WHERE `process_steps`.`ideation_process_id` = 33 AND (ideation_tasks.deleted_at IS NULL) AND (process_steps.deleted_at IS NULL)
CACHE (0.0ms) SELECT `tools`.* FROM `tools` WHERE `tools`.`id` = 2 LIMIT 1
CACHE (0.0ms) SELECT `tools`.* FROM `tools` WHERE `tools`.`id` = 3 LIMIT 1
CACHE (0.0ms) SELECT COUNT(*) FROM `ideation_tasks` INNER JOIN `process_steps` ON `ideation_tasks`.`id` = `process_steps`.`task_id` WHERE `process_steps`.`ideation_process_id` = 50 AND (ideation_tasks.deleted_at IS NULL) AND (process_steps.deleted_at IS NULL)
CACHE (0.0ms) SELECT `ideation_tasks`.* FROM `ideation_tasks` INNER JOIN `process_steps` ON `ideation_tasks`.`id` = `process_steps`.`task_id` WHERE `process_steps`.`ideation_process_id` = 50 AND (ideation_tasks.deleted_at IS NULL) AND (process_steps.deleted_at IS NULL)
CACHE (0.0ms) SELECT `tools`.* FROM `tools` WHERE `tools`.`id` = 10 LIMIT 1
Image Load (0.4ms) SELECT `images`.* FROM `images` WHERE `images`.`imageable_id` = 20 AND `images`.`imageable_type` = 'User' AND (images.deleted_at IS NULL) LIMIT 1
UserDemographic Load (0.4ms) SELECT `user_demographics`.* FROM `user_demographics` WHERE `user_demographics`.`user_id` = 20 AND (user_demographics.deleted_at IS NULL) LIMIT 1
Rendered dashboards/bootstrap/_profile.html.haml (6.1ms)
Skill Load (0.2ms) SELECT `skills`.* FROM `skills` INNER JOIN `skill_users` ON `skills`.`id` = `skill_users`.`skill_id` WHERE `skill_users`.`user_id` = 20 AND (skill_users.deleted_at IS NULL)
Rendered dashboards/bootstrap/_skill.html.haml (0.4ms)
(0.3ms) SELECT COUNT(*) FROM `projects` INNER JOIN `memberships` ON `projects`.`id` = `memberships`.`project_id` WHERE `memberships`.`user_id` = 20 AND (projects.deleted_at IS NULL) AND (memberships.deleted_at IS NULL) AND (memberships.role = 'owner')
CACHE (0.0ms) SELECT COUNT(*) FROM `projects` INNER JOIN `memberships` ON `projects`.`id` = `memberships`.`project_id` WHERE `memberships`.`user_id` = 20 AND (projects.deleted_at IS NULL) AND (memberships.deleted_at IS NULL) AND (memberships.role = 'owner')
Project Load (0.3ms) SELECT `projects`.* FROM `projects` INNER JOIN `memberships` ON `projects`.`id` = `memberships`.`project_id` WHERE `memberships`.`user_id` = 20 AND (projects.deleted_at IS NULL) AND (memberships.deleted_at IS NULL) AND (memberships.role = 'owner')
Image Load (0.3ms) SELECT `images`.* FROM `images` WHERE `images`.`imageable_id` = 19 AND `images`.`imageable_type` = 'Project' AND (images.deleted_at IS NULL) AND (kind = 'MainImage') LIMIT 1
Membership Load (0.3ms) SELECT `memberships`.* FROM `memberships` WHERE `memberships`.`user_id` = 20 AND `memberships`.`project_id` = 19 AND (memberships.deleted_at IS NULL) LIMIT 1
(0.4ms) SELECT COUNT(*) FROM `users` INNER JOIN potential_projects ON potential_projects.user_id = users.id AND potential_projects.project_id = 19 WHERE (users.deleted_at IS NULL)
Rendered dashboards/bootstrap/_potential_innovators.html.haml (3.7ms)
Rendered dashboards/bootstrap/_idea_challenges.html.haml (7.6ms)
(0.4ms) SELECT COUNT(*) FROM `projects` WHERE `projects`.`id` IN (2) AND (projects.deleted_at IS NULL)
Project Load (0.5ms) SELECT `projects`.* FROM `projects` WHERE `projects`.`id` IN (2) AND (projects.deleted_at IS NULL)
Image Load (0.5ms) SELECT `images`.* FROM `images` WHERE `images`.`imageable_id` = 2 AND `images`.`imageable_type` = 'Project' AND (images.deleted_at IS NULL) AND (kind = 'MainImage') LIMIT 1
Membership Load (0.5ms) SELECT `memberships`.* FROM `memberships` WHERE `memberships`.`user_id` = 20 AND `memberships`.`project_id` = 2 AND (memberships.deleted_at IS NULL) LIMIT 1
Rendered dashboards/bootstrap/_potential_innovators.html.haml (3.3ms)
Rendered dashboards/bootstrap/_idea_challenges.html.haml (10.8ms)
(0.4ms) SELECT COUNT(*) FROM `conversations` INNER JOIN `notifications` ON `notifications`.`conversation_id` = `conversations`.`id` AND `notifications`.`type` IN ('Message') INNER JOIN `receipts` ON `receipts`.`notification_id` = `notifications`.`id` WHERE `notifications`.`type` = 'Message' AND `receipts`.`receiver_id` = 20 AND `receipts`.`receiver_type` = 'User'
Conversation Load (0.3ms) SELECT DISTINCT conversations.* FROM `conversations` INNER JOIN `notifications` ON `notifications`.`conversation_id` = `conversations`.`id` AND `notifications`.`type` IN ('Message') INNER JOIN `receipts` ON `receipts`.`notification_id` = `notifications`.`id` WHERE `notifications`.`type` = 'Message' AND `receipts`.`receiver_id` = 20 AND `receipts`.`receiver_type` = 'User' AND `receipts`.`mailbox_type` = 'inbox' AND `receipts`.`trashed` = 0 ORDER BY conversations.updated_at DESC LIMIT 4
Message Load (0.4ms) SELECT `notifications`.* FROM `notifications` WHERE `notifications`.`type` IN ('Message') AND `notifications`.`conversation_id` = 19 AND (notifications.deleted_at IS NULL) ORDER BY created_at LIMIT 1
User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 4 AND (users.deleted_at IS NULL) LIMIT 1
Image Load (0.2ms) SELECT `images`.* FROM `images` WHERE `images`.`imageable_id` = 4 AND `images`.`imageable_type` = 'User' AND (images.deleted_at IS NULL) LIMIT 1
Rendered dashboards/bootstrap/_conversation.html.haml (8.0ms)
Conversation Load (0.4ms) SELECT DISTINCT conversations.* FROM `conversations` INNER JOIN `notifications` ON `notifications`.`conversation_id` = `conversations`.`id` AND `notifications`.`type` IN ('Message') INNER JOIN `receipts` ON `receipts`.`notification_id` = `notifications`.`id` WHERE `notifications`.`type` = 'Message' AND `receipts`.`receiver_id` = 20 AND `receipts`.`receiver_type` = 'User' AND `receipts`.`mailbox_type` = 'sentbox' AND `receipts`.`trashed` = 0 ORDER BY conversations.updated_at DESC LIMIT 4
CACHE (0.0ms) SELECT `notifications`.* FROM `notifications` WHERE `notifications`.`type` IN ('Message') AND `notifications`.`conversation_id` = 19 AND (notifications.deleted_at IS NULL) ORDER BY created_at LIMIT 1
CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 4 AND (users.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT `images`.* FROM `images` WHERE `images`.`imageable_id` = 4 AND `images`.`imageable_type` = 'User' AND (images.deleted_at IS NULL) LIMIT 1
Message Load (0.6ms) SELECT `notifications`.* FROM `notifications` WHERE `notifications`.`type` IN ('Message') AND `notifications`.`conversation_id` = 13 AND (notifications.deleted_at IS NULL) ORDER BY created_at LIMIT 1
User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 20 AND (users.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT `images`.* FROM `images` WHERE `images`.`imageable_id` = 20 AND `images`.`imageable_type` = 'User' AND (images.deleted_at IS NULL) LIMIT 1
Message Load (0.7ms) SELECT `notifications`.* FROM `notifications` WHERE `notifications`.`type` IN ('Message') AND `notifications`.`conversation_id` = 12 AND (notifications.deleted_at IS NULL) ORDER BY created_at LIMIT 1
CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 20 AND (users.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT `images`.* FROM `images` WHERE `images`.`imageable_id` = 20 AND `images`.`imageable_type` = 'User' AND (images.deleted_at IS NULL) LIMIT 1
Rendered dashboards/bootstrap/_conversation.html.haml (19.8ms)
Conversation Load (0.4ms) SELECT DISTINCT conversations.* FROM `conversations` INNER JOIN `notifications` ON `notifications`.`conversation_id` = `conversations`.`id` AND `notifications`.`type` IN ('Message') INNER JOIN `receipts` ON `receipts`.`notification_id` = `notifications`.`id` WHERE `notifications`.`type` = 'Message' AND `receipts`.`receiver_id` = 20 AND `receipts`.`receiver_type` = 'User' AND `receipts`.`trashed` = 1 ORDER BY conversations.updated_at DESC LIMIT 4
Message Load (0.4ms) SELECT `notifications`.* FROM `notifications` WHERE `notifications`.`type` IN ('Message') AND `notifications`.`conversation_id` = 16 AND (notifications.deleted_at IS NULL) ORDER BY created_at LIMIT 1
CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 4 AND (users.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT `images`.* FROM `images` WHERE `images`.`imageable_id` = 4 AND `images`.`imageable_type` = 'User' AND (images.deleted_at IS NULL) LIMIT 1
Message Load (0.4ms) SELECT `notifications`.* FROM `notifications` WHERE `notifications`.`type` IN ('Message') AND `notifications`.`conversation_id` = 15 AND (notifications.deleted_at IS NULL) ORDER BY created_at LIMIT 1
CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 4 AND (users.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT `images`.* FROM `images` WHERE `images`.`imageable_id` = 4 AND `images`.`imageable_type` = 'User' AND (images.deleted_at IS NULL) LIMIT 1
Message Load (0.5ms) SELECT `notifications`.* FROM `notifications` WHERE `notifications`.`type` IN ('Message') AND `notifications`.`conversation_id` = 14 AND (notifications.deleted_at IS NULL) ORDER BY created_at LIMIT 1
CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 4 AND (users.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT `images`.* FROM `images` WHERE `images`.`imageable_id` = 4 AND `images`.`imageable_type` = 'User' AND (images.deleted_at IS NULL) LIMIT 1
Rendered dashboards/bootstrap/_conversation.html.haml (18.4ms)
Rendered dashboards/_my_messages.html.haml (57.2ms)
Idea Load (0.5ms) SELECT `ideas`.* FROM `ideas` WHERE `ideas`.`user_id` = 20 AND `ideas`.`idea_type` = 'fragment' AND (ideas.deleted_at IS NULL) ORDER BY created_at DESC
Idea Load (0.5ms) SELECT `ideas`.* FROM `ideas` WHERE `ideas`.`user_id` = 20 AND `ideas`.`idea_type` = 'complete_idea' AND (ideas.deleted_at IS NULL) ORDER BY created_at DESC
Invitation Load (0.3ms) SELECT `invitations`.* FROM `invitations` WHERE `invitations`.`user_id` = 20 AND (invitations.deleted_at IS NULL)
Idea Load (0.2ms) SELECT COUNT(DISTINCT(project_id)) AS total FROM `ideas` WHERE `ideas`.`user_id` = 20 AND (ideas.deleted_at IS NULL) ORDER BY created_at DESC LIMIT 1
Rendered dashboards/bootstrap/_my_statistics.html.haml (11.6ms)
Badge Load (0.3ms) SELECT `badges`.* FROM `badges` INNER JOIN `users_badges` ON `badges`.`id` = `users_badges`.`badge_id` WHERE `users_badges`.`user_id` = 20
Rendered users/profile/_badge.html.erb (1.7ms)
Rendered layouts/bootstrap/_report_dialog.html.erb (0.0ms)
Rendered dashboards/show.html.erb within layouts/yutongo_bootstrap (116.0ms)
Rendered layouts/bootstrap/_header.html.erb (1.8ms)
Rendered layouts/bootstrap/_edit_profile.html.erb (1.9ms)
Rendered layouts/bootstrap/_flash_message.html.erb (0.3ms)
Rendered layouts/bootstrap/_footer.html.erb (0.0ms)
Completed 200 OK in 186ms (Views: 111.3ms | ActiveRecord: 21.9ms)
Started GET "/assets/bootstrap_yutongo/application.js" for 91.64.81.67 at 2013-07-10 14:48:02 +0200
Served asset /bootstrap_yutongo/application.js - 304 Not Modified (6ms)
Started GET "/assets/bootstrap_yutongo.css" for 91.64.81.67 at 2013-07-10 14:48:02 +0200
Served asset /bootstrap_yutongo.css - 304 Not Modified (1ms)
Started GET "/assets/" for 91.64.81.67 at 2013-07-10 14:48:02 +0200
Served asset / - 404 Not Found (15ms)
ActionController::RoutingError (No route matches [GET] "/assets"):
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:in `call'
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
unicorn (4.5.0) lib/unicorn/http_server.rb:552:in `process_client'
unicorn (4.5.0) lib/unicorn/http_server.rb:628:in `worker_loop'
unicorn (4.5.0) lib/unicorn/http_server.rb:500:in `spawn_missing_workers'
unicorn (4.5.0) lib/unicorn/http_server.rb:142:in `start'
unicorn (4.5.0) bin/unicorn_rails:209:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.2-p290@user17/bin/unicorn_rails:19:in `load'
/usr/local/rvm/gems/ruby-1.9.2-p290@user17/bin/unicorn_rails:19:in `<main>'
Started GET "/assets/img/yutongo_logo.png" for 91.64.81.67 at 2013-07-10 14:48:02 +0200
Served asset /img/yutongo_logo.png - 304 Not Modified (0ms)
Started GET "/assets/print.css" for 91.64.81.67 at 2013-07-10 14:48:02 +0200
Served asset /print.css - 304 Not Modified (0ms)
Started GET "/assets/img/icon_yutongo_error.png" for 91.64.81.67 at 2013-07-10 14:48:02 +0200
Served asset /img/icon_yutongo_error.png - 304 Not Modified (0ms)
Started GET "/assets/img/favicon.ico" for 91.64.81.67 at 2013-07-10 14:48:02 +0200
Served asset /img/favicon.ico - 304 Not Modified (0ms)
Started GET "/assets/img/favicon.ico" for 91.64.81.67 at 2013-07-10 14:48:02 +0200
Served asset /img/favicon.ico - 304 Not Modified (0ms)
Started GET "/yutongo-admin/badge" for 91.64.81.67 at 2013-07-10 14:48:34 +0200
Processing by RailsAdmin::MainController#index as HTML
Parameters: {"model_name"=>"badge"}
Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
Completed 401 Unauthorized in 4ms
Started GET "/admin_users/sign_in" for 91.64.81.67 at 2013-07-10 14:48:34 +0200
Processing by Devise::SessionsController#new as HTML
Account Load (0.7ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
Rendered /home/user17/.bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/shared/_links.erb (1.2ms)
Rendered /home/user17/.bundle/ruby/1.9.1/gems/devise-2.2.3/app/views/devise/sessions/new.html.erb within layouts/yutongo (6.8ms)
User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 20 AND (users.deleted_at IS NULL) LIMIT 1
(0.2ms) BEGIN
(0.5ms) UPDATE `users` SET `last_request_at` = '2013-07-10 12:48:35', `perishable_token` = 'D2OEgm7Hy68qNeFOCf', `updated_at` = '2013-07-10 12:48:35' WHERE `users`.`id` = 20
(9.4ms) COMMIT
Image Load (0.3ms) SELECT `images`.* FROM `images` WHERE `images`.`imageable_id` = 20 AND `images`.`imageable_type` = 'User' AND (images.deleted_at IS NULL) LIMIT 1
Rendered layouts/_top_menu.html.haml (33.4ms)
Rendered layouts/_flash.html.haml (1.1ms)
Rendered layouts/_footer.html.haml (3.2ms)
Rendered public/piwick_tracking_tag.html (0.0ms)
Completed 200 OK in 111ms (Views: 80.4ms | ActiveRecord: 13.4ms)
Started GET "/assets/jquery.rating.css" for 91.64.81.67 at 2013-07-10 14:48:35 +0200
Served asset /jquery.rating.css - 304 Not Modified (9ms)
Started GET "/assets/jquery.fancybox.2.0.6.css" for 91.64.81.67 at 2013-07-10 14:48:35 +0200
Served asset /jquery.fancybox.2.0.6.css - 304 Not Modified (9ms)
Started GET "/assets/slider.css" for 91.64.81.67 at 2013-07-10 14:48:35 +0200
Served asset /slider.css - 200 OK (10ms)
Started GET "/assets/screen.css" for 91.64.81.67 at 2013-07-10 14:48:35 +0200
Served asset /screen.css - 200 OK (133ms)
Started GET "/assets/application.js" for 91.64.81.67 at 2013-07-10 14:48:35 +0200
Served asset /application.js - 200 OK (60ms)
Started GET "/assets/formtastic_changes.css" for 91.64.81.67 at 2013-07-10 14:48:35 +0200
Served asset /formtastic_changes.css - 200 OK (119ms)
Started GET "/assets/jquery-ui-1.8.18.css" for 91.64.81.67 at 2013-07-10 14:48:35 +0200
Served asset /jquery-ui-1.8.18.css - 200 OK (10ms)
Started GET "/assets/jquery.timepicker.css" for 91.64.81.67 at 2013-07-10 14:48:35 +0200
Served asset /jquery.timepicker.css - 304 Not Modified (0ms)
Started GET "/assets/token-input-facebook.css" for 91.64.81.67 at 2013-07-10 14:48:35 +0200
Served asset /token-input-facebook.css - 200 OK (9ms)
Started GET "/assets/new_files/logo.png" for 91.64.81.67 at 2013-07-10 14:48:37 +0200
Served asset /new_files/logo.png - 200 OK (4ms)
Started GET "/assets/print.css" for 91.64.81.67 at 2013-07-10 14:48:37 +0200
Served asset /print.css - 304 Not Modified (0ms)
Started GET "/assets/new_files/nav-bckg.jpg" for 91.64.81.67 at 2013-07-10 14:48:37 +0200
Served asset /new_files/nav-bckg.jpg - 200 OK (3ms)
Started GET "/assets/new_files/anchor-border.jpg" for 91.64.81.67 at 2013-07-10 14:48:37 +0200
Served asset /new_files/anchor-border.jpg - 200 OK (3ms)
Started GET "/assets/new_files/twitter.png" for 91.64.81.67 at 2013-07-10 14:48:37 +0200
Served asset /new_files/twitter.png - 200 OK (3ms)
Started GET "/assets/new_files/facebook-logo-square.png" for 91.64.81.67 at 2013-07-10 14:48:37 +0200
Served asset /new_files/facebook-logo-square.png - 200 OK (3ms)
Started GET "/assets/new_files/mail.png" for 91.64.81.67 at 2013-07-10 14:48:37 +0200
Served asset /new_files/mail.png - 200 OK (4ms)
Started POST "/admin_users/sign_in" for 91.64.81.67 at 2013-07-10 14:48:42 +0200
Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"P7ucURWmc51XvRNkeNUlUwCYjhqr8Lfsmp1TOqDB7Ds=", "admin_user"=>{"email"=>"admin@yutongo.com", "password"=>"[FILTERED]"}, "commit"=>"Sign in"}
Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
AdminUser Load (9.1ms) SELECT `admin_users`.* FROM `admin_users` WHERE `admin_users`.`email` = 'admin@yutongo.com' LIMIT 1
(0.1ms) BEGIN
(0.5ms) UPDATE `admin_users` SET `failed_attempts` = 0, `updated_at` = '2013-07-10 12:48:43' WHERE `admin_users`.`id` = 1
(1.6ms) COMMIT
(0.2ms) BEGIN
(0.5ms) UPDATE `admin_users` SET `last_sign_in_at` = '2013-06-19 14:13:15', `current_sign_in_at` = '2013-07-10 12:48:43', `last_sign_in_ip` = '109.164.129.16', `current_sign_in_ip` = '91.64.81.67', `sign_in_count` = 22, `updated_at` = '2013-07-10 12:48:43' WHERE `admin_users`.`id` = 1
(0.6ms) COMMIT
Redirected to http://staging.yutongo.com/yutongo-admin/badge
Completed 302 Found in 145ms (ActiveRecord: 0.0ms)
Started GET "/yutongo-admin/badge" for 91.64.81.67 at 2013-07-10 14:48:43 +0200
Processing by RailsAdmin::MainController#index as HTML
Parameters: {"model_name"=>"badge"}
Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
AdminUser Load (0.5ms) SELECT `admin_users`.* FROM `admin_users` WHERE `admin_users`.`id` = 1 LIMIT 1
(0.3ms) SELECT @@FOREIGN_KEY_CHECKS
(0.2ms) SET FOREIGN_KEY_CHECKS = 0
(22.1ms) DROP TABLE `tags`
(0.2ms) SET FOREIGN_KEY_CHECKS = 1
(18.6ms) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB
(0.2ms) SELECT @@FOREIGN_KEY_CHECKS
(0.2ms) SET FOREIGN_KEY_CHECKS = 0
(2.1ms) DROP TABLE `taggings`
(0.2ms) SET FOREIGN_KEY_CHECKS = 1
(3.7ms) CREATE TABLE `taggings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `tag_id` int(11), `taggable_id` int(11), `taggable_type` varchar(255), `created_at` datetime) ENGINE=InnoDB
(0.2ms) SELECT @@FOREIGN_KEY_CHECKS
(0.2ms) SET FOREIGN_KEY_CHECKS = 0
(1.5ms) DROP TABLE `users`
(0.2ms) SET FOREIGN_KEY_CHECKS = 1
(2.7ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB
(2.7ms) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `text` text, `cached_tag_list` varchar(255), `user_id` int(11), `type` varchar(255)) ENGINE=InnoDB
(3.0ms) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255), `user_id` int(11)) ENGINE=InnoDB
(0.2ms) SELECT @@FOREIGN_KEY_CHECKS
(0.2ms) SET FOREIGN_KEY_CHECKS = 0
(1.9ms) DROP TABLE `subscriptions`
(0.2ms) SET FOREIGN_KEY_CHECKS = 1
(2.7ms) CREATE TABLE `subscriptions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `magazine_id` int(11)) ENGINE=InnoDB
(2.5ms) CREATE TABLE `magazines` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB
(0.8ms) SELECT version FROM `schema_migrations`
(0.5ms) INSERT INTO `schema_migrations` (version) VALUES ('0')
Badge Load (0.7ms) SELECT `badges`.* FROM `badges` ORDER BY badges.id desc LIMIT 20 OFFSET 0
(0.8ms) SELECT COUNT(*) FROM `badges`
Rendered /home/user17/.bundle/ruby/1.9.1/gems/rails_admin-0.4.3/app/views/rails_admin/main/index.html.haml within layouts/rails_admin/application (877.2ms)
Rendered /home/user17/.bundle/ruby/1.9.1/gems/rails_admin-0.4.3/app/views/layouts/rails_admin/_secondary_navigation.html.haml (17.5ms)
Rendered /home/user17/.bundle/ruby/1.9.1/gems/rails_admin-0.4.3/app/views/layouts/rails_admin/pjax.html.haml (10.8ms)
Completed 200 OK in 3939ms (Views: 1209.9ms | ActiveRecord: 80.9ms)
Started GET "/assets/rails_admin/rails_admin.css" for 91.64.81.67 at 2013-07-10 14:48:47 +0200
Compiled rails_admin/rails_admin.css (5622ms) (pid 3596)
Served asset /rails_admin/rails_admin.css - 200 OK (5842ms)
Started GET "/assets/rails_admin/rails_admin.js" for 91.64.81.67 at 2013-07-10 14:48:53 +0200
Compiled jquery.iframe-transport.js (0ms) (pid 3596)
Compiled rails_admin/jquery.remotipart.fixed.js (44ms) (pid 3596)
Compiled jquery.ui.effect.js (2ms) (pid 3596)
Compiled jquery.ui.core.js (2ms) (pid 3596)
Compiled jquery.ui.widget.js (0ms) (pid 3596)
Compiled jquery.ui.mouse.js (6ms) (pid 3596)
Compiled jquery.ui.sortable.js (127ms) (pid 3596)
Compiled jquery.ui.position.js (0ms) (pid 3596)
Compiled jquery.ui.menu.js (8ms) (pid 3596)
Compiled jquery.ui.autocomplete.js (52ms) (pid 3596)
Compiled jquery.ui.datepicker.js (2ms) (pid 3596)
Compiled rails_admin/jquery.ui.timepicker.js (119ms) (pid 3596)
Compiled rails_admin/ra.datetimepicker.js (0ms) (pid 3596)
Compiled rails_admin/jquery.colorpicker.js (0ms) (pid 3596)
Compiled rails_admin/ra.filter-box.js (0ms) (pid 3596)
Compiled rails_admin/ra.filtering-multiselect.js (0ms) (pid 3596)
Compiled rails_admin/ra.filtering-select.js (0ms) (pid 3596)
Compiled rails_admin/ra.remote-form.js (0ms) (pid 3596)
Compiled rails_admin/jquery.pjax.js (0ms) (pid 3596)
Compiled jquery_nested_form.js (0ms) (pid 3596)
Compiled rails_admin/ra.nested-form-hooks.js (1955ms) (pid 3596)
Compiled rails_admin/ra.widgets.js (102ms) (pid 3596)
Compiled rails_admin/ui.js (24ms) (pid 3596)
Compiled rails_admin/custom/ui.js (1ms) (pid 3596)
Compiled rails_admin/rails_admin.js (3088ms) (pid 3596)
Served asset /rails_admin/rails_admin.js - 200 OK (3266ms)
Started GET "/yutongo-admin/plan?_pjax=%5Bdata-pjax-container%5D" for 91.64.81.67 at 2013-07-10 14:49:04 +0200
Processing by RailsAdmin::MainController#index as HTML
Parameters: {"_pjax"=>"[data-pjax-container]", "model_name"=>"plan"}
Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
AdminUser Load (0.2ms) SELECT `admin_users`.* FROM `admin_users` WHERE `admin_users`.`id` = 1 LIMIT 1
Plan Load (0.7ms) SELECT `plans`.* FROM `plans` ORDER BY plans.id desc LIMIT 20 OFFSET 0
(0.6ms) SELECT COUNT(*) FROM `plans`
Rendered /home/user17/.bundle/ruby/1.9.1/gems/rails_admin-0.4.3/app/views/rails_admin/main/index.html.haml within layouts/rails_admin/pjax (47.7ms)
Completed 200 OK in 76ms (Views: 53.6ms | ActiveRecord: 2.0ms)
Started GET "/yutongo-admin/plan?set=1&_pjax=%5Bdata-pjax-container%5D" for 91.64.81.67 at 2013-07-10 14:51:27 +0200
Processing by RailsAdmin::MainController#index as HTML
Parameters: {"set"=>"1", "_pjax"=>"[data-pjax-container]", "model_name"=>"plan"}
Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
AdminUser Load (0.1ms) SELECT `admin_users`.* FROM `admin_users` WHERE `admin_users`.`id` = 1 LIMIT 1
Plan Load (0.4ms) SELECT `plans`.* FROM `plans` ORDER BY plans.id desc LIMIT 20 OFFSET 0
(0.2ms) SELECT COUNT(*) FROM `plans`
Rendered /home/user17/.bundle/ruby/1.9.1/gems/rails_admin-0.4.3/app/views/rails_admin/main/index.html.haml within layouts/rails_admin/pjax (44.7ms)
Completed 200 OK in 195ms (Views: 176.5ms | ActiveRecord: 1.1ms)
Started GET "/yutongo-admin/plan/1?_pjax=%5Bdata-pjax-container%5D" for 91.64.81.67 at 2013-07-10 14:51:41 +0200
Processing by RailsAdmin::MainController#show as HTML
Parameters: {"_pjax"=>"[data-pjax-container]", "model_name"=>"plan", "id"=>"1"}
Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'staging' AND (accounts.deleted_at IS NULL) LIMIT 1
AdminUser Load (0.2ms) SELECT `admin_users`.* FROM `admin_users` WHERE `admin_users`.`id` = 1 LIMIT 1
Plan Load (0.2ms) SELECT `plans`.* FROM `plans` WHERE `plans`.`id` = 1 LIMIT 1
User Load (0.9ms) SELECT `users`.* FROM `users` WHERE `users`.`plan_id` = 1 AND (users.deleted_at IS NULL)
Mysql2::Error: Unknown column 'users.plan_id' in 'where clause': SELECT `users`.* FROM `users` WHERE `users`.`plan_id` = 1 AND (users.deleted_at IS NULL)
Rendered /home/user17/.bundle/ruby/1.9.1/gems/rails_admin-0.4.3/app/views/rails_admin/main/show.html.haml within layouts/rails_admin/pjax (9.3ms)
Completed 500 Internal Server Error in 45ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment