Convert IPAddr value to a string and append a literal version of the string to the sql.
# File lib/sequel/extensions/pg_inet.rb, line 101 def literal_other_append(sql, value) if value.is_a?(IPAddr) literal_string_append(sql, "#{value.to_s}/#{value.instance_variable_get(:@mask_addr).to_s(2).count('1')}") else super end end