Forum: Ruby on Rails storing localized date into DB

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Kad K. (Guest)
on 2009-01-11 20:53
(Received via mailing list)
receiving a date string param[:company][:contracted_on]  like
"11/01/2009"    (format "%e/%m/%Y")

what should I write to convert the params into an acceptable DateTime
attribute in the DB,  ?
(in a before_save in my model... )

thanks for your suggestions

Happy New Rails btw ..

This topic is locked and can not be replied to.