clear_timestamp_attributes()
Clear attributes and changed_attributes
# File activerecord/lib/active_record/timestamp.rb, line 168 def clear_timestamp_attributes all_timestamp_attributes_in_model.each do |attribute_name| self[attribute_name] = nil clear_attribute_change(attribute_name) end end