Because of some third party dependencies I'm trying to use a date_select helper (actually datetime, but they behave the same) whilst specifying an ID for each of the three selectors (day/month/ year).
<%= f.date_select :start, {:order => [:day, :month, :year]}, {:id => {:year => 'abc', :month => 'de', :day => 'xy'}} %> The code above nearly works; the right selectors are generated in the right order, however, the IDs of each selector are the same; simply a flattened down version 'monthdeyearabcdayxy', using an array has the same effect.
How can I achieve this while still having Rails handle most of the work?