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

5 commits

Author SHA1 Message Date
yuuji.yaginuma
6e95682b14 refactor CommandsTasks
Extract a common method of `Rails::CommandsTasks` and
`Rails::Engine::CommandsTasks` to the module.
2016-08-17 11:36:39 +09:00
Kasper Timm Hansen
ff8035dfee Defer requiring Rake until it's needed.
Eagerly requiring Rake could put 100ms on to the Rails boot time. Shimmy that
down to 0 by requiring Rake when no native Rails command exists and we try to
run a Rake task. Or when printing all the Rake commands through `rails help`.

Fixes #25029
2016-08-07 17:09:29 +02:00
Xavier Noria
69ab3eb57e applies new string literal convention in railties/lib
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 19:15:47 +02:00
Kasper Timm Hansen
3e65c3d388 Merge branch 'rails-rake-proxy' 2015-12-13 21:44:03 +01:00
Dharam Gollapudi
52f2f9810e Implement Rake proxy for Rails' command line interface.
Allows any Rake task to be run through `bin/rails` such as `bin/rails db:migrate`,
`bin/rails notes` etc.

The Rake tasks are appended to Rails' help output, and blend in as standard commands.
2015-12-13 20:59:41 +01:00