method
to_boolean!
v8.0.0 -
Show latest stable
- Class:
ActiveRecord::DatabaseConfigurations::UrlConfig
to_boolean!(configuration_hash, key)private
No documentation available.
# File activerecord/lib/active_record/database_configurations/url_config.rb, line 61
def to_boolean!(configuration_hash, key)
if configuration_hash[key].is_a?(String)
configuration_hash[key] = configuration_hash[key] != "false"
end
end