This project is archived and is in readonly mode.

Changeset [9606bc883292102faaff0e3046855521d36131ef] by Carlos Kozuszko

January 15th, 2009 @ 09:01 PM

Fixing bug on ActiveRecord::Dirty#field_changed? for nullable numeric columns, NULL gets stored in database for blank (i.e. '') values. Only integer columns were considered.

Signed-off-by: Michael Koziarski michael@koziarski.com [#1692 state:committed] http://github.com/rails/rails/co...

Committed by Carlos Kozuszko

  • M activerecord/lib/active_record/dirty.rb
  • M activerecord/test/cases/dirty_test.rb

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>