Accessing a Hash from the form Params

i think that should be:

for num in(1..3) @tmpFixture.update_attribute(:player_id , params[:umpire][num.to_s]) end

use assoc for the attribute you're updating

for num in(1..3) @tmpFixture.update_attribute(:player_id => params[:umpire][num.to_s]) end