if i got a couple of radio buttons on my form that i want to use a
published_at field rather than a boolean field how would i go about
this? I know that if i’m using a boolean i can do the following.
<%= f.radio_button :published_at, true %> Yes
<%= f.radio_button :published_at, false %> No
but what would i have to change to use the datetime field?
many thanks in advance guys,