lib/arel/extensions/trim.rb in arel_toolkit-0.3.0 vs lib/arel/extensions/trim.rb in arel_toolkit-0.4.0

- old
+ new

@@ -27,9 +27,17 @@ end visit o.string, collector collector << ')' end end + + class Dot + def visit_Arel_Nodes_Trim(o) + visit_edge o, 'type' + visit_edge o, 'substring' + visit_edge o, 'string' + end + end end end # rubocop:enable Naming/MethodName # rubocop:enable Naming/UncommunicativeMethodParamName