Sha256: bd060fe4cb98878c763bce13ab898360215e2d02655678a4b3710bf27de2361e

Contents?: true

Size: 195 Bytes

Versions: 17

Compression:

Stored size: 195 Bytes

Contents

class BMC::Filter::ByDateBegin < BMC::Filter::ByKeyValue
  def apply(query, value)
    value = Date.parse(value)
    column = column_for(query)
    query.where("#{column} >= ?", value)
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
bmc-1.5.1 app/filters/bmc/filter/by_date_begin.rb
bmc-1.5.0 app/filters/bmc/filter/by_date_begin.rb
bmc-1.4.3 app/filters/bmc/filter/by_date_begin.rb
bmc-1.4.2 app/filters/bmc/filter/by_date_begin.rb
bmc-1.4.1 app/filters/bmc/filter/by_date_begin.rb
bmc-1.4.0 app/filters/bmc/filter/by_date_begin.rb
bmc-1.3.5 app/filters/bmc/filter/by_date_begin.rb
bmc-1.3.4 app/filters/bmc/filter/by_date_begin.rb
bmc-1.3.3 app/filters/bmc/filter/by_date_begin.rb
bmc-1.3.2 app/filters/bmc/filter/by_date_begin.rb
bmc-1.3.1 app/filters/bmc/filter/by_date_begin.rb
bmc-1.3.0 app/filters/bmc/filter/by_date_begin.rb
bmc-1.2.1 app/filters/bmc/filter/by_date_begin.rb
bmc-1.2.0 app/filters/bmc/filter/by_date_begin.rb
bmc-1.1.0 app/filters/bmc/filter/by_date_begin.rb
bmc-1.0.1 app/filters/bmc/filter/by_date_begin.rb
bmc-1.0.0 app/filters/bmc/filter/by_date_begin.rb