Default format for Date and update/create date on DB


I've changed the default date format in my envornment.rb:

=> '%d/%m/%Y')

Now I can display my database date rows with the .to_s and they appear
as expected: day,month,year.

But the dates in the database are wrong from the entered ones.

I've spent some time searching through the web/forums and all that I've
found are really difficult and hard solutions to solve this problem.

There's no automatic conversion from default format to database format ?

user format: dd/mm/yyyy
database format: yyyy-mm-dd

what I get in the database is yyyy-dd-mm

And my :db format is ok: :db=>"%Y-%m-%d"

=> {:rfc822=>"%e %b %Y", :number=>"%Y%m%d", :short=>"%e %b",
:db=>"%Y-%m-%d", :long=>"%B %e, %Y",