This project is archived and is in readonly mode.

#5281 ✓wontfix
Raphael Costa

Conflict with "Deprecated" gem

Reported by Raphael Costa | August 3rd, 2010 @ 02:24 AM

Hi,

I am using Rails 3 RC and "DBI" Gem, that require "Deprecated" gem...

But when Activerecord use a 'deprecate' method, AR use the 'deprecate' method of 'deprecated' gem...resulting in a app error

You did not specify how you would like Rails to report deprecation notices for your development environment, please set config.active_support.deprecation to :log at config/environments/development.rb
/Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/deprecated-2.0.1/lib/deprecated.rb:176:in instance_method': {:subclasses=>:descendants} is not a symbol (TypeError)

from /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/deprecated-2.0.1/lib/deprecated.rb:176:in `deprecate'
from /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/activerecord-3.0.0.rc/lib/active_record/base.rb:291
from /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/activerecord-3.0.0.rc/lib/active_record/railtie.rb:28
from /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/activesupport-3.0.0.rc/lib/active_support/dependencies.rb:219:in `call'
from /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/activesupport-3.0.0.rc/lib/active_support/dependencies.rb:219:in `to_proc'
from /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/railtie.rb:180:in `each'
from /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/railtie.rb:180:in `load_console'
from /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/application.rb:154:in `load_console'
from /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/application/railties.rb:11:in `each'
from /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/application/railties.rb:11:in `all'
from /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/application.rb:154:in `load_console'
from /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/commands/console.rb:26:in `start'
from /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/commands/console.rb:8:in `start'
from /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/commands.rb:23
from script/rails:6:in `require'
from script/rails:6

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages