Sha256: 98fbd8960105870be644d88ae5b0f8fa64565f178524664efc4e83b9c57a0e95

Contents?: true

Size: 155 Bytes

Versions: 10

Compression:

Stored size: 155 Bytes

Contents

class Contractor
  include Mongoid::Document
  attr_accessible
  attr_accessible :name, as: :admin
  embedded_in :building
  field :name, type: String
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
mongoid-3.1.7 spec/app/models/contractor.rb
mongoid-3.1.6 spec/app/models/contractor.rb
mongoid-3.1.5 spec/app/models/contractor.rb
mongoid-paranoia-0.3.0 spec/app/models/contractor.rb
mongoid-paranoia-0.2.1 spec/app/models/contractor.rb
mongoid-versioning-0.2.0 spec/app/models/contractor.rb
mongoid-paranoia-0.2.0 spec/app/models/contractor.rb
mongoid-paranoia-0.1.1 spec/app/models/contractor.rb
mongoid-versioning-0.1.0 spec/app/models/contractor.rb
mongoid-paranoia-0.1.0 spec/app/models/contractor.rb