My understanding is that one is a full url, the other is a path. Generally you'd use a path, but if you are sending an email or doing something else that needs a full URL, you'd use the _url.
Best Wishes, Peter On Feb 15, 2011, at 4:05 PM, Rodrigo Alves Vieira wrote: > Hello everyone, what's the real difference between root_url and root_path in > Rails, for example. Apparently both lead to the same route in the application. > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

