aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/extensions')
-rw-r--r--lib/arel/extensions/object.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/extensions/object.rb b/lib/arel/extensions/object.rb
index 0382ca8027..9b66fcac4e 100644
--- a/lib/arel/extensions/object.rb
+++ b/lib/arel/extensions/object.rb
@@ -3,6 +3,10 @@ class Object
Arel::Value.new(self, relation)
end
+ def circle(relation)
+ bind(relation)
+ end
+
def to_sql(formatter)
formatter.scalar self
end