Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.3.0 breaks rails 2.3 #9

Open
webpulser opened this issue May 25, 2011 · 1 comment
Open

0.3.0 breaks rails 2.3 #9

webpulser opened this issue May 25, 2011 · 1 comment

Comments

@webpulser
Copy link

I think commit 863e29b1ff7cdb7e283d Breaks rails 2.3 compatibility.

I'm using rails 2.3.8 and multidb 0.3.0 from rubygems.org

Here my application console init log :

```undefined methodcolumns' for class MultiDb::ConnectionProxy'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/module/aliasing.rb:33:in`alias_method'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/module/aliasing.rb:33:in `alias_method_chain'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/query_cache.rb:7:in`included'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/query_cache.rb:6:in `class_eval'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/query_cache.rb:6:in`included'
/home/sabre/.gem/ruby/1.8/gems/multi_db-0.3.0/lib/multi_db/connection_proxy.rb:5:in `include'
/home/sabre/.gem/ruby/1.8/gems/multi_db-0.3.0/lib/multi_db/connection_proxy.rb:5
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:158:in`require'
/home/sabre/.gem/ruby/1.8/gems/multi_db-0.3.0/lib/multi_db.rb:6
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'

@wael34218
Copy link

It happened to me as well

jeffchao pushed a commit to jeffchao/multi_db that referenced this issue Nov 7, 2011
…ultiDb::ConnectionProxy issue schoefmann#9 for Rails 2.3.8 compatibility.
airhorns referenced this issue in airhorns/multi_db Jan 23, 2013
Add respond_to_missing? to the connection proxy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants