search for: additional_person

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

Did you mean: additional_persons
2007 Mar 11
0
Good code?
...declarations_controller.rb: def create @declaration = Declaration.new(params[:declaration]) unless @declaration.save @users = User.find(:all) render :action => ''new'' return false end @declarations_payers = params[:declarations_payers] @additional_persons = params[:additional_persons] #If there are payers, add them if @declarations_payers @declarations_payers.each_value { |user_id| #Add new object @declarations_payer = DeclarationsPayer.new #Set user_id variable (from post) @declarations_payer.user_i...