Models should not deal with things like paths, redirects, or any other things. These things are pure constructions of a view or controller.
The model really should be just that; model of what you are creating. He should fully describe this thing, allow you to find copies of it, make changes to it, perform checks on it ... But this model would not have a clue about which path should be used for anything, even for yourself.
Usually in the Rails world it is said that if it is difficult for you to do something (for example, to call the path helper from the model), you are doing it wrong. This means that even if something is possible, if it is difficult to do in Rails, it is probably not the best way to do it.
David hoelzer
source share