Sha256: ef2ddb8018956a277894cbd574b76b2fbf91c1b3f3341fdf2590a2b4d0f73076

Contents?: true

Size: 280 Bytes

Versions: 6

Compression:

Stored size: 280 Bytes

Contents

class Project
  
  include Mongoid::Document
  include CustomFields::ProxyClassEnabler
  include CustomFields::CustomFieldsFor
  
  field :name
  field :description
  
  has_many_related :people
  embeds_many :tasks
  
  custom_fields_for :people
  custom_fields_for :tasks
  
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
locomotive_cms-0.0.2.5 vendor/plugins/custom_fields/spec/models/project.rb
locomotive_cms-0.0.2.4 vendor/plugins/custom_fields/spec/models/project.rb
locomotive_cms-0.0.2.3 vendor/plugins/custom_fields/spec/models/project.rb
locomotive_cms-0.0.2.2 vendor/plugins/custom_fields/spec/models/project.rb
locomotive_cms-0.0.2.1 vendor/plugins/custom_fields/spec/models/project.rb
locomotive_cms-0.0.2 vendor/plugins/custom_fields/spec/models/project.rb