Ruby Forum Test > date_select problems

Posted by Will Monk (ruzmutuz)
on 06.10.2007 13:45
Hi,

I am using date_select for when a post is being submitted. This is the
tag i use in my view,

<%= date_select("post", "date", :order => [:month, :day])%>

However this outputs

<select id="post_date_2i" name="post[date(2i)]">

this is probably the way its meant to be, but i cant get it to submit it
to the db colum, date.
Is there a way of getting it to output

<select id="post_date" name="post[date]">?

Thanks Will