search for: has_continu

Displaying 1 result from an estimated 1 matches for "has_continu".

2006 Mar 08
1
Poor Man''s Continuations
...tes to somewhere else when required. Now I can do this in my controller (note that the main loop does not need to know about what goes on within the continuation_calls, also note the simple conditional logic for stating the flow of the applictaion). class MyController < ApplicationController has_continuations def main item = conitnuation_call :action => ''get_name'' if item == ''frank'' item += '' '' + continuation_call :action => ''get_frank_extra'' end end def get_name if params[:name] and params[...