This project is archived and is in readonly mode.

#5250 ✓stale
Raphael Costa

{:subclasses=>:descendants} is not a symbol

Reported by Raphael Costa | July 30th, 2010 @ 10:42 AM

I am getting this error, looks like it is a Rails bug.

    {:subclasses=>:descendants} is not a symbol
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/deprecated-2.0.1/lib/deprecated.rb:176:in `instance_method'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/deprecated-2.0.1/lib/deprecated.rb:176:in `deprecate'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/activerecord-3.0.0.rc/lib/active_record/base.rb:291
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/thinking-sphinx-2.0.0.rc1/lib/thinking_sphinx/railtie.rb:9
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/initializable.rb:25:in `instance_exec'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/initializable.rb:25:in `run'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/initializable.rb:50:in `run_initializers'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/initializable.rb:49:in `each'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/initializable.rb:49:in `run_initializers'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/application.rb:134:in `initialize!'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/application.rb:77:in `send'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/application.rb:77:in `method_missing'
    /Users/raphael/Ruby Projects/ngforms/config/environment.rb:5
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/application.rb:103:in `require'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/application.rb:103:in `require_environment!'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/railties-3.0.0.rc/lib/rails/application.rb:215:in `initialize_tasks'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:636:in `call'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:631:in `each'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
    /Users/raphael/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:604:in `each'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
    /Users/raphael/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/rake-0.8.7/bin/rake:31
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/bin/rake:19:in `load'
    /Users/raphael/.rvm/gems/ree-1.8.7-2010.02@rails3/bin/rake:19

Comments and changes to this ticket

  • Damien MATHIEU

    Damien MATHIEU July 30th, 2010 @ 11:14 AM

    You appear to be using the deprecated gem.
    However rails uses it's own deprecate internal methods. It's including this gem which breaks everything.

    You can find the deprecation folder and the tests

  • Raphael Costa

    Raphael Costa July 30th, 2010 @ 04:53 PM

    That is true!
    But deprecated gem is required by 'dbi' gem. Who need to fix that?DBI or Rails?

  • Raphael Costa

    Raphael Costa July 30th, 2010 @ 05:16 PM

    If this is a Deprecated gem problem, i cant understand why in Rails Beta4 works and in Rails3 RC dont work =/

  • Santiago Pastorino

    Santiago Pastorino February 2nd, 2011 @ 04:34 PM

    • State changed from “new” to “open”

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.

    Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.

  • Santiago Pastorino

    Santiago Pastorino February 2nd, 2011 @ 04:34 PM

    • State changed from “open” to “stale”
  • Raphael Costa

    Raphael Costa February 2nd, 2011 @ 05:11 PM

    Hi Santiago,

    The only gem that uses this deprecated gem as a dependency is dbi, i created a new version of dbi gem called dbi-rails, compatible with Rails 3 because dont need these deprecated classes.

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>

People watching this ticket

Pages