Sha256: eee5361ee0b9c6301f9eec2f02f9fd9aa5e409faee3de5c5caebcbfc97cd6941

Contents?: true

Size: 402 Bytes

Versions: 27

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true

require "mongoid/timestamps/timeless"
require "mongoid/timestamps/created"
require "mongoid/timestamps/updated"
require "mongoid/timestamps/short"

module Mongoid

  # This module handles the behavior for setting up document created at and
  # updated at timestamps.
  module Timestamps
    extend ActiveSupport::Concern
    include Created
    include Updated
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
mongoid-8.0.2 lib/mongoid/timestamps.rb
mongoid-7.5.1 lib/mongoid/timestamps.rb
mongoid-7.4.3 lib/mongoid/timestamps.rb
mongoid-8.0.1 lib/mongoid/timestamps.rb
mongoid-7.5.0 lib/mongoid/timestamps.rb
mongoid-7.4.1 lib/mongoid/timestamps.rb
mongoid-7.4.0 lib/mongoid/timestamps.rb