Skip to content

Commit

Permalink
Merge pull request #220 from giedriusr/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev authored Jun 17, 2024
2 parents 506f448 + 7823656 commit bd17b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/3.0/guides/display-scope-record-count.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The `name` and `description` scope options can be callable values and receive th
The `query` object is the actual Active Record query (unscoped) that is made to fetch the records.

There is also possible to access the `scoped_query` method that will return the `query` after applying the `scope`.
You my use that to display a counter of how many record are there in that scope. Notice that it can impact page loading time when applying on large data tables.
You may use that to display a counter of how many records are there in that scope. Notice that it can impact page loading time when applying on large data tables.

### Example

Expand Down

0 comments on commit bd17b0e

Please sign in to comment.