<%= f.datetime_select :start_datetime,:ampm => true,:start_minute => [0,15,30,45] %>
但这似乎不起作用. :start_datetime是在Event模型中调用属性的内容.这可能是导致问题的保留字吗?
<%= f.datetime_select :start_datetime,:minute_step => 15 %>