From 310afd6b43938ef6c0e316326a9eb32ec365d51e Mon Sep 17 00:00:00 2001 From: Sharang Dashputre Date: Sat, 1 Sep 2018 19:29:24 -0400 Subject: [ci skip] Change some comments to conform to the style used in other comments --- activerecord/lib/active_record/database_configurations.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'activerecord/lib/active_record/database_configurations.rb') diff --git a/activerecord/lib/active_record/database_configurations.rb b/activerecord/lib/active_record/database_configurations.rb index 2ec69e682a..64dd972a47 100644 --- a/activerecord/lib/active_record/database_configurations.rb +++ b/activerecord/lib/active_record/database_configurations.rb @@ -26,12 +26,12 @@ module ActiveRecord # # env_name: The environment name. Defaults to nil which will collect # configs for all environments. - # spec_name: The specification name (ie primary, animals, etc). Defailts - # to nil. + # spec_name: The specification name (ie primary, animals, etc.). Defaults + # to +nil+. # include_replicas: Determines whether to include replicas in the # the returned list. Most of the time we're only iterating over the write - # connection (ie migrations don't need to run for the write and read connection). - # Defaults to false. + # connection (i.e. migrations don't need to run for the write and read connection). + # Defaults to +false+. def configs_for(env_name: nil, spec_name: nil, include_replicas: false, &blk) configs = env_with_configs(env_name) -- cgit v1.2.3