aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2010-01-03 19:30:28 -0800
committerDavid Heinemeier Hansson <david@loudthinking.com>2010-01-03 19:30:28 -0800
commit1459c8cc1d6baca324bf2350d8f89f4faa054f18 (patch)
tree0b50bb958fc400773e41cfa3fea42624dfcb0cc8 /activerecord/lib/active_record
parent6042067c0b20602e72954450e9e8a19dfa8a9f7d (diff)
downloadrails-1459c8cc1d6baca324bf2350d8f89f4faa054f18.tar.gz
rails-1459c8cc1d6baca324bf2350d8f89f4faa054f18.tar.bz2
rails-1459c8cc1d6baca324bf2350d8f89f4faa054f18.zip
Changed ActiveRecord::Base.store_full_sti_class to be true by default reflecting the previously announced Rails 3 default [DHH]
Diffstat (limited to 'activerecord/lib/active_record')
-rwxr-xr-xactiverecord/lib/active_record/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 7cefba2b82..78b92be849 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -550,7 +550,7 @@ module ActiveRecord #:nodoc:
# Determine whether to store the full constant name including namespace when using STI
superclass_delegating_accessor :store_full_sti_class
- self.store_full_sti_class = false
+ self.store_full_sti_class = true
# Stores the default scope for the class
class_inheritable_accessor :default_scoping, :instance_writer => false