Sha256: ab6ee4d549a3717ce02d760a4fc084e6fd785366c9864fa6385abadb0ebd8c08
Contents?: true
Size: 229 Bytes
Versions: 29
Compression:
Stored size: 229 Bytes
Contents
class Agilibox::SmallData::FilterStrategyByDateBegin < ::Agilibox::SmallData::FilterStrategyByKeyValue def apply(query, value) value = Time.zone.parse(value).beginning_of_day query.where("#{key} >= ?", value) end end
Version data entries
29 entries across 29 versions & 1 rubygems