Render without layout

hello,

i’m using Craig A.'s RedBox pluging and I’d like to render a
partial inside the RedBox, and this happens to some extent. On Craig’s
site the lightbox renders across his entire screen, but on my setup it
only renders with the lightbox shifted to the right. This happens to
varying degrees on different browsers. I inspected the DOM and noticed
that whenever the lightbox is rendered I see something like

and normally its just

when the lightbox hasn’t been
activated.

My thinking is that somehow i’m rendering and entire page instead of
just the partial, but for some reason all the parts of the page don’t
display.

Does anyone know how to force rails to just render the partial and not
its layout?

thanks,

binh

pass the :layout => false option to your call to render

Fred