Skip to content

Commit e3efad9

Browse files
committed
Fix documentation for DatabaseConfigurations::HashConfig#initialize
1 parent fac3f20 commit e3efad9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

activerecord/lib/active_record/database_configurations/hash_config.rb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,16 @@ class DatabaseConfigurations
2020
class HashConfig < DatabaseConfig
2121
attr_reader :configuration_hash
2222

23-
2423
# Initialize a new +HashConfig+ object
2524
#
26-
# ==== Options
25+
# ==== Parameters
2726
#
28-
# * <tt>:env_name</tt> - The \Rails environment, i.e. "development".
29-
# * <tt>:name</tt> - The db config name. In a standard two-tier
27+
# * <tt>env_name</tt> - The \Rails environment, i.e. "development".
28+
# * <tt>name</tt> - The db config name. In a standard two-tier
3029
# database configuration this will default to "primary". In a multiple
3130
# database three-tier database configuration this corresponds to the name
3231
# used in the second tier, for example "primary_readonly".
33-
# * <tt>:config</tt> - The config hash. This is the hash that contains the
32+
# * <tt>configuration_hash</tt> - The config hash. This is the hash that contains the
3433
# database adapter, name, and other important information for database
3534
# connections.
3635
def initialize(env_name, name, configuration_hash)

0 commit comments

Comments
 (0)