I left my Rails book at work and am having a hard time googling this
one, though it’s likely easy.
I have a smallish site running on a single master layout. The master
layout has a sidebar which has, until now been the same.
I’d like to render a particular partial in the sidebar for certain
In some cases, there won’t be a partial for the sidebar.
What is the most elegant way of handling this?
I’m sure there is something simple built in, but as I said, my book
is at the office.