aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/extensions
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-16 17:38:15 -0700
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-16 17:38:15 -0700
commit732b222126bd6b37925a4fcdcda832de65858122 (patch)
tree2cc78e4983f36dd2fe368558ca23bb80ecce80fd /lib/arel/extensions
parentb06d351b701906efab737894be674c66561ec524 (diff)
downloadrails-732b222126bd6b37925a4fcdcda832de65858122.tar.gz
rails-732b222126bd6b37925a4fcdcda832de65858122.tar.bz2
rails-732b222126bd6b37925a4fcdcda832de65858122.zip
fixed string escaping issue
Diffstat (limited to 'lib/arel/extensions')
-rw-r--r--lib/arel/extensions/object.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/extensions/object.rb b/lib/arel/extensions/object.rb
index 69ec6a5dce..0382ca8027 100644
--- a/lib/arel/extensions/object.rb
+++ b/lib/arel/extensions/object.rb
@@ -3,7 +3,7 @@ class Object
Arel::Value.new(self, relation)
end
- def to_sql(formatter = nil)
+ def to_sql(formatter)
formatter.scalar self
end