Forum: Ruby on Rails relative subdirectory of partials

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Hunter Peress (Guest)
on 2005-12-14 22:22
(Received via mailing list)
if im in the views dir for the railtstest controller and
   render a partial  like so: render(:partial=>'container/
thepartial')  then
it will only work if that partial is in views/container/thepartial
not if its in
views/railstest/container/thepartial  as I expected.

but what i want is to have a dir called container inside of railstest
and be
able to render a partial from there. is this possible?


Hunter Peress
Web Programmer
The Santa Fe New Mexican, Inc.
This topic is locked and can not be replied to.