Relative subdirectory of partials

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
[email protected]
Web Programmer
The Santa Fe New Mexican, Inc.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs