method
serialize
v5.1.7 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::MysqlString
serialize(value)public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb, line 936
def serialize(value)
case value
when true then MySQL::Quoting::QUOTED_TRUE
when false then MySQL::Quoting::QUOTED_FALSE
else super
end
end