Hi

Im using one controller+ 5 forms(5 stages). and i used the code but ony two
form data stored in databases.give any suggestion



def wizard
 if params[:stage].nil?

 ...
 elsif params[:stage].to_i == 1
 ...
 elsif params[:stage].to_i == 2
 ...
elsif params[:stage].to_i == 3
......
elsif params[:stage].to_i == 4

........
 else
 ...
 end

@next_stage = @stage+1

 render :template => 'wizard\\stage'[EMAIL PROTECTED]
end


please help me

Thanks
balaji

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to