public
Description: SQLite 2 adapter for Rails 3
Homepage: http://www.rubyonrails.org
Clone URL: git://github.com/rails/sqlite2_adapter.git
lifo (author)
Mon Aug 17 06:52:06 -0700 2009
commit  2b2859caeb3e3f1486fea5be6087ca027edd4de2
tree    11af29ace3b47501a79ecb98117a28ebbfda242d
name age message
file MIT-LICENSE Mon Aug 17 06:52:06 -0700 2009 Initial extraction from ActiveRecord [lifo]
file README Mon Aug 17 06:52:06 -0700 2009 Initial extraction from ActiveRecord [lifo]
directory lib/ Mon Aug 17 06:52:06 -0700 2009 Initial extraction from ActiveRecord [lifo]
README
Rails 3 removes the deprecated SQLite 2 adapter. We strongly recommend that you upgrade to SQLite 3 or higher. However, 
if that's not possible due to the unexplainable reasons, then this plugin should do the job.

Install
=======

* Install the plugin :

    $ script/plugin install git://github.com/rails/sqlite2_adapter.git

* Load the database adapter from your environment.rb

    Rails::Initializer.run do |config|
      .....

      Rails::Initializer.default.add :initialize_sqlite2, :before => :initialize_database do
        require 'active_record/connection_adapters/sqlite2_adapter'
      end
    end

That's it.