Module: Toolbox::Searching::ControllerInstanceMethods
- Defined in:
- lib/toolbox/searching.rb
Instance Method Summary collapse
-
#search_fields ⇒ Object
Returns the fields (array) defined with Toolbox::Searching::ControllerClassMethods::search_fields for this controller.
Instance Method Details
#search_fields ⇒ Object
Returns the fields (array) defined with Toolbox::Searching::ControllerClassMethods::search_fields for this controller.
66 67 68 |
# File 'lib/toolbox/searching.rb', line 66 def search_fields self.class.read_inheritable_attribute('search_fields') || nil end |