To have AR support back after creating project with --skip-active-record option in rails 3 -
i have created rails 3 project mentioned option. can somehow "revert" option , have active record in default, or must create new project?
edit
ok, have activerecord support had to:
- delete separate require calls in
application.rb
, replacerequire 'rails/all'
(or uncomment# require "active_record/railtie"
) - uncomment
# gem 'sqlite3-ruby', :require => 'sqlite3'
line in gemfile (for sqlite) - create database.yml file , fill options
- invoke
rake db:create
task
after seems can continue work ar usual.
make new project activerecord, , pairwise diff config/application.rb
, config/environments/*.rb
determine if there default settings should add project.
Comments
Post a Comment