Sha256: 92c46fd72529d88b61558238c81600610ee76a423d26cbbf1cf62428b18e8f0b

Contents?: true

Size: 390 Bytes

Versions: 6

Compression:

Stored size: 390 Bytes

Contents

# encoding: utf-8
require "mongoid/timestamps/created"
require "mongoid/timestamps/updated"
require "mongoid/timestamps/short"
require "mongoid/timestamps/timeless"

module Mongoid

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mongoid-3.1.5 lib/mongoid/timestamps.rb
mongoid-3.1.4 lib/mongoid/timestamps.rb
mongoid-3.1.3 lib/mongoid/timestamps.rb
mongoid-3.1.2 lib/mongoid/timestamps.rb
mongoid-3.1.1 lib/mongoid/timestamps.rb
mongoid-3.1.0 lib/mongoid/timestamps.rb