Sha256: 69ff6f40b4647243e2bcbab456dba321fd06b7d5c0b7ccd797a8659cffb8a7dc

Contents?: true

Size: 198 Bytes

Versions: 1

Compression:

Stored size: 198 Bytes

Contents

class User
  include Mongoid::Document
  include Mongoid::Signature
  
  field :name
  field :email
  
  references_many :posts
  references_many :comments
  
  sign_document :include => [:name]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid_signature-0.0.4 spec/models/user.rb