aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_relation/extensions
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-01-10 21:33:35 -0800
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-01-10 21:33:35 -0800
commit45b6111c2961e018df87fe2230caf1d5a14f2aee (patch)
tree205d91c84a63d71774488c40fbe3f3183d877ef5 /lib/active_relation/extensions
parent5f03d1616cc6f66013fbaae9c92553df74a7aee4 (diff)
downloadrails-45b6111c2961e018df87fe2230caf1d5a14f2aee.tar.gz
rails-45b6111c2961e018df87fe2230caf1d5a14f2aee.tar.bz2
rails-45b6111c2961e018df87fe2230caf1d5a14f2aee.zip
namespacing
Diffstat (limited to 'lib/active_relation/extensions')
-rw-r--r--lib/active_relation/extensions/base.rb2
-rw-r--r--lib/active_relation/extensions/object.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/active_relation/extensions/base.rb b/lib/active_relation/extensions/base.rb
index 0dbdef703f..53523e9d12 100644
--- a/lib/active_relation/extensions/base.rb
+++ b/lib/active_relation/extensions/base.rb
@@ -5,7 +5,7 @@ class ActiveRecord::Base
end
def relation
- @relation ||= TableRelation.new(table_name)
+ @relation ||= ActiveRelation::Relations::Table.new(table_name)
end
end
diff --git a/lib/active_relation/extensions/object.rb b/lib/active_relation/extensions/object.rb
index 79d7613d9a..ea582d1ca1 100644
--- a/lib/active_relation/extensions/object.rb
+++ b/lib/active_relation/extensions/object.rb
@@ -1,5 +1,5 @@
class Object
- include SqlBuilder
+ include ActiveRelation::SqlBuilder
def qualify
self