Hi Kevin,
 Definitely use the helper, it's why we have it.  As far as the more
general "why are the paths different" question, in the index your URL
would be http://mysite/controller_name and in the show it would be
http://mysite/controller_name/1 if your being RESTful and
http://mysite/controller_name/ and
http://mysite/controller_name/show/1 if your not.  You'll notice the 1
on the end of the show, which makes the relative path one ../ deeper.

Speaking of paths, I find it odd that RAILS_ROOT is such a confused
path.  Does anyone know why that is?  I usually end up calling
File.expand_path(RAILS_ROOT + "/some/path") whenever I need to really
get somewhere.

Rob Kaufman

On 2/21/07, Rob Kaufman <[EMAIL PROTECTED]> wrote:
On 2/21/07, Patrick Crowley <[EMAIL PROTECTED]> wrote:
> Yeah... quotes are good. :)
>
> I wish TextMate's syntax coloring worked in my email client.
>
> -- Patrick
I hear you on that one

Rob

_______________________________________________
Sdruby mailing list
[email protected]
http://lists.sdruby.com/mailman/listinfo/sdruby

Reply via email to