Module: Mongoid::Timestamps

Extended by:
ActiveSupport::Concern
Includes:
Created, Updated
Defined in:
build/mongoid-7.3/lib/mongoid/timestamps.rb,
build/mongoid-7.3/lib/mongoid/timestamps/short.rb,
build/mongoid-7.3/lib/mongoid/timestamps/created.rb,
build/mongoid-7.3/lib/mongoid/timestamps/updated.rb,
build/mongoid-7.3/lib/mongoid/timestamps/timeless.rb,
build/mongoid-7.3/lib/mongoid/timestamps/created/short.rb,
build/mongoid-7.3/lib/mongoid/timestamps/updated/short.rb

Overview

This module handles the behavior for setting up document created at and updated at timestamps.

Defined Under Namespace

Modules: Created, Short, Timeless, Updated

Method Summary

Methods included from Updated

#able_to_set_updated_at?, #set_updated_at

Methods included from Created

#set_created_at