justinfrench/formtastic — Issue #816: Date Field with Mongoid
Author: jwaldrip
Created: 2012-03-01 20:03:55+00:00
State: open

I have a date field as the following:

```ruby
= f.input :birthday, as: :date, end_year: Time.now.year - 100, start_year: Time.now.year , input_html: { class: "input-medium chzn-select-deselect" }

```

When the record is saved I get the following instead of the :birthday field being filled.

```
#
```

Is there something I have to do special in my model or controller?

I did look in the docs this time justin ;-)