app/models/iro/priceitem.rb in iron_warbler-2.0.7.38 vs app/models/iro/priceitem.rb in iron_warbler-2.0.7.39
- old
+ new
@@ -31,9 +31,11 @@
field :totalVolume, type: Integer
field :mark, type: Float
field :exchangeName, type: String
field :volatility, type: Float
+ field :expires_on, type: :date
+
def self.my_find props={}
lookup = { '$lookup': {
'from': 'iro_price_items',
'localField': 'date',
'foreignField': 'date',