method

escape_bytea

rails latest stable - Class: ActiveRecord::ConnectionAdapters::PostgreSQL::Quoting
escape_bytea(value)
public

Escapes binary strings for bytea input to the database.