module AttrSearchable
Constants
- VERSION
Public Class Methods
included(base)
click to toggle source
# File lib/attr_searchable.rb, line 36 def self.included(base) warn "[DEPRECATION] The 'attr_searchable' gem has been deprecated and replaced by 'search_cop'. See: https://github.com/mrkamel/search_cop#attrsearchable-is-now-searchcop" base.class_attribute :searchable_attributes base.searchable_attributes = {} base.class_attribute :searchable_attribute_options base.searchable_attribute_options = {} base.class_attribute :searchable_attribute_aliases base.searchable_attribute_aliases = {} base.extend ClassMethods end