aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2010-10-28 18:00:52 +0200
committerPiotr Sarnacki <drogus@gmail.com>2010-11-02 17:14:52 +0100
commitcfbe5958311f21397c98657c3370d03dcf720fe1 (patch)
tree46d125f939518cc8fdd1788acf3a5f043602fdb6 /activerecord
parent9e86767bb88f45db0f9aef42b1bea1177cba8e53 (diff)
downloadrails-cfbe5958311f21397c98657c3370d03dcf720fe1.tar.gz
rails-cfbe5958311f21397c98657c3370d03dcf720fe1.tar.bz2
rails-cfbe5958311f21397c98657c3370d03dcf720fe1.zip
Use application's generators defaults as engine defaults to not force users to manually set it
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/railtie.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/railtie.rb b/activerecord/lib/active_record/railtie.rb
index 868fd6c3ff..dfe255ad7c 100644
--- a/activerecord/lib/active_record/railtie.rb
+++ b/activerecord/lib/active_record/railtie.rb
@@ -14,7 +14,7 @@ module ActiveRecord
config.active_record = ActiveSupport::OrderedOptions.new
config.app_generators.orm :active_record, :migration => true,
- :timestamps => true
+ :timestamps => true
config.app_middleware.insert_after "::ActionDispatch::Callbacks",
"ActiveRecord::QueryCache"