Module: InvoiceBar::Searchable
- Extended by:
- ActiveSupport::Concern
- Included in:
- Account, Address, Contact, Invoice, InvoiceTemplate, Receipt, ReceiptTemplate, User
- Defined in:
- app/concerns/invoice_bar/searchable.rb
Overview
Module that provides search_for
method on a model class. It expects searchable_fields
to be defined. searchable_fields
contains the table fields of the model (attributes) that should be searched.