diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-16 08:15:58 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-16 08:15:58 -0800 |
commit | ac38fcae4997d4cf6480820542ac2a4a1801b014 (patch) | |
tree | 20933c8c2f3aafca0f064ab2dcb2121f715e7fbb /lib | |
parent | f0139a16c263ba62e7e45d462a4fff411ebf2523 (diff) | |
download | rails-ac38fcae4997d4cf6480820542ac2a4a1801b014.tar.gz rails-ac38fcae4997d4cf6480820542ac2a4a1801b014.tar.bz2 rails-ac38fcae4997d4cf6480820542ac2a4a1801b014.zip |
added a visitor for Class objects
Diffstat (limited to 'lib')
-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 f9d252f980..528c5f6ced 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -281,6 +281,7 @@ module Arel alias :visit_TrueClass :visit_String alias :visit_NilClass :visit_String alias :visit_ActiveSupport_StringInquirer :visit_String + alias :visit_Class :visit_String def quote value, column = nil @connection.quote value, column |