Sha256: e6546cad44f410fa4a51644b2b42d7c6487f3d7bf6b1a37a6c6e630eb7a06f6a

Contents?: true

Size: 234 Bytes

Versions: 1

Compression:

Stored size: 234 Bytes

Contents

module FlexibleFilter
  module Field
    class Equals < Singular
      def arel
        arel_table[field].eq(value)
      end

      def to_s
        "#{model_name.singular} #{field} is equal to #{value}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flexible_filter-0.0.1 lib/flexible_filter/field/equals.rb