This Module provides named scope for:

  • Search records in a extjs way (but can reusable)
  • Paginate records in a extjs way (but can be reusable)
  • Add association to the model (used for search in dependents tables)

    Examples:

      invoices = current_account.store.invoices.with(:order).search(params)
      invoices_count = invoices.size
      invoices_paginated = invoices.paginate(params)