add missing file

This commit is contained in:
Matthew K. Fu JuYuan 2012-09-10 14:23:45 +08:00
parent e12701b34b
commit 3db2664c14
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
class PreviewAssociation
include Mongoid::Document
include Mongoid::Timestamps
field :object, :type=> Hash
field :field_name_for_rebuild
field :object_in_array , :type => Boolean,default: false
# field :to_save, :type => Boolean
field :should_destroy, :type => Boolean
belongs_to :preview
# embedded_in :news_bulletin
end