method
serialize
v5.0.0.1 -
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 953
def serialize(value)
case value
when true then MySQL::Quoting::QUOTED_TRUE
when false then MySQL::Quoting::QUOTED_FALSE
else super
end
end