diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-09-11 11:13:04 +0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-11 13:18:20 +0800 |
commit | 8ce904933db3ec9884194f07881581ec0cc8281e (patch) | |
tree | 415b412b92647342695d3a795f6df98f5a88c1cd /lib/arel | |
parent | b9402889ff4cc6fc18ad0d035fecc8e36f320f90 (diff) | |
download | rails-8ce904933db3ec9884194f07881581ec0cc8281e.tar.gz rails-8ce904933db3ec9884194f07881581ec0cc8281e.tar.bz2 rails-8ce904933db3ec9884194f07881581ec0cc8281e.zip |
Visit ActiveSupport Multibyte Chars if ActiveSupport is defined.
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/visitors/to_sql.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb index 66e997a986..599a25836a 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -194,6 +194,7 @@ module Arel def visit_TrueClass o; quote(o) end def visit_String o; quote(o) end + def visit_ActiveSupport_Multibyte_Chars o; quote(o) end if defined?(ActiveSupport) def visit_Symbol o; quote(o) end def visit_Time o; quote(o) end def visit_Date o; quote(o) end |