vendredi 15 mai 2015

Calling a route from a rake task

I want to call a particular route from a rake task how will I achive this . Example- i have a route /order/:id/show . I want to call that route from a rake task and I also want to pass :id in that process so that according function in the controller gets called .Is it possible in rails ??

Aucun commentaire:

Enregistrer un commentaire