Re: Run rake tasks from the controller

K. R.
Mon, 09 Feb 2009 20:53:03 -0000

Why do you run rake tasks in the controller? controllers are not really
good to execute rake tasks. move it into the model and call it from the
controller.




Elias Orozco wrote:
> Hello,
>
> How can I run rake tasks from the controller and send extra params to
> it too? Thanks,
>
> El�as

--
Posted via http://www.ruby-forum.com/.