Sha256: b1b3c64ca0c0688858e2f564b596dc8def56dca05d02f9bfa0c30ce6c411b58c

Contents?: true

Size: 355 Bytes

Versions: 24

Compression:

Stored size: 355 Bytes

Contents

# encoding: utf-8
require "mongoid/timestamps/created"
require "mongoid/timestamps/updated"
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

24 entries across 24 versions & 2 rubygems

Version Path
mongoid-3.0.2 lib/mongoid/timestamps.rb
mongoid-3.0.1 lib/mongoid/timestamps.rb
mongoid-3.0.0 lib/mongoid/timestamps.rb
mongoid-3.0.0.rc lib/mongoid/timestamps.rb