Sha256: 06e546fb2604b57f4a49435329b449ac626f46196f16e3ce766fa825928e3131

Contents?: true

Size: 347 Bytes

Versions: 24

Compression:

Stored size: 347 Bytes

Contents

module Riveter
  module QueryFilter
    extend ActiveSupport::Concern

    included do
      include Riveter::Attributes

      class << self
        alias_method :filter_name, :model_name

        def i18n_scope
          :query_filters
        end
      end
    end

    # helper class
    class Base
      include QueryFilter
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
riveter-0.8.3 lib/riveter/query_filter.rb
riveter-0.8.2 lib/riveter/query_filter.rb
riveter-0.8.1 lib/riveter/query_filter.rb
riveter-0.8.0 lib/riveter/query_filter.rb
riveter-0.7.0 lib/riveter/query_filter.rb
riveter-0.6.0 lib/riveter/query_filter.rb
riveter-0.3.0 lib/riveter/query_filter.rb
riveter-0.2.1 lib/riveter/query_filter.rb
riveter-0.2.0 lib/riveter/query_filter.rb
riveter-0.1.1 lib/riveter/query_filter.rb
riveter-0.0.15 lib/riveter/query_filter.rb
riveter-0.0.14 lib/riveter/query_filter.rb
riveter-0.0.13 lib/riveter/query_filter.rb
riveter-0.0.12 lib/riveter/query_filter.rb
riveter-0.0.11 lib/riveter/query_filter.rb
riveter-0.0.10 lib/riveter/query_filter.rb
riveter-0.0.9 lib/riveter/query_filter.rb
riveter-0.0.8 lib/riveter/query_filter.rb
riveter-0.0.7 lib/riveter/query_filter.rb
riveter-0.0.6 lib/riveter/query_filter.rb