Sha256: 97871cd2b2535c1fdef9c72f30f405927ae8ce6f9aad3e2390935d6831407f9c

Contents?: true

Size: 145 Bytes

Versions: 12

Compression:

Stored size: 145 Bytes

Contents

class Drug
  include Mongoid::Document
  field :name, type: String
  field :generic, type: Boolean
  belongs_to :person, counter_cache: true
end

Version data entries

12 entries across 12 versions & 5 rubygems

Version Path
mongoid-paranoia-1.1.0 spec/app/models/drug.rb
mongoid-paranoia-1.0.1 spec/app/models/drug.rb
mongoid-paranoia-1.0.0 spec/app/models/drug.rb
mongoid-versioning-1.0.0 spec/app/models/drug.rb
mongoid-paranoia-1.0.0.beta2 spec/app/models/drug.rb
mongoid-versioning-1.0.0.beta2 spec/app/models/drug.rb
mongoid-paranoia-1.0.0.beta1 spec/app/models/drug.rb
mongoid-versioning-1.0.0.beta1 spec/app/models/drug.rb
sepastian-mongoid-rails4-4.0.1.alpha spec/app/models/drug.rb
sepastian-mongoid-rails4-4.0.0.alpha spec/app/models/drug.rb
mongoid_heroku_stable-4.0.0 spec/app/models/drug.rb
mongoid_rails4-4.0.0 spec/app/models/drug.rb