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.23 lib/mongoid/timestamps.rb
mongoid-3.0.22 lib/mongoid/timestamps.rb
mongoid-3.0.21 lib/mongoid/timestamps.rb
mongoid-3.0.20 lib/mongoid/timestamps.rb
mongoid-3.0.19 lib/mongoid/timestamps.rb
mongoid-3.0.18 lib/mongoid/timestamps.rb
mongoid-3.0.17 lib/mongoid/timestamps.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.16/lib/mongoid/timestamps.rb
mongoid-3.0.16 lib/mongoid/timestamps.rb
mongoid-3.0.15 lib/mongoid/timestamps.rb
mongoid-3.0.14 lib/mongoid/timestamps.rb
mongoid-3.0.13 lib/mongoid/timestamps.rb
mongoid-3.0.12 lib/mongoid/timestamps.rb
mongoid-3.0.11 lib/mongoid/timestamps.rb
mongoid-3.0.10 lib/mongoid/timestamps.rb
mongoid-3.0.9 lib/mongoid/timestamps.rb
mongoid-3.0.6 lib/mongoid/timestamps.rb
mongoid-3.0.5 lib/mongoid/timestamps.rb
mongoid-3.0.4 lib/mongoid/timestamps.rb
mongoid-3.0.3 lib/mongoid/timestamps.rb