Method: ActiveRecord::ConnectionAdapters::PostgreSQL::Quoting#escape_bytea
- Defined in:
- activerecord/lib/active_record/connection_adapters/postgresql/quoting.rb
#escape_bytea(value) ⇒ Object
Escapes binary strings for bytea input to the database.
70 71 72 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql/quoting.rb', line 70 def escape_bytea(value) valid_raw_connection.escape_bytea(value) if value end |