Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Errors in ActiveRecord test suite edge - Rails 3.0.0.beta3 missing constantize on associations

#4782

Hi,

Trying to run test suite on edge right now fails because 'constantize' is not found from active support. Occurs when testing MySQL/Postgres in either 'rake test' or 'rake test_mysql' or 'rake test_postgresql'

Error received:

Using native PostgreSQL
/Development/Projects/rails/activerecord/lib/active_record/associations.rb:1722:in create_extension_modules': undefined methodconstantize' for Object::DeveloperProjectsAssociationExtension (NoMethodError)

Errors running test_mysql, test_sqlite3, test_postgresql

assocations.rb doesn't have a reference (requires) for 'active_support/core_ext/string/conversions' where constantize is located.

Fix is attached to simply add a :

require 'active_support/core_ext/string/conversions'

Reported by Tom Meier · June 7th, 2010 @ 05:25 AM

State: committed
Milestone: 3.0.2
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. Santiago Pastorino
    Santiago Pastorino
    • Milestone cleared.
    • State changed from new to verified
    • Assigned user set to José Valim

    Yeah i've patched AMo but missed this one

    June 7th, 2010 @ 08:16 AM

  2. José Valim
    José Valim
    • State changed from verified to committed

    June 7th, 2010 @ 09:30 AM

  3. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to Low

    October 15th, 2010 @ 11:01 PM