Forum: Ruby on Rails relative subdirectory of partials

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E03ce853a1c3eea0682e68fdbf1ff348?d=identicon&s=25 Hunter Peress (Guest)
on 2005-12-14 21: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
hunterp@sfnewmexican.com
Web Programmer
The Santa Fe New Mexican, Inc.
This topic is locked and can not be replied to.