on my web app I have a day, month ,year drop down boxes. I have a temporary render in my controller to see what is being sent into the database so I know what to migrate. however the day, month, year fields are sending in the below. But Rails generate model doesn't like the brackets. How do you over come this? Any help would be very much appreciated.
"date(3i)"=>"18", "date(2i)"=>"4", "date(1i)"=>"2014"
def change
create_table :posts do |t|
t.text :title
t.text :requester
t.text :requester_email
t.text :customer
t.text :contact
t.text :customer_email
t.text :customer_phone
t.string :type_of_change
t.string :date(3i)
t.timestamps