Hi, date_select seems to behave rather strangely if :prompt => true or :empty => true and the user does not select all fields.
It seems that by the time the birth_date field gets to validation, its filled with a Date object that has defaults set for empty fields. eg If a year is selected but month and day are not, then month and day are set to january 1st. This is really not intuitive but I'm still new to rails (made the move from CakePHP at last!) - maybe I'm doing something wrong. Is there a best practice here that I don't know about? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

