Solution! `alias_method’: undefined method `initialize_schema_information’ for module `ActiveRecord::ConnectionAdapters::SchemaStatements’ (NameError)
I am writing an app that utilizes CommunityEngine. At first, Mongrel puked on the RAILS_GEM_VERSION=2.0.2, duh! I have Rails 2.1.0 installed. Make a quick changed and pow!
/activesupport/lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method': undefined method `initialize_schema_information' for module `ActiveRecord::ConnectionAdapters::SchemaStatements' (NameError)
I gotta love this…. So I googled it… I didn’t find much in the way of solutions other than that there has been some of reports of this error. Since CommunityEngine is based upon engines, I checked that right away, sure enough the version of Rails engine that I was running was out of date and didn’t support Rails 2.1.0. So I updated my engines plugin, restarted Mongrel and voila, it worked!