This project is archived and is in readonly mode.

#786 ✓stale
duncanbeevers

Date columns cast assigned values to Date

Reported by duncanbeevers | August 9th, 2008 @ 12:00 AM | in 2.x

Creating a record whose underlying database store is a date-type column does not cast the value on the newly-created record to a Date.

Reading the record back from the database casts the value correctly.

Patch casts value on attribute assignation.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Pages