Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [9606bc883292102faaff0e3046855521d36131ef] by Carlos Kozuszko

Revision 9606bc883292102faaff0e3046855521d36131ef, committed 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...

2 changed files

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