How do I bypass using the standard layout for a file

Hi,

i’m trying dyamically add a bit of code into a page by updating a div.
this works great but it puts the page in with the standard layout around
it duplicating it.

Is there someway just to bypass using any layout with a rhtml file?

To not use any layout:

def some_method
render(:layout => false)
end

To use a layout you specify:

def some_method
render(:layout => “layouts/yourlayout”)
end