Skip to content

Rails 3.2.rc1 ActiveRecord ConnectionNotEstablished #18

Open
kaluznyo opened this Issue Dec 20, 2011 · 3 comments

2 participants

@kaluznyo

When I try to launch my server (rails s) I got this error with rails 3.2.rc1 :

https://gist.github.com/a99d0ac6ce164d547618

I note very sure if it's related to acts_as_geocodable or rails. But if I launche my app without your gem, this error disappear.

Juste in case, my issue on Rails repo : rails/rails#4046

@danielmorrison
Collective Idea member
@kaluznyo

Okay thanks, A simple workaround exist

# Gemfile
gem 'acts_as_geocodable', :require => false

# config/initialisers/acts_as_geocodable.rb
require 'acts_as_geocodable'

UPDATE
And the gem acts-as-taggable-on have the same issue, some idea to fix :
mbleigh/acts-as-taggable-on#211

@kaluznyo
kaluznyo commented Jan 4, 2012

Okay, now it's not a bug anymore. The rails team have fixed it, in rails-3-2 branch. So it's must be Ok for the next rails 3.2 version (rc2 or final)

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.