I have a date type field in my database.
date
Here\'s the view code I\'m using:
# Using \'as: :string\' to avoid those three dropdowns rails
Here's what you need :
f.input :my_date, :as => :string, :input_html => { :value => localize(f.object.my_date) }
PS : This was the first link in google search :)