aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-01-28 10:45:25 -0800
committerCarl Lerche <carllerche@mac.com>2010-01-28 10:45:25 -0800
commitf15bbcf97ee09d431e3ad347beb3fd31a411dda2 (patch)
tree99fb184b4fb317511ea032f35de1f5a7965b03a2 /activerecord
parente7418ab63cc4aa024367851f2f692032840cfe76 (diff)
downloadrails-f15bbcf97ee09d431e3ad347beb3fd31a411dda2.tar.gz
rails-f15bbcf97ee09d431e3ad347beb3fd31a411dda2.tar.bz2
rails-f15bbcf97ee09d431e3ad347beb3fd31a411dda2.zip
Move the ActiveRecord generator settings into the Railtie
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/railtie.rb3
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