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