Need to use a method without the layout

I need to use a method (called by one of my controllers) without using
the layout. All the other methods in the controller need to use this
layout except for thismethod (becausae it’s called by an Ajax script). I
know how to use :layout=>layout_name when calling a method from another
method, but nothing is calling this.
The layout needs to be removed in the method itself or I need to call
another (‘blank’) method instead.

Please help!

thank you!

From Peak Obsession

Renders the template for the action “short_goal” within the

current controller,

but without the current active layout

render :action => “short_goal”, :layout => false

hope that helps.
Anthony Moralez
http://anthonysseblog.blogspot.com

Anthony Moralez wrote:

From Peak Obsession

Renders the template for the action “short_goal” within the

current controller,

but without the current active layout

render :action => “short_goal”, :layout => false

hope that helps.
Anthony Moralez
http://anthonysseblog.blogspot.com

Thank, but this will not work because nothing is rendering this
method. Any other suggestions?

layout “standard”,:except=>“some_action”

On Friday, March 31, 2006, at 4:18 AM, cranberry wrote:

Anthony Moralez
http://lists.rubyonrails.org/mailman/listinfo/rails
Mikkel B.

www.strongside.dk - Football Portal(DK)
ting.minline.dk - Buy Old Stuff!(DK)