Skip to content

Instantly share code, notes, and snippets.

@DanielWright
Created June 26, 2013 16:24
Show Gist options
  • Save DanielWright/5868912 to your computer and use it in GitHub Desktop.
Save DanielWright/5868912 to your computer and use it in GitHub Desktop.
ActiveAdmin::Resource#default_options backtrace
~/Code/dynamo/aldo/zelda (master●●)$ RAILS_ENV=staging bake assets:precompile
rake aborted!
FATAL: database "aldo-zelda_staging" does not exist
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:825:in `initialize'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:825:in `new'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:825:in `connect'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:542:in `initialize'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `new'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `postgresql_connection'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:440:in `new_connection'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:450:in `checkout_new_connection'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:421:in `acquire_connection'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:356:in `block in checkout'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `checkout'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:546:in `retrieve_connection'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_handling.rb:79:in `retrieve_connection'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_handling.rb:53:in `connection'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/model_schema.rb:203:in `table_exists?'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/attribute_methods/primary_key.rb:92:in `get_primary_key'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/attribute_methods/primary_key.rb:77:in `reset_primary_key'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/attribute_methods/primary_key.rb:65:in `primary_key'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin/resource.rb:149:in `default_options'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin/resource.rb:60:in `initialize'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin/resource/action_items.rb:11:in `initialize'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin/resource/pagination.rb:13:in `initialize'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin/filters/resource_extension.rb:7:in `initialize'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin/batch_actions/resource_extension.rb:6:in `initialize'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin/namespace.rb:176:in `new'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin/namespace.rb:176:in `find_or_build_resource'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin/namespace.rb:47:in `register'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin/application.rb:121:in `register'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin.rb:72:in `register'
/Users/dwright/Code/dynamo/aldo/zelda/app/admin/admin_user.rb:1:in `<top (required)>'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `block in load'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin/application.rb:172:in `block in load!'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin/application.rb:172:in `each'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin/application.rb:172:in `load!'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin/application.rb:190:in `routes'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin.rb:76:in `routes'
/Users/dwright/Code/dynamo/aldo/zelda/config/routes.rb:4:in `block in <top (required)>'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb:316:in `instance_exec'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb:316:in `eval_block'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb:294:in `draw'
/Users/dwright/Code/dynamo/aldo/zelda/config/routes.rb:1:in `<top (required)>'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `block in load'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/railties-4.0.0/lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/railties-4.0.0/lib/rails/application/routes_reloader.rb:40:in `each'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/railties-4.0.0/lib/rails/application/routes_reloader.rb:40:in `load_paths'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/railties-4.0.0/lib/rails/application/routes_reloader.rb:16:in `reload!'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/railties-4.0.0/lib/rails/application.rb:102:in `reload_routes!'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/bundler/gems/active_admin-51a5a72974ba/lib/active_admin/application.rb:245:in `block in attach_reloader'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:387:in `_run__2274703481648022301__prepare__callbacks'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:80:in `run_callbacks'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/actionpack-4.0.0/lib/action_dispatch/middleware/reloader.rb:74:in `prepare!'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/actionpack-4.0.0/lib/action_dispatch/middleware/reloader.rb:46:in `prepare!'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/railties-4.0.0/lib/rails/application/finisher.rb:50:in `block in <module:Finisher>'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `instance_exec'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `run'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/railties-4.0.0/lib/rails/initializable.rb:55:in `block in run_initializers'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/railties-4.0.0/lib/rails/initializable.rb:54:in `run_initializers'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/railties-4.0.0/lib/rails/application.rb:215:in `initialize!'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/railties-4.0.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/dwright/Code/dynamo/aldo/zelda/config/environment.rb:5:in `<top (required)>'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/railties-4.0.0/lib/rails/application.rb:189:in `require_environment!'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/railties-4.0.0/lib/rails/application.rb:249:in `block in run_tasks_blocks'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/sprockets-rails-2.0.0/lib/sprockets/rails/task.rb:54:in `block (2 levels) in define'
Tasks: TOP => environment
(See full trace by running task with --trace)
~/Code/dynamo/aldo/zelda (master●●)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment