10 lines
157 B
Ruby
10 lines
157 B
Ruby
|
class Task
|
||
|
|
||
|
include Mongoid::Document
|
||
|
include CustomFields::ProxyClassEnabler
|
||
|
|
||
|
field :title
|
||
|
|
||
|
embedded_in :project, :inverse_of => :tasks
|
||
|
|
||
|
end
|