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 [c891d685de9a729332836751c1293770b86a1b52] by Carlos Kozuszko

Revision c891d685de9a729332836751c1293770b86a1b52, committed by Carlos Kozuszko · January 15th, 2009 @ 09:00 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