public
Created

Rails 3.2 connection crasher

  • Download Gist
gistfile1.txt
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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
rails s
/Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activerecord-3.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `retrieve_connection': ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished)
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activerecord-3.2.0/lib/active_record/connection_adapters/abstract/connection_specification.rb:168:in `retrieve_connection'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activerecord-3.2.0/lib/active_record/connection_adapters/abstract/connection_specification.rb:142:in `connection'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activerecord-3.2.0/lib/active_record/model_schema.rb:228:in `columns'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activerecord-3.2.0/lib/active_record/model_schema.rb:248:in `column_names'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activerecord-3.2.0/lib/active_record/model_schema.rb:261:in `column_methods_hash'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activerecord-3.2.0/lib/active_record/dynamic_matchers.rb:69:in `all_attributes_exists?'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activerecord-3.2.0/lib/active_record/dynamic_matchers.rb:27:in `method_missing'
from /Users/gorman/Sites/railsapp/config/application.rb:59:in `block in <class:Application>'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activesupport-3.2.0/lib/active_support/lazy_load_hooks.rb:34:in `call'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activesupport-3.2.0/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activesupport-3.2.0/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activesupport-3.2.0/lib/active_support/lazy_load_hooks.rb:42:in `each'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activesupport-3.2.0/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/railties-3.2.0/lib/rails/application/bootstrap.rb:69:in `block in <module:Bootstrap>'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/railties-3.2.0/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/railties-3.2.0/lib/rails/initializable.rb:30:in `run'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/railties-3.2.0/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/railties-3.2.0/lib/rails/initializable.rb:54:in `each'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/railties-3.2.0/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/railties-3.2.0/lib/rails/application.rb:136:in `initialize!'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/railties-3.2.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Users/gorman/Sites/railsapp/config/environment.rb:5:in `<top (required)>'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `require'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `block in require'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `require'
from /Users/gorman/Sites/railsapp/config.ru:4:in `block in <main>'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
from /Users/gorman/Sites/railsapp/config.ru:1:in `new'
from /Users/gorman/Sites/railsapp/config.ru:1:in `<main>'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/railties-3.2.0/lib/rails/commands/server.rb:46:in `app'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/railties-3.2.0/lib/rails/commands/server.rb:70:in `start'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/railties-3.2.0/lib/rails/commands.rb:55:in `block in <top (required)>'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/railties-3.2.0/lib/rails/commands.rb:50:in `tap'
from /Users/gorman/.rvm/gems/ruby-1.9.2-p290@rails32/gems/railties-3.2.0/lib/rails/commands.rb:50:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.