aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2011-10-13 16:23:48 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2011-10-13 16:24:22 -0500
commit85b64f98d100d37b3a232c315daa10fad37dccdc (patch)
treee1f4b621240502e7cb9b5530495840c2e8315c52 /activerecord/lib/active_record/base.rb
parent8f11d53506ea7ef2fd4cd28581f5eedd9be9e570 (diff)
downloadrails-85b64f98d100d37b3a232c315daa10fad37dccdc.tar.gz
rails-85b64f98d100d37b3a232c315daa10fad37dccdc.tar.bz2
rails-85b64f98d100d37b3a232c315daa10fad37dccdc.zip
Added ActiveRecord::Base.store for declaring simple single-column key/value stores [DHH]
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
-rw-r--r--activerecord/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 78159d13d4..6dae90266e 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -2145,7 +2145,7 @@ MSG
# AutosaveAssociation needs to be included before Transactions, because we want
# #save_with_autosave_associations to be wrapped inside a transaction.
include AutosaveAssociation, NestedAttributes
- include Aggregations, Transactions, Reflection, Serialization
+ include Aggregations, Transactions, Reflection, Serialization, Store
NilClass.add_whiner(self) if NilClass.respond_to?(:add_whiner)