Sha256: 4ad6af5187cac258b0f444fd7749817149e76cb52ea4474ebfbc9848bef8a6de

Contents?: true

Size: 138 Bytes

Versions: 6

Compression:

Stored size: 138 Bytes

Contents

class User
  include Mongoid::Document
  include Mongoid::Userstamps::User

  field :name

  userstamps_user.reader = :current_admin
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mongoid-userstamps-3.1.3 test/models/user.rb
mongoid-userstamps-3.1.2 test/models/user.rb
mongoid-userstamps-3.1.1 test/models/user.rb
mongoid-userstamps-3.1.0 test/models/user.rb
mongoid-userstamps-3.0.0.alpha1 test/models/user.rb
mongoid-userstamps-2.0.0 test/models/user.rb