Lightning fast rake (in rails console)
Created method 'rake' in rails console so that you can rake your rake like rake 'routes' without loading env every time your run rake task
Add this line to your application's Gemfile:
gem 'irake'
And then execute:
$ bundle
Or install it yourself as:
$ gem install irake
$ rails console
then
rake 'db:migrate'
rake 'db:rollback'
rake 'routes'
# etc
Pass Arguments
rake "emails:send_samples", "[email protected]"
#=> rake emails:send_samples["[email protected]"]
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright (c) 2012 divineforest, Evrone.com