On Wednesday 19 November 2008 15:53:00 Ashit Vora wrote:> Hi,
> ''m new RoR.
> I was just going thru one book.
> I was confused between Controllername_Path() and
Controllername_Url()> in RESTful Rails apps.
>
> Can anyone tell me the clear difference?
>
AFAIK, ControllerName_Url gives you something like
http://domain.tld/ControllerName, while ControllerName_Path
gives you something like
${RAILS_ROOT}/app/controllers/controllername_controller.rb
HTH,
--
Davi Vidal
--
E-mail: davividal arroba siscompar ponto com ponto br
MSN : davividal arroba msn ponto com
GTalk : davividal arroba gmail ponto com
Skype : davividal
YIM : davi_vidal
ICQ : 138815296
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---