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
tdiary-5.0.8 vendor/bundle/gems/mongoid-6.4.0/lib/mongoid/timestamps.rb
mongoid-7.0.0 lib/mongoid/timestamps.rb
mongoid-6.4.0 lib/mongoid/timestamps.rb
mongoid-6.3.0 lib/mongoid/timestamps.rb
mongoid-6.2.1 lib/mongoid/timestamps.rb
mongoid-7.0.0.beta lib/mongoid/timestamps.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/mongoid-6.1.0/lib/mongoid/timestamps.rb
tdiary-5.0.5 vendor/bundle/gems/mongoid-6.1.0/lib/mongoid/timestamps.rb
tdiary-5.0.5 vendor/bundle/gems/mongoid-6.2.0/lib/mongoid/timestamps.rb
mongoid-6.2.0 lib/mongoid/timestamps.rb
mongoid-6.1.1 lib/mongoid/timestamps.rb
mongoid-5.2.1 lib/mongoid/timestamps.rb
tdiary-5.0.4 vendor/bundle/gems/mongoid-6.1.0/lib/mongoid/timestamps.rb
mongoid-6.1.0 lib/mongoid/timestamps.rb
mongoid-5.2.0 lib/mongoid/timestamps.rb
mongoid-5.2.0.rc0 lib/mongoid/timestamps.rb
mongoid-6.1.0.rc0 lib/mongoid/timestamps.rb
mongoid-6.0.3 lib/mongoid/timestamps.rb
mongoid-5.1.6 lib/mongoid/timestamps.rb
mongoid-6.0.2 lib/mongoid/timestamps.rb