This project is archived and is in readonly mode.

#1754 ✓duplicate
Stephen H. Gerstacker

Setting a decimal from 0.0 to '' doesn't constitute a change

Reported by Stephen H. Gerstacker | January 14th, 2009 @ 01:15 AM | in 2.x

If a model has a decimal value which is currently set to 0.0 and the field is blanked out with an empty string (like when submitting an empty text_field for the value), the dirty objects code does not recognize a change.

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>

People watching this ticket

Attachments

Pages