Forum: Ruby on Rails Setting :status for inline RJS?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Da2dbf48d2f400ccff8f0df127798451?d=identicon&s=25 Derek Haynes (Guest)
on 2006-04-20 17:17
(Received via mailing list)
Is there a way to set the :status when using inline RJS rendering in
controllers?

Something like:

render :status => 500, :update do |page|
   page.insert_html ....
end

--
Derek Haynes
HighGroove Studios - http://www.highgroove.com
Atlanta, GA | San Mateo, CA
Keeping it Simple.
404.751.1762
36958dd94ca666a38483df282a5214d5?d=identicon&s=25 Peter Ertl (Guest)
on 2006-04-20 17:42
(Received via mailing list)
*lol*
This topic is locked and can not be replied to.