Iterating over a params hash

params[:picture].each_pair {|key,value| … }

value will be the has containing values for each individual picture

Couldn't you just do: params[:picture].each_value |image|