aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/engines
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/engines')
-rw-r--r--lib/arel/engines/sql/primitives.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/arel/engines/sql/primitives.rb b/lib/arel/engines/sql/primitives.rb
index bb3bed78e6..a08ca11c12 100644
--- a/lib/arel/engines/sql/primitives.rb
+++ b/lib/arel/engines/sql/primitives.rb
@@ -3,10 +3,12 @@ module Arel
def relation
nil
end
-
+
def to_sql(formatter = nil)
self
end
+
+ include Attribute::Expressions
end
class Attribute