@content_for_sidebar?

Okay, I see this instance variable places, but I can not determine if it
is real
or where the content comes from. I’ve tried
views//sidebar.rhtml,
_sidebar.rhtml, views/layouts/sidebar.rhtml and
views/layouts/_sidebar.rhtml.

Does this actually exist? What’s the Rails Way to make a good sidebar?

http://www.google.com/search?q=content_for_sidebar

Thanks,
–Dean

Take your time, take your chances
[3278.7 km, 273.4] Apparent Rennerian

It matters not how strait the gate, / How charged with punishments the
scroll,
I am the master of my fate: / I am the captain of my soul. –
Invictus –
– William E
Henley –

Hey Dean,

Check out the docs on “content_for()” in the
ActionView::Helpers::CaptureHelper module.

Using this seems like an appropriate way to add a dynamic sidebar, but
perhaps a partial would be better for more static content. It really
depends on you! :slight_smile:

HTH,
Dan