I have Rails3 application with model user and field expires_at created like this:
t.column :expires_at, :timestamp
In my database (postgres
For saving time in local timezone to database this has to be set in application.rb
application.rb
config.active_record.default_timezone = :local