Skip to content

Instantly share code, notes, and snippets.

@thiagopnts
Created May 30, 2012 20:26
Show Gist options
  • Save thiagopnts/2838710 to your computer and use it in GitHub Desktop.
Save thiagopnts/2838710 to your computer and use it in GitHub Desktop.
2012/05/30 17:21:45 - - INFO - Pixily::Log::CustomLogger - New RightAws::S3Interface using shared connections mode
2012/05/30 17:21:45 - - INFO - Pixily::Log::CustomLogger - Opening new HTTPS connection to s3.amazonaws.com:443
SQL (1.0ms) COMMIT
Feature Load (0.5ms) SELECT * FROM "features" WHERE ("features"."identifier" = 'on_demand_images') LIMIT 1
Cache read: Pixily::Brand::OfficeDrop
Cache hit: Pixily::Brand::OfficeDrop ({})
Cache read: officedrop_features
Cache hit: officedrop_features ({})
SQL (0.6ms) SELECT server_path FROM list_folders(5) WHERE folder_id = 109
CACHE (0.0ms) SELECT server_path FROM list_folders(5) WHERE folder_id = 109
CACHE (0.0ms) SELECT * FROM "features" WHERE ("features"."identifier" = 'on_demand_images') LIMIT 1
Cache read: officedrop_features
Cache hit: officedrop_features ({})
CACHE (0.0ms) SELECT server_path FROM list_folders(5) WHERE folder_id = 109
CACHE (0.0ms) SELECT server_path FROM list_folders(5) WHERE folder_id = 109
FileEntry Load (1.0ms) SELECT * FROM "documents" WHERE ("documents"."id" = 126)
Indexing document 126/officedrop
Folder Load (1.2ms) SELECT * FROM "documents" WHERE ("documents"."id" = 109) AND ( ("documents"."type" = 'Folder' ) )
SQL (0.1ms) SET client_min_messages TO 'panic'
Folder Load (1.0ms) SELECT * FROM "documents" WHERE ("documents"."id" = 9) AND ( ("documents"."type" = 'Folder' ) )
SQL (0.2ms) SET standard_conforming_strings = on
Share Load (1.2ms) SELECT * FROM "shares" WHERE ("shares".shareable_id = 9 AND "shares".shareable_type = 'FileEntry')
SQL (0.1ms) SET client_min_messages TO 'warning'
PublicShare Load (1.4ms) SELECT * FROM "public_shares" WHERE ("public_shares".shareable_id = 9 AND "public_shares".shareable_type = 'FileEntry') LIMIT 1
Account Load (2.0ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 5)
Share Load (0.5ms) SELECT * FROM "shares" WHERE ("shares".shareable_id = 109 AND "shares".shareable_type = 'FileEntry')
SQL (6.4ms) SELECT server_path FROM list_folders(5) WHERE folder_id = 109
PublicShare Load (0.4ms) SELECT * FROM "public_shares" WHERE ("public_shares".shareable_id = 109 AND "public_shares".shareable_type = 'FileEntry') LIMIT 1
User Load (1.8ms) SELECT * FROM "users" WHERE ("users"."id" = 4)
User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 4)
SQL (0.5ms) SELECT server_path FROM list_folders(5) WHERE folder_id = 109
Account Load (0.8ms) SELECT "accounts".* FROM "accounts" INNER JOIN "account_users" ON "accounts".id = "account_users".account_id WHERE (("account_users".user_id = 4))
Indexing document ElasticSearch::ConnectionFailed
UserPlan Load (0.8ms) SELECT * FROM "user_plans" WHERE ("user_plans".account_id = 5 AND (start_date <= current_date and (user_plans.end_date is null OR user_plans.end_date > current_date) AND user_plans.account_id = 5 )) ORDER BY user_plans.start_date ASC, user_plans.id ASC LIMIT 1
Plan Load (0.6ms) SELECT * FROM "plans" WHERE ("plans"."id" = 2)
PlanComponentType Load (0.3ms) SELECT * FROM "plan_component_types" WHERE ("plan_component_types"."identifier" = 'storage') LIMIT 1
PlanComponent Load (0.4ms) SELECT * FROM "plan_components" WHERE ("plan_components"."plan_component_type_id" = 343546677) AND ("plan_components".plan_id = 2) LIMIT 1
PlanComponentType Load (0.7ms) SELECT * FROM "plan_component_types" WHERE ("plan_component_types"."identifier" = 'file_size_limit') LIMIT 1
PlanComponent Load (0.5ms) SELECT * FROM "plan_components" WHERE ("plan_components"."plan_component_type_id" = 1002123700) AND ("plan_components".plan_id = 2) LIMIT 1
SQL (1.0ms) SELECT count(*) AS count_all FROM "users" INNER JOIN "account_users" ON "users".id = "account_users".user_id WHERE ((users.status IN ('active') ) AND (("account_users".account_id = 5)))
PlanComponentType Load (0.3ms) SELECT * FROM "plan_component_types" WHERE ("plan_component_types"."identifier" = 'max_users') LIMIT 1
PlanComponent Load (0.4ms) SELECT * FROM "plan_components" WHERE ("plan_components"."plan_component_type_id" = 664446180) AND ("plan_components".plan_id = 2) LIMIT 1
CACHE (0.0ms) SELECT count(*) AS count_all FROM "users" INNER JOIN "account_users" ON "users".id = "account_users".user_id WHERE ((users.status IN ('active') ) AND (("account_users".account_id = 5)))
SQL (0.3ms) BEGIN
SQL (0.2ms) COMMIT
NoMethodError (undefined method `show_delete_confirmation_dialog' for #<ActiveRecord::Associations::BelongsToAssociation:0x10cc86420>):
app/models/api/user.rb:20:in `initialize_from_original'
app/models/api/base.rb:99:in `from_one'
app/models/api/base.rb:83:in `from'
app/models/api/batch.rb:36:in `from_one'
app/models/api/batch.rb:34:in `tap'
app/models/api/batch.rb:34:in `from_one'
app/models/api/batch.rb:54:in `from_document'
app/controllers/api/documents_controller.rb:90:in `create'
app/middlewares/routes_js.rb:36:in `call'
app/middlewares/flash_session_cookie_middleware.rb:14:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/hoptoad_notifier-2.4.11/lib/hoptoad_notifier/rack.rb:27:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/hoptoad_notifier-2.4.11/lib/hoptoad_notifier/user_informer.rb:12:in `call'
#<NoMethodError: undefined method `show_delete_confirmation_dialog' for #<ActiveRecord::Associations::BelongsToAssociation:0x10cc86420>>
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/activerecord-2.3.14/lib/active_record/associations/association_proxy.rb:217:in `method_missing'
/Users/thiago/workspace/railsapp/app/models/api/user.rb:20:in `initialize_from_original'
/Users/thiago/workspace/railsapp/app/models/api/base.rb:99:in `from_one'
/Users/thiago/workspace/railsapp/app/models/api/base.rb:83:in `from'
/Users/thiago/workspace/railsapp/app/models/api/batch.rb:36:in `from_one'
/Users/thiago/workspace/railsapp/app/models/api/batch.rb:34:in `tap'
/Users/thiago/workspace/railsapp/app/models/api/batch.rb:34:in `from_one'
/Users/thiago/workspace/railsapp/app/models/api/batch.rb:54:in `from_document'
/Users/thiago/workspace/railsapp/app/controllers/api/documents_controller.rb:90:in `create'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in `send'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in `perform_action_without_filters'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/filters.rb:617:in `call_filters'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/Users/thiago/.rvm/rubies/ree-1.8.7-2012.02/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/flash.rb:151:in `perform_action_without_render_component'
/Users/thiago/workspace/railsapp/vendor/plugins/render_component/lib/components.rb:39:in `perform_action'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in `send'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in `process_without_filters'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/filters.rb:606:in `process'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/base.rb:391:in `process'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/base.rb:386:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:438:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:87:in `dispatch'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:121:in `_call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:29:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:29:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:9:in `cache'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:28:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/Users/thiago/workspace/railsapp/app/middlewares/routes_js.rb:36:in `call'
/Users/thiago/workspace/railsapp/vendor/gems/rack-contrib/lib/rack/contrib/locale.rb:25:in `call'
/Users/thiago/workspace/railsapp/vendor/gems/rack-contrib/lib/rack/contrib/profiler.rb:40:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/string_coercion.rb:25:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rack-1.1.3/lib/rack/head.rb:9:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rack-1.1.3/lib/rack/methodoverride.rb:24:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/params_parser.rb:15:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/session/abstract_store.rb:177:in `call'
/Users/thiago/workspace/railsapp/app/middlewares/flash_session_cookie_middleware.rb:14:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/activesupport-2.3.14/lib/active_support/cache/strategy/local_cache.rb:25:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/hoptoad_notifier-2.4.11/lib/hoptoad_notifier/rack.rb:27:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/failsafe.rb:26:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/hoptoad_notifier-2.4.11/lib/hoptoad_notifier/user_informer.rb:12:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rack-1.1.3/lib/rack/lock.rb:11:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rack-1.1.3/lib/rack/lock.rb:11:in `synchronize'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rack-1.1.3/lib/rack/lock.rb:11:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:114:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/reloader.rb:34:in `run'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:108:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rack-1.1.3/lib/rack/urlmap.rb:47:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rack-1.1.3/lib/rack/urlmap.rb:41:in `each'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rack-1.1.3/lib/rack/urlmap.rb:41:in `call'
/Users/thiago/workspace/railsapp/vendor/gems/rack-contrib/lib/rack/contrib/profiler.rb:40:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rails-2.3.14/lib/rails/rack/static.rb:31:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rack-1.1.3/lib/rack/urlmap.rb:47:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rack-1.1.3/lib/rack/urlmap.rb:41:in `each'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rack-1.1.3/lib/rack/urlmap.rb:41:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rails-2.3.14/lib/rails/rack/log_tailer.rb:17:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rack-1.1.3/lib/rack/content_length.rb:13:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rack-1.1.3/lib/rack/chunked.rb:15:in `call'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/rack-1.1.3/lib/rack/handler/mongrel.rb:67:in `process'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
/Users/thiago/.rvm/gems/ree-1.8.7-2012.02@officedrop/gems/mongrel-1.1.5/lib/mongrel.rb:285
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment