[Rails] Database Adapters Not Found

Jeremy Kemper jeremy at bitsweat.net
Thu Nov 11 17:08:32 GMT 2004


Curt Sampson wrote:
> The adapter_method is "postgresql_connection", which seems right since
> I set the config/database.yml to use postgresql. self of course is
> ActiveRecord::Base, which doesn't have this method. What's gone wrong?

The PostgreSQL and SQLite adapters require their respective Ruby 
bindings.  The MySQL adapter works out-of-the-box since pure-Ruby 
bindings are included.  RubyGems are not required, though the AR 1.0.0 
SQLite adapter had an errant dependency that has been fixed in CVS (and 
the beta gems.)

Best,
jeremy


More information about the Rails mailing list