Just thought I'd let you know how things turned out.

I have discarded the idea of using date_select as it is full of 
inconsistencies which in the worst case can cause the application to 
crash.
Instead I created three seperate text fields (DD-MM-YYYY)and using 
virtual attributes in the model mapped them to the "dob" field in the 
db.
Now everything works like it should do (at last).

I am surprised that this has presented me with such a problem as 
entering one's dob into a form is a very common occurence.

Nonetheless thanks for your help Fred. You definitely pointed me in the 
right direction.

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to