Sha256: 429139c618b23f9bfab4391b3b45ea23ad370a66041f738fc7c3de0f201ccb51
Contents?: true
Size: 342 Bytes
Versions: 15
Compression:
Stored size: 342 Bytes
Contents
module Searchlogic module Condition class EndsWith < Base self.join_arrays_with_or = true class << self def condition_names_for_column super + ["ew", "ends", "end"] end end def to_conditions(value) ["#{column_sql} LIKE ?", "%#{value}"] end end end end
Version data entries
15 entries across 15 versions & 2 rubygems