This project is archived and is in readonly mode.

Changeset [f253e98d844b121f29ff6879075ad975ac07fe6d] 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...

Committed by miloops

  • M activerecord/lib/active_record/base.rb
  • M activerecord/test/cases/base_test.rb
  • M activerecord/test/schema/schema.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>