aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
diff options
context:
space:
mode:
authorclaudiob <claudiob@gmail.com>2016-02-20 09:56:35 -0800
committerclaudiob <claudiob@gmail.com>2016-02-20 10:01:55 -0800
commit1a5941e3cfb67056a9468d590f8ae03485f75ccc (patch)
treea018ded99f6afc44c2d113c2d29e602935ab0251 /railties/CHANGELOG.md
parente76891314126b10d5cf57aaf776dfa2a26553ec3 (diff)
downloadrails-1a5941e3cfb67056a9468d590f8ae03485f75ccc.tar.gz
rails-1a5941e3cfb67056a9468d590f8ae03485f75ccc.tar.bz2
rails-1a5941e3cfb67056a9468d590f8ae03485f75ccc.zip
AppGenerator: Replace 'rake' with 'rails_command'
Since Rails 5.0 is switching the Rails command line from 'rake …' to 'rails …', it makes sense to also replace the `rake` method in the Rails templates API. Based on feedback from @matthewd and @kaspth, I chose to replace `rake` with `rails_command`, which is less confusing than the alternatives `rails` or `command` or `rails_run` and is not Thor-reserved word like `task`.
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r--railties/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md
index a3be5356a1..782a53bf82 100644
--- a/railties/CHANGELOG.md
+++ b/railties/CHANGELOG.md
@@ -1,3 +1,8 @@
+* Alias `rake` with `rails_command` in the Rails Application Templates API
+ following Rails 5 convention of preferring "rails" to "rake" to run tasks.
+
+ *claudiob*
+
* Change fail fast of `bin/rails test` interrupts run on error.
*Yuji Yaginuma*