module ActiveRecord module ConnectionAdapters # :nodoc: module Quoting def quote_with_enum(value, column = nil) if value.is_a?(Symbol) quote_without_enum(value.to_s, column) else quote_without_enum(value, column) end end alias_method_chain :quote, :enum end end end