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?
Thanks
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?
Thanks
On Wednesday 19 November 2008 15:53:00 Ashit V. 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
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs