Patches: Browse | Submit New | Admin

[#21760] Patch - Allow saving of ActiveSupport::TimeWithZone times into derby

Date:
2008-09-01 06:16
Priority:
3
Submitted By:
Daniel Sheppard (danshep)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Patch - Allow saving of ActiveSupport::TimeWithZone times into derby

Detailed description
This patch puts the jdbc_adapter.JdbcDerbySpec class back in sync with the activerecord core. This fixes:

  - Allows ActiveSupport::TimeWithZone times to be assigned to an attribute and saved.

  - Allows saving of DateTime objects to the db.


Also adds tests (for all dbs) to check the reading and writing of date/datetime/time/timewithzone objects.     


Code in jdbc_adapter/jdbc_derby.rb is removed as the core activerecord code covers this.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
fix_times2.patch Fix derby datetimes patch Download

Changes:

Field Old Value Date By
File Added4004: fix_times2.patch2008-09-01 06:17danshep