I have created a Rails 3 project with mentioned option. Can I somehow “revert” this option and have active record back as in default, or must I create a new project?
EDIT
Ok, to have ActiveRecord support back I had to:
- Delete separate require calls in
application.rband replace it withrequire 'rails/all'(or just uncomment# require "active_record/railtie") - Uncomment
# gem 'sqlite3-ruby', :require => 'sqlite3'line in Gemfile (for sqlite) - Create database.yml file and fill it with options
- invoke
rake db:createtask
After that it seems that I can continue to work with AR as usual.
Make a new project with ActiveRecord, and then pairwise diff
config/application.rbandconfig/environments/*.rbto determine if there are any default settings you should add back to your project.