method

to_boolean!

rails latest stable - Class: ActiveRecord::DatabaseConfigurations::UrlConfig

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

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