This project is archived and is in readonly mode.
![duncanbeevers duncanbeevers](https://entp-lh-avatar-production.s3.amazonaws.com/avatars/18106/large.png?AWSAccessKeyId=AKIAJ4QBZRZBVMOUBNZA&Expires=2023844495&Signature=pH5SzS9VWka7%2BRyV%2BZxj5r%2FRPbg%3D)
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
-
josh November 22nd, 2008 @ 07:46 PM
- State changed from new to stale
Staling out, please let me know if its still an open issue.
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>