method
cast_value
rails latest stable - Class:
ActiveRecord::ConnectionAdapters::MysqlString
cast_value(value)private
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb, line 874
def cast_value(value)
case value
when true then "1"
when false then "0"
else super
end
end