Named routes on rake tasks
To be able to use named routes ( modelName_path, edit_modelName_path, etc ) on a rake task, you have to include ActionController::UrlWriter.
About
I'm Diego Fernández and I work as a web developer at Simplelogica instead of design games sitting on my sailboat.Stuff
To be able to use named routes ( modelName_path, edit_modelName_path, etc ) on a rake task, you have to include ActionController::UrlWriter.