aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-03-28 13:26:13 +0200
committerXavier Noria <fxn@hashref.com>2010-03-28 13:26:13 +0200
commit105f9b8154bbee88b45e0bb9de949206cbc1ba02 (patch)
tree7be169d344be7e55a183b272e31bef8083b6464c /activerecord/lib
parent3b1c69d2dd2b24a29e4443d7dc481589320a3f3e (diff)
downloadrails-105f9b8154bbee88b45e0bb9de949206cbc1ba02.tar.gz
rails-105f9b8154bbee88b45e0bb9de949206cbc1ba02.tar.bz2
rails-105f9b8154bbee88b45e0bb9de949206cbc1ba02.zip
adds missing requires for Object#duplicable?
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-xactiverecord/lib/active_record/base.rb1
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb2
2 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 367b4ce217..02db241ee0 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -13,6 +13,7 @@ require 'active_support/core_ext/hash/slice'
require 'active_support/core_ext/string/behavior'
require 'active_support/core_ext/object/singleton_class'
require 'active_support/core_ext/module/delegation'
+require 'active_support/core_ext/object/duplicable'
require 'arel'
require 'active_record/errors'
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb b/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb
index 020acbbe5a..1e095110f2 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/object/duplicable'
+
module ActiveRecord
module ConnectionAdapters # :nodoc:
module QueryCache