Permalink
Browse files

support stringinquirer string

  • Loading branch information...
1 parent a0c206b commit 2bf0b217545527b5eb85a11e297d0ff2dfc676e3 @tenderlove tenderlove committed Nov 11, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/arel/visitors/to_sql.rb
@@ -280,6 +280,7 @@ def visit_String o; quote(o, @last_column) end
alias :visit_Time :visit_String
alias :visit_TrueClass :visit_String
alias :visit_NilClass :visit_String
+ alias :visit_ActiveSupport_StringInquirer :visit_String
def quote value, column = nil
@connection.quote value, column

0 comments on commit 2bf0b21

Please sign in to comment.