what is the difference between new_article_path vs. new_article_url?

hi all,

i've recently begun using RESTful routing techniques in my RoR app.
as i'm using it, though, i find that i use the _path and the _url
methods interchangebly. what's the difference between these types of
methods? thanks!

_path will use the relative path notation, while _url will give you the full url. I believe it’s best practise to only use _url for redirects.

Best regards

Peter De Berdt