Sha256: 1a276f99bcc0947cfa2bfd14a13a7c8d1cae175496b6ba7ce4a1475c1f005d66
Contents?: true
Size: 304 Bytes
Versions: 29
Compression:
Stored size: 304 Bytes
Contents
require 'simple_search_filter/models/searchable_class_methods' class << ActiveRecord::Base def searchable_by_simple_filter(options={}) extend SimpleSearchFilter::Models::SearchableClassMethods scope :by_filter, ->(filter, options={}) { make_search_by_filter(filter, options) } end end
Version data entries
29 entries across 29 versions & 1 rubygems