LIKE model.where(Sequel.like(:column, "%#{term}%")) UPDATE model.where(:column => value).update(:enabled => false)