From 99d2d356ee002776b341b5e6c5ecd926e5f72729 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Tue, 7 Jan 2020 13:12:05 -0300 Subject: [PATCH] Fix railties changelog indent / code blocks [ci skip] --- railties/CHANGELOG.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index eed098a317..e4850ad915 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -1,10 +1,10 @@ -* Generators that inherit from NamedBase respect `--force` option +* Generators that inherit from NamedBase respect `--force` option - *Josh Brody* + *Josh Brody* * Allow configuration of eager_load behaviour for rake environment: - `config.rake_eager_load` + config.rake_eager_load Defaults to `false` as per previous behaviour. @@ -13,7 +13,8 @@ * Ensure Rails migration generator respects system-wide primary key config When rails is configured to use a specific primary key type: - ``` + + ```ruby config.generators do |g| g.orm :active_record, primary_key_type: :uuid end @@ -21,20 +22,22 @@ Previously: + ``` $ bin/rails g migration add_location_to_users location:references + ``` The references line in the migration would not have `type: :uuid`. This change causes the type to be applied appropriately. *Louis-Michel Couture* *Dermot Haughey* -* Deprecate `Rails::DBConsole#config` +* Deprecate `Rails::DBConsole#config` - `Rails::DBConsole#config` is deprecated without replacement. Use `Rails::DBConsole.db_config.configuration_hash` instead. + `Rails::DBConsole#config` is deprecated without replacement. Use `Rails::DBConsole.db_config.configuration_hash` instead. *Eileen M. Uchitelle*, *John Crepezzi* -* `Rails.application.config_for` merges shared configuration deeply. +* `Rails.application.config_for` merges shared configuration deeply. ```yaml # config/example.yml