module ActiveRecord::Timestamp

def update_with_timestamps(*args) #:nodoc:

:nodoc:
def update_with_timestamps(*args) #:nodoc:
  if record_timestamps && (!partial_updates? || changed?)
    current_time = current_time_from_proper_timezone
    write_attribute('updated_at', current_time) if respond_to?(:updated_at)
    write_attribute('updated_on', current_time) if respond_to?(:updated_on)
  end
  update_without_timestamps(*args)
end