How to "break action"

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 ?



From a controller method…

render and return


redirect_to :controller => ‘my_controller’, :action => ‘some_action’ and

On 5/29/07, Feng [email protected] wrote:


Posted via

seth at subimage interactive

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs