search for: resource_url

Displaying 2 results from an estimated 2 matches for "resource_url".

2009 Sep 21
1
Keeping format in link_to
Hello, if a action/id.something is called with the link_to urls don''t keep the format ? I mean the link_to calls inside the view don''t maintain the .something and generate unformatted links How can I do to keep the format ? -- Posted via http://www.ruby-forum.com/.
2007 Mar 14
11
path vs. url
When using named RESTful routes, when should one use the generated ..._path helpers, and when the ..._url helpers? Say I did this in routes.rb: map.resources :users Where should I use users_path, new_user_path, etc., and where should I use users_url, new_user_url...? Thanks! Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to