instance method
environment_url_config
Ruby on Rails 6.0.6
Since v6.0.6 PrivateSignature
environment_url_config(env, spec_name, config)
No documentation comment.
Parameters
-
envreq -
spec_namereq -
configreq
Source
# File activerecord/lib/active_record/database_configurations.rb, line 187
def environment_url_config(env, spec_name, config)
url = environment_value_for(spec_name)
return unless url
ActiveRecord::DatabaseConfigurations::UrlConfig.new(env, spec_name, url, config)
end
Defined in activerecord/lib/active_record/database_configurations.rb line 187
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::DatabaseConfigurations