development issues
for things that aren't quite a bug, but not really feature request either. notes for developers.
superclass mismatch error (was: rails version):
we need a recent checkout of rails for the activeresource / restful rails stuff that we want to use with rubyom, and soon wagn too. (there was also a feature I wanted for the test data task, but not important)
unfortunately, the latest checkout of rails, although it runs, throws errors when trying to test: superclass mismatch for class PostgreSQLAdapter
I've tried taking out some of our overrides for those classes, but can't seem to get any love.
Update (12/17/07):
This error is raised because lib/rails_ext/quoting_and_matching.rb is required before the activerecord connection_adapter, therefore 'class PostgreSQLAdapter' is called before 'class PostgreSQLAdapter < AbstractAdapter'. Note: this error is raised for any connection_adapter. The connection adapters are required in activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb, which is required by abstract_adapter.rb, which is required by activerecord/lib/active_record.rb. Of course, the results of rake --trace do not make this clear.
Unfortunately, this knowledge has not helped me to solve the problem. Any ideas?
superclass mismatch error (was: rails version):
we need a recent checkout of rails for the activeresource / restful rails stuff that we want to use with rubyom, and soon wagn too. (there was also a feature I wanted for the test data task, but not important)
unfortunately, the latest checkout of rails, although it runs, throws errors when trying to test: superclass mismatch for class PostgreSQLAdapter
I've tried taking out some of our overrides for those classes, but can't seem to get any love.
Update (12/17/07):
This error is raised because lib/rails_ext/quoting_and_matching.rb is required before the activerecord connection_adapter, therefore 'class PostgreSQLAdapter' is called before 'class PostgreSQLAdapter < AbstractAdapter'. Note: this error is raised for any connection_adapter. The connection adapters are required in activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb, which is required by abstract_adapter.rb, which is required by activerecord/lib/active_record.rb. Of course, the results of rake --trace do not make this clear.
Unfortunately, this knowledge has not helped me to solve the problem. Any ideas?