Forum: Ruby on Rails how to "break action"

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
F0f816437222a5266dd38fa9d87d9764?d=identicon&s=25 Feng (Guest)
on 2007-05-29 20:47
hi all,

if i want to "return or exit" (Like C language) in a action(function) ,
and maybe translate control to another function ,how can it do ?


Efe398b3b5436b0a8d4430090e8f86ea?d=identicon&s=25 seth b. (subimage)
on 2007-05-29 21:03
(Received via mailing list)
From a controller method...

render and return


redirect_to :controller => 'my_controller', :action => 'some_action' and

On 5/29/07, Feng <> wrote:
> -Feng
> --
> Posted via
> >

seth at subimage interactive
This topic is locked and can not be replied to.