views:

31

answers:

1

My database has a datetime field, and I want to be able to create new entries. Obviously the Rails datetime_select helper isn't the most user friendly thing to have in your form.

I'd rather have a text field for the datetime (or one for the date, and one for the time) and interpret the inputs like PHP strtotime can.

I might just be searching the wrong keywords. Surely this has been discussed in great depth somewhere.

Thanks

:0)

A: 

Check out Railscast #32, I've used this method a few times and it works pretty well.

Corey