This project is archived and is in readonly mode.
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
method
constantize' 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
-
Santiago Pastorino June 7th, 2010 @ 08:16 AM
- Milestone cleared.
- State changed from new to verified
- Assigned user set to José Valim
Yeah i've patched AMo but missed this one
-
José Valim June 7th, 2010 @ 09:30 AM
- State changed from verified to committed
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to Low
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>