模块:Mongoid::Timestamps

扩展方式:
ActiveSupport::Concern
包括:
创建更新
定义于:
lib/mongoid/timestamps.rb ,
lib/mongoid/timestamps/short.rb,
lib/mongoid/timestamps/created.rb,
lib/mongoid/timestamps/updated.rb,
lib/mongoid/timestamps/timeless.rb,
lib/mongoid/timestamps/created/short.rb,
lib/mongoid/timestamps/updated/short.rb

Overview

此模块处理设置在时间戳创建和更新的文档的行为。

在命名空间下定义

模块: 创建的、简短的、永恒的、更新

方法摘要

包含的方法来自Updated

#able_to_set_updated_at? , #set_updated_at

Created中包含的方法

#able_to_set_created_at? , #set_created_at