diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-17 17:38:53 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-17 17:38:53 -0700 |
commit | 25e93e817eb9d2a038e556aa5a3a16c2beb94dd2 (patch) | |
tree | 217472535afcdbe0d1752c9f2b1cb1b2b3f87080 | |
parent | 6b8a382a75d1425ecf978f1e0fe9a636d55c8cc0 (diff) | |
download | rails-25e93e817eb9d2a038e556aa5a3a16c2beb94dd2.tar.gz rails-25e93e817eb9d2a038e556aa5a3a16c2beb94dd2.tar.bz2 rails-25e93e817eb9d2a038e556aa5a3a16c2beb94dd2.zip |
remove if defined?
-rw-r--r-- | lib/arel/visitors/to_sql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb index e8b63a1533..d3da65b425 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -213,7 +213,7 @@ module Arel def visit_TrueClass o; quote(o) end def visit_String o; quote(o) end def visit_Hash o; quote(o) end - def visit_ActiveSupport_Multibyte_Chars o; quote(o) end if defined?(ActiveSupport) + def visit_ActiveSupport_Multibyte_Chars o; quote(o) end def visit_Symbol o; quote(o) end def visit_Time o; quote(o) end def visit_Date o; quote(o) end |