Sha256: 0f3fbc371e499997c1d751bb9c7e2dd2f3607c123a41238bf235af5e9d59f522

Contents?: true

Size: 230 Bytes

Versions: 5

Compression:

Stored size: 230 Bytes

Contents

class ActiveRecord::UnkownFilterError < NoMethodError
  attr_reader :klass, :filter

  def initialize(klass, filter)
    @klass = klass
    @filter = filter.to_s
    super("unkown filter #{filter.inspect} for #{klass}.")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-filter-5.0.0.beta1 ext/active_record/unkown_filter_error.rb
activerecord-filter-1.0.2 ext/active_record/unkown_filter_error.rb
activerecord-filter-1.0.1 ext/active_record/unkown_filter_error.rb
activerecord-filter-1.0.0 ext/active_record/unkown_filter_error.rb
activerecord-filter-1.0.0.alpha ext/active_record/unkown_filter_error.rb