This maybe should be validated at Variation model (to avoid blank or null data), but anyway, what if?:

variaciones << params[v.name.downcase] unless params[v.name.downcase].nil? && params[v.name.downcase].blank?