ActiveRecord ConnectionNotEstablished #4046

Closed
kaluznyo opened this Issue Dec 20, 2011 · 25 comments

Comments

Projects
None yet

With rails 3.2.rc1 I got :

/activerecord-3.2.0.rc1/lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `retrieve_connection': ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished)

When i try to make a rake or a rails s

Same here, with mysql2

I don't know if it's related, but have you acts_as_geocodable in your gemfile? I just add the same issue in acts_as_geocodable repo. Because when I install my gem wihtout it, it's seem to correct the error ( Unfortunately, it crash after, because I have a lot of code using acts_as_geocodable)

collectiveidea/acts_as_geocodable#18

I don't use this gem, I use geokit and It crash even if I remove the gem.

Member

jonleighton commented Dec 20, 2011

Please provide a full strack trace. (i.e. rake [whatever] --trace)

Voila :


rails s                                                                               rvm:ruby-1.8.7-p352@rails3 
/Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activerecord-3.2.0.rc1/lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `retrieve_connection': ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished)
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activerecord-3.2.0.rc1/lib/active_record/connection_adapters/abstract/connection_specification.rb:168:in `retrieve_connection'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activerecord-3.2.0.rc1/lib/active_record/connection_adapters/abstract/connection_specification.rb:142:in `connection'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activerecord-3.2.0.rc1/lib/active_record/model_schema.rb:219:in `table_exists?'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activerecord-3.2.0.rc1/lib/active_record/base.rb:413:in `inspect'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:190:in `start'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:352:in `compile'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:351:in `each'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:351:in `compile'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:381:in `__define_runner'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:426:in `__update_callbacks'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:423:in `each'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:423:in `__update_callbacks'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:492:in `set_callback'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activemodel-3.2.0.rc1/lib/active_model/validations.rb:139:in `validate'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activemodel-3.2.0.rc1/lib/active_model/validations/with.rb:95:in `validates_with'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activemodel-3.2.0.rc1/lib/active_model/validations/with.rb:83:in `each'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activemodel-3.2.0.rc1/lib/active_model/validations/with.rb:83:in `validates_with'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activerecord-3.2.0.rc1/lib/active_record/validations/uniqueness.rb:176:in `validates_uniqueness_of'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/acts-as-taggable-on-2.1.1/lib/acts_as_taggable_on/tag.rb:15
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activesupport-3.2.0.rc1/lib/active_support/dependencies.rb:251:in `require'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activesupport-3.2.0.rc1/lib/active_support/dependencies.rb:251:in `require'
    from /Users/christophebelpaire/Sites/bentostore/config/application.rb:17:in `load_dependency'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/activesupport-3.2.0.rc1/lib/active_support/dependencies.rb:251:in `require'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/acts-as-taggable-on-2.1.1/lib/acts-as-taggable-on.rb:21
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/bundler-1.0.18/lib/bundler/runtime.rb:68:in `require'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/bundler-1.0.18/lib/bundler/runtime.rb:68:in `require'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/bundler-1.0.18/lib/bundler/runtime.rb:66:in `each'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/bundler-1.0.18/lib/bundler/runtime.rb:66:in `require'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/bundler-1.0.18/lib/bundler/runtime.rb:55:in `each'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/bundler-1.0.18/lib/bundler/runtime.rb:55:in `require'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/bundler-1.0.18/lib/bundler.rb:120:in `require'
    from /Users/christophebelpaire/Sites/bentostore/config/application.rb:26
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/railties-3.2.0.rc1/lib/rails/commands.rb:53:in `require'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/railties-3.2.0.rc1/lib/rails/commands.rb:53
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/railties-3.2.0.rc1/lib/rails/commands.rb:50:in `tap'
    from /Users/christophebelpaire/.rvm/gems/ruby-1.8.7-p352@rails3/gems/railties-3.2.0.rc1/lib/rails/commands.rb:50
    from script/rails:6:in `require'
    from script/rails:6
Contributor

dmathieu commented Dec 20, 2011

I got it too, whatever I try to do, either running a rake task or the server.

