aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/alias_predication.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/alias_predication.rb')
-rw-r--r--lib/arel/alias_predication.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/alias_predication.rb b/lib/arel/alias_predication.rb
index 3f3db7671e..f42e9ee1a6 100644
--- a/lib/arel/alias_predication.rb
+++ b/lib/arel/alias_predication.rb
@@ -1,7 +1,7 @@
module Arel
module AliasPredication
def as other
- Nodes::As.new self, Nodes::SqlLiteral.new(other.to_s)
+ Nodes::As.new self, Nodes::SqlLiteral.new(other)
end
end
end \ No newline at end of file