The following controller method taking me into infinite loop. Once the
update action completes I want to reload the 'index' page. May I know
why it is going into infinite loop?
Device.find_by_id( params[:device_id] ).driver = (
params[:driver_id] == 0 ) ? nil : Driver.find_by_id( params[:driver_id]
redirect_to :action => :index, :tab => 'limo'