Sha256: aba7d05e2e1471e07432b7fda1a2efd66d78bd6116f325c327d09452b5a8e360

Contents?: true

Size: 390 Bytes

Versions: 73

Compression:

Stored size: 390 Bytes

Contents

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

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

73 entries across 68 versions & 4 rubygems

Version Path
mongoid-7.0.13 lib/mongoid/timestamps.rb
mongoid-7.0.12 lib/mongoid/timestamps.rb
mongoid-6.4.8 lib/mongoid/timestamps.rb
mongoid-7.0.11 lib/mongoid/timestamps.rb
mongoid-7.0.10 lib/mongoid/timestamps.rb
mongoid-6.4.7 lib/mongoid/timestamps.rb
mongoid-6.4.5 lib/mongoid/timestamps.rb
mongoid-7.0.8 lib/mongoid/timestamps.rb
mongoid-7.0.7 lib/mongoid/timestamps.rb
mongoid-7.0.6 lib/mongoid/timestamps.rb
mongoid-5.4.1 lib/mongoid/timestamps.rb
mongoid-7.0.5 lib/mongoid/timestamps.rb
mongoid-7.0.4 lib/mongoid/timestamps.rb
mongoid-6.4.4 lib/mongoid/timestamps.rb
mongoid-7.0.3 lib/mongoid/timestamps.rb
mongoid-6.4.2 lib/mongoid/timestamps.rb
mongoid-7.0.2 lib/mongoid/timestamps.rb
mongoid-7.0.1 lib/mongoid/timestamps.rb
mongoid-6.4.1 lib/mongoid/timestamps.rb
mongoid-5.4.0 lib/mongoid/timestamps.rb