➜  shazino git:(rails-3-2) ✗ bundle exec rake --trace
rake aborted!
ActiveRecord::ConnectionNotEstablished
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activerecord-3.2.0.rc1/lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `retrieve_connection'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activerecord-3.2.0.rc1/lib/active_record/connection_adapters/abstract/connection_specification.rb:168:in `retrieve_connection'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activerecord-3.2.0.rc1/lib/active_record/connection_adapters/abstract/connection_specification.rb:142:in `connection'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activerecord-3.2.0.rc1/lib/active_record/model_schema.rb:219:in `table_exists?'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activerecord-3.2.0.rc1/lib/active_record/base.rb:413:in `inspect'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:190:in `inspect'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:190:in `start'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:352:in `block in compile'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:351:in `each'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:351:in `compile'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:381:in `__define_runner'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:426:in `block in __update_callbacks'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:423:in `each'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:423:in `__update_callbacks'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activesupport-3.2.0.rc1/lib/active_support/callbacks.rb:492:in `set_callback'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activemodel-3.2.0.rc1/lib/active_model/validations.rb:139:in `validate'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activemodel-3.2.0.rc1/lib/active_model/validations/with.rb:95:in `block in validates_with'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activemodel-3.2.0.rc1/lib/active_model/validations/with.rb:83:in `each'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activemodel-3.2.0.rc1/lib/active_model/validations/with.rb:83:in `validates_with'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activerecord-3.2.0.rc1/lib/active_record/validations/uniqueness.rb:176:in `validates_uniqueness_of'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/acts-as-taggable-on-2.1.1/lib/acts_as_taggable_on/tag.rb:15:in `<class:Tag>'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/acts-as-taggable-on-2.1.1/lib/acts_as_taggable_on/tag.rb:2:in `<module:ActsAsTaggableOn>'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/acts-as-taggable-on-2.1.1/lib/acts_as_taggable_on/tag.rb:1:in `<top (required)>'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activesupport-3.2.0.rc1/lib/active_support/dependencies.rb:251:in `require'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activesupport-3.2.0.rc1/lib/active_support/dependencies.rb:251:in `block in require'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activesupport-3.2.0.rc1/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/activesupport-3.2.0.rc1/lib/active_support/dependencies.rb:251:in `require'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/acts-as-taggable-on-2.1.1/lib/acts-as-taggable-on.rb:21:in `<top (required)>'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in `require'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in `each'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in `block in require'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in `each'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in `require'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/gems/bundler-1.0.21/lib/bundler.rb:122:in `require'
/Users/shazino/Documents/shazino/shazino/config/application.rb:13:in `<top (required)>'
/Users/shazino/Documents/shazino/shazino/Rakefile:5:in `require'
/Users/shazino/Documents/shazino/shazino/Rakefile:5:in `<top (required)>'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load_rakefile'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:501:in `raw_load_rakefile'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `block in load_rakefile'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:81:in `load_rakefile'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:65:in `block in run'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/bin/rake:19:in `load'
/Users/shazino/.rvm/gems/ruby-1.9.3-p0@shazino/bin/rake:19:in `<main>'

ariejan commented Dec 20, 2011

This issue appears to be tied to validates_uniqueness_of and the order in which gems are loaded.

Work-around:

# Gemfile
gem 'acts-as-taggable-on', :require => false

# config/initialisers/acts-as-taggable-on.rb
require 'acts-as-taggable-on'

Indeed it seems the be the source of my problem ;)
Thanks!

Ok it's work fine with @ariejan tips. But this can be fixed ? in Rails, or in gems?

Member

drogus commented Dec 20, 2011

@kaluznyo most probably in acts-as-taggable-on, I'm not sure what's cauing this, but probably this gem loads some things too early while it should load it on rails initialization.

UPDATE: ah, this pops out also on the other gems, so maybe it's rails fault

For me, the problem is acts_as_geocodable, and the workaround, given for acts-as-taggable, works

Member

jonleighton commented Dec 23, 2011

Crap, I put the wrong number in that commit message ^^

jonleighton reopened this Dec 23, 2011

Member

jonleighton commented Dec 23, 2011

Repro'd with the following code

require 'active_record'

puts ActiveRecord::VERSION::STRING

class Foo < ActiveRecord::Base
  validates_uniqueness_of :bar
end

@Karunakar Karunakar pushed a commit to Karunakar/rails-1 that referenced this issue Dec 23, 2011

@jonleighton jonleighton Fix #4046. f1eb98f
Member

jonleighton commented Dec 23, 2011

cc @josevalim - it looks like this is coming from 38ab982 - reverting that commit solves the problem.

Contributor

lest commented Jan 3, 2012

The code above works now on 3-2-stable branch with changes from #4280

Owner

spastorino commented Jan 3, 2012

Please let us know if everything is fine for you now guys.
/cc @kaluznyo @ChristopheBelpaire @ariejan

kaluznyo commented Jan 4, 2012

Working fine now. Thanks

spastorino closed this Jan 4, 2012

gorman commented Jan 24, 2012

Unfortunately, I'm still seeing this issue. I've tried both the Rails 3.2.0 (final) gem and pulling the source from the 3-2-stable branch. Here's my trace: https://gist.github.com/1668470

For whatever it's worth, I'm using the postgresql adapter. I appreciate any help!

Upgrade to Rails 3.2.0 (final) and I'm getting this error as well, and Im not using any of the following gems listed with this problem. Simliar error trace output. https://gist.github.com/1672833

-- RESOLVED --

So I went ahead and created a new rails 3.2.0 app, and started to slot each of my gems individually.
I needed to switch my mysql2 gem version from 0.3.6 to 0.3.10 and then everything worked great.

gorman commented Jan 26, 2012

Unfortunately, my issue still remains as I'm using Postgres (the pg gem) :/

Member

jonleighton commented Jan 26, 2012

These look like a different problem. Can either of your provide an example application which shows the bug against 3.2 but not against 3.1? Thanks.

agm1988 commented Feb 11, 2012

Here have same issue ActiveRecord::ConnectionNotEstablished, but only if i ran in production mode on local machine
I dont use any additional gems. Its weird but it happens with both mysql and mysql2 gems, iam usin rails3.1.3
Thank in advice for any suggestions!

my gemfile:
source 'http://rubygems.org'
gem 'rails', '3.1.3'
gem 'mysql2'
group :assets do
gem 'sass-rails', '> 3.1.5'
gem 'coffee-rails', '
> 3.1.1'
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
gem 'bcrypt-ruby', '~> 3.0.0'
gem 'unicorn'
group :test do
gem 'turn', '0.8.2', :require => false
end

and trace:
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:409:in retrieve_connection' activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_specification.rb:115:inretrieve_connection'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_specification.rb:89:in connection' activerecord (3.1.3) lib/active_record/query_cache.rb:67:inrescue in call'
activerecord (3.1.3) lib/active_record/query_cache.rb:61:in call' activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:477:incall'
actionpack (3.1.3) lib/action_dispatch/middleware/callbacks.rb:29:in block in call' activesupport (3.1.3) lib/active_support/callbacks.rb:392:in_run_call_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.1.3) lib/action_dispatch/middleware/callbacks.rb:28:incall'
actionpack (3.1.3) lib/action_dispatch/middleware/reloader.rb:68:in call' rack (1.3.6) lib/rack/sendfile.rb:101:incall'
actionpack (3.1.3) lib/action_dispatch/middleware/remote_ip.rb:48:in call' actionpack (3.1.3) lib/action_dispatch/middleware/show_exceptions.rb:47:incall'
railties (3.1.3) lib/rails/rack/logger.rb:13:in call' rack (1.3.6) lib/rack/methodoverride.rb:24:incall'
rack (1.3.6) lib/rack/runtime.rb:17:in call' activesupport (3.1.3) lib/active_support/cache/strategy/local_cache.rb:72:incall'
rack (1.3.6) lib/rack/lock.rb:15:in call' actionpack (3.1.3) lib/action_dispatch/middleware/static.rb:53:incall'
railties (3.1.3) lib/rails/engine.rb:456:in call' rack (1.3.6) lib/rack/content_length.rb:14:incall'
railties (3.1.3) lib/rails/rack/log_tailer.rb:14:in call' rack (1.3.6) lib/rack/handler/webrick.rb:59:inservice'
/home/agm/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in service' /home/agm/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:inrun'
/home/agm/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'

I got the same problem with Rails '3.2.2' and Mysql2 '0.3.10'

Trace:

$ rails s
/Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@onlinemarket/gems/mysql2-0.3.10/lib/mysql2/mysql2.bundle: dlopen(/Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@onlinemarket/gems/mysql2-0.3.10/lib/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.18.dylib (LoadError)
Referenced from: /Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@onlinemarket/gems/mysql2-0.3.10/lib/mysql2/mysql2.bundle
Reason: image not found - /Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@onlinemarket/gems/mysql2-0.3.10/lib/mysql2/mysql2.bundle
from /Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@onlinemarket/gems/mysql2-0.3.10/lib/mysql2.rb:9
from /Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@global/gems/bundler-1.1.0/lib/bundler/runtime.rb:68:in require' from /Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@global/gems/bundler-1.1.0/lib/bundler/runtime.rb:68:inrequire'
from /Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@global/gems/bundler-1.1.0/lib/bundler/runtime.rb:66:in each' from /Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@global/gems/bundler-1.1.0/lib/bundler/runtime.rb:66:inrequire'
from /Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@global/gems/bundler-1.1.0/lib/bundler/runtime.rb:55:in each' from /Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@global/gems/bundler-1.1.0/lib/bundler/runtime.rb:55:inrequire'
from /Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@global/gems/bundler-1.1.0/lib/bundler.rb:118:in require' from /Users/victorhazbun/Projects/ecommerce/config/application.rb:7 from /Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@onlinemarket/gems/railties-3.2.2/lib/rails/commands.rb:53:inrequire'
from /Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@onlinemarket/gems/railties-3.2.2/lib/rails/commands.rb:53
from /Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@onlinemarket/gems/railties-3.2.2/lib/rails/commands.rb:50:in tap' from /Users/victorhazbun/.rvm/gems/ruby-1.8.7-head@onlinemarket/gems/railties-3.2.2/lib/rails/commands.rb:50 from script/rails:6:inrequire'
from script/rails:6

kaluznyo referenced this issue in collectiveidea/acts_as_geocodable Jan 4, 2012

Closed

Rails 3.2.rc1 ActiveRecord ConnectionNotEstablished #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment