# converts list of parameters to array of integers def mass_to_i(*id_strings) id_strings.map(&:to_i) end