aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/database_configurations.rb
diff options
context:
space:
mode:
authorSharang Dashputre <sharang.d@gmail.com>2018-09-01 19:29:24 -0400
committerSharang Dashputre <sharang.d@gmail.com>2018-09-01 19:32:46 -0400
commit310afd6b43938ef6c0e316326a9eb32ec365d51e (patch)
treeacc95c227b67e20098550884192d73bba7192ede /activerecord/lib/active_record/database_configurations.rb
parentd8ac08f6bf545c025d7540fb680f41233bcca566 (diff)
downloadrails-310afd6b43938ef6c0e316326a9eb32ec365d51e.tar.gz
rails-310afd6b43938ef6c0e316326a9eb32ec365d51e.tar.bz2
rails-310afd6b43938ef6c0e316326a9eb32ec365d51e.zip
[ci skip] Change some comments to conform to the style used in other comments
Diffstat (limited to 'activerecord/lib/active_record/database_configurations.rb')
-rw-r--r--activerecord/lib/active_record/database_configurations.rb8
1 files changed, 4 insertions, 4 deletions
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
#
# <tt>env_name:</tt> The environment name. Defaults to nil which will collect
# configs for all environments.
- # <tt>spec_name:</tt> The specification name (ie primary, animals, etc). Defailts
- # to nil.
+ # <tt>spec_name:</tt> The specification name (ie primary, animals, etc.). Defaults
+ # to +nil+.
# <tt>include_replicas:</tt> 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)