What is the difference between _url and _path while using the routes in rails

Posted by sana on Stack Overflow See other posts from Stack Overflow or by sana
Published on 2010-02-28T08:44:39Z Indexed on 2010/04/05 5:33 UTC
Read the original article Hit count: 316

Filed under:
|

When we define routes in routes.rb using the name like map.some_link we can use the link in two ways- some_link_url() some_link_path. What are the differences between the two? Which is more secure to be used?

© Stack Overflow or respective owner

Related posts about rails

Related posts about routes