app/models/column.rb in fetcher-mongoid-models-0.0.0 vs app/models/column.rb in fetcher-mongoid-models-0.0.1
- old
+ new
@@ -1,10 +1,9 @@
require "mongoid"
class Column
include Mongoid::Document
store_in collection: "Column"
- belongs_to :User
- has_many :Filter, inverse_of: :Column
- has_many :Source, inverse_of: :Column
+ field :Filter, type: Array
+ field :Source, type: Array
end
\ No newline at end of file