This project is archived and is in readonly mode.

#4782 ✓committed
Tom Meier

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

Reported by Tom Meier | June 7th, 2010 @ 05:25 AM | in 3.0.2

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'

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>

Attachments

Pages