use rails 4 syntax for collection inputs