This method is deprecated or moved on the latest stable version.
The last existing version (v3.0.9) is shown here.
value_to_boolean(value)
public
convert something to a boolean
# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 150
def value_to_boolean(value)
if value.is_a?(String) && value.blank?
nil
else
TRUE_VALUES.include?(value)
end
end