fix Rails 2.3 compatible API issues: incr & decr