Forum: Ruby on Rails Overriding save breaks increment!/decrement!

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Joe (Guest)
on 2006-03-10 21:29
Is overriding ActiveRecord#save verboten? Doing this causes increment!
and decrement! to break (1 for 0 argument error):

def save
  # also tried 'super'

  # do stuff

This topic is locked and can not be replied to.