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.1.9 lib/mongoid/timestamps.rb
mongoid-8.0.9 lib/mongoid/timestamps.rb
mongoid-8.1.8 lib/mongoid/timestamps.rb
mongoid-8.1.7 lib/mongoid/timestamps.rb
mongoid-8.1.6 lib/mongoid/timestamps.rb
mongoid-8.0.8 lib/mongoid/timestamps.rb
mongoid-8.1.5 lib/mongoid/timestamps.rb
mongoid-8.1.4 lib/mongoid/timestamps.rb
mongoid-8.0.7 lib/mongoid/timestamps.rb
mongoid-8.1.3 lib/mongoid/timestamps.rb
mongoid-8.1.2 lib/mongoid/timestamps.rb
mongoid-8.0.6 lib/mongoid/timestamps.rb
mongoid-7.5.4 lib/mongoid/timestamps.rb
mongoid-8.1.1 lib/mongoid/timestamps.rb
mongoid-8.0.5 lib/mongoid/timestamps.rb
mongoid-8.1.0 lib/mongoid/timestamps.rb
mongoid-7.5.3 lib/mongoid/timestamps.rb
mongoid-8.0.4 lib/mongoid/timestamps.rb
mongoid-8.0.3 lib/mongoid/timestamps.rb
mongoid-7.5.2 lib/mongoid/timestamps.rb