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 [f253e98d844b121f29ff6879075ad975ac07fe6d] by miloops

Revision f253e98d844b121f29ff6879075ad975ac07fe6d, committed by miloops · July 16th, 2008 @ 12:24 AM

update_counters should update nil values.

This allows counter columns with default null instead of requiring default 0.

[#493 state:resolved]

http://github.com/rails/rails/co...

3 changed files

  • M activerecord/lib/active_record/base.rb
  • M activerecord/test/cases/base_test.rb
  • M activerecord/test/schema/schema.rb