[Rails] Pathname folding?

Bob Sidebotham bob.sidebotham at gmail.com
Sun Dec 5 01:12:28 GMT 2004


I was trying out the (well done, BTW) "todo" tutorial at
http://darkhost.mine.nu:8080/~vince/rails/tutorial.html, and at the
point where you're supposed to get a "Missing template" error, with
the pathname "todo/index", I get:

Missing template
/home/bob/rails/todo/public/../config/environments/../../app/views//todo/index.rhtml

This actually does fold to the correct pathname--but it'd be nice if
it was folded prior to printing (preferably, before printing--no sense
in passing names like that to the file system!).

Bob


More information about the Rails mailing list