lib/lite/regulations/activation.rb in lite-regulations-1.1.2 vs lib/lite/regulations/activation.rb in lite-regulations-1.2.0
- old
+ new
@@ -22,10 +22,10 @@
end
def inactive!
return true if inactive?
- update(inactivated_at: Time.current)
+ update(inactivated_at: Lite::Regulations::Base.timestamp)
end
def inactive?
!active?
end