1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

rake initializer -> rake initializers

Also edited the copy to be more consistent with `rake routes`.

See #19323.
This commit is contained in:
Godfrey Chan 2015-03-20 15:51:01 -07:00
parent 37e002ba96
commit 9e80c29cd5
3 changed files with 7 additions and 6 deletions

View file

@ -5,14 +5,15 @@
*arthurnn*
* Add `rake initializer`
* Add `rake initializers`
This task prints out initializers for an application. It is useful to
develop a rubygem which involves the initialization process.
This task prints out all defined initializers in the order they are invoked
by Rails. This is helpful for debugging issues related to the initialization
process.
*Naoto Kaneko*
* Created rake restart task. Restarts your Rails app by touching the
* Created rake restart task. Restarts your Rails app by touching the
`tmp/restart.txt`.
Fixes #18876.

View file

@ -4,7 +4,7 @@ require 'rake'
%w(
annotations
framework
initializer
initializers
log
middleware
misc

View file

@ -1,4 +1,4 @@
desc "Prints out initializers for your application"
desc "Print out all defined initializers in the order they are invoked by Rails."
task initializer: :environment do
Rails.application.initializers.tsort_each do |initializer|
puts initializer.name