Sha256: 5975970337fa244c21456223ed9d8a254a3d717caa9fd45b48f2b9e6420c4303

Contents?: true

Size: 182 Bytes

Versions: 1

Compression:

Stored size: 182 Bytes

Contents

class MongoidOrm::EmbedsManyReference
  include Mongoid::Document

  field :name

  embedded_in :primal, :class_name => 'MongoidOrm::Primal'

  validates :name, :presence => true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puffer-0.1.1 spec/dummy/app/models/mongoid_orm/embeds_many_reference.rb