Active Records will automatically record creation and/or update timestamps of database objects if fields of the names created_at/created_on or updated_at/updated_on are present. This module is automatically included, so you don’t need to do that manually.

This behavior can be turned off by setting ActiveRecord::Base.record_timestamps = false. This behavior can use GMT by setting ActiveRecord::Base.timestamps_gmt = true

Show files where this module is defined (1 file)
Register or log in to add new notes.