app/models/iro/alert.rb in iron_warbler-2.0.7.22 vs app/models/iro/alert.rb in iron_warbler-2.0.7.23
- old
+ new
@@ -1,8 +1,9 @@
class Iro::Alert
include Mongoid::Document
include Mongoid::Timestamps
+ include Mongoid::Paranoia
store_in collection: 'iro_alerts'
# SLEEP_TIME_SECONDS = Rails.env.production? ? 60 : 15
DIRECTION_ABOVE = 'ABOVE'