diff options
author | Carl Lerche <carllerche@mac.com> | 2010-01-28 10:45:25 -0800 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-01-28 10:45:25 -0800 |
commit | f15bbcf97ee09d431e3ad347beb3fd31a411dda2 (patch) | |
tree | 99fb184b4fb317511ea032f35de1f5a7965b03a2 /activerecord/lib | |
parent | e7418ab63cc4aa024367851f2f692032840cfe76 (diff) | |
download | rails-f15bbcf97ee09d431e3ad347beb3fd31a411dda2.tar.gz rails-f15bbcf97ee09d431e3ad347beb3fd31a411dda2.tar.bz2 rails-f15bbcf97ee09d431e3ad347beb3fd31a411dda2.zip |
Move the ActiveRecord generator settings into the Railtie
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/railtie.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/railtie.rb b/activerecord/lib/active_record/railtie.rb index 5e4ce34934..dc80ac4b30 100644 --- a/activerecord/lib/active_record/railtie.rb +++ b/activerecord/lib/active_record/railtie.rb @@ -10,6 +10,9 @@ module ActiveRecord class Railtie < Rails::Railtie railtie_name :active_record + config.generators.orm :active_record, :migration => true, + :timestamps => true + rake_tasks do load "active_record/railties/databases.rake" end |