class Picture < ActiveRecord::Base alias_method :update, :update_without_timestamps def touch! write_attribute('updated_on', Time.now) save end end
class Picture < ActiveRecord::Base alias_method :update, :update_without_timestamps def touch! write_attribute('updated_on', Time.now) save end end