[Rails] "./blah/blah" vs. "/blah/blah"

Surendra Singhi efuzzyone at netscape.net
Mon Mar 13 19:38:53 GMT 2006


Hello, 
  Earlier in my rails application, I was using the convention of writing the
following to refer to templates and/or views in the view folder.
"./blah/blah"

But in the Edge rail, it doesn't work and the page doesn't shows any output
there is no error in the development log as well. But changing the above to
"/blah/blah" seems to fix things.

Was I wrong in using the earlier convention or is something else amiss?

Thanks.

-- 

Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at: http://cuttingtheredtape.blogspot.com/
,----
| "All animals are equal, but some animals are more equal than others."
|     -- Orwell, Animal Farm, 1945
`----




More information about the Rails mailing list