aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/rake_proxy.rb
Commit message (Collapse)AuthorAgeFilesLines
* refactor `CommandsTasks`yuuji.yaginuma2016-08-171-1/+1
| | | | | Extract a common method of `Rails::CommandsTasks` and `Rails::Engine::CommandsTasks` to the module.
* Defer requiring Rake until it's needed.Kasper Timm Hansen2016-08-071-1/+8
| | | | | | | | 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
* applies new string literal convention in railties/libXavier Noria2016-08-061-4/+4
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Merge branch 'rails-rake-proxy'Kasper Timm Hansen2015-12-131-21/+13
|
* Implement Rake proxy for Rails' command line interface.Dharam Gollapudi2015-12-131-0/+42
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.