Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add absolutely_all short-hand method #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ryanfaerman
Copy link

I'm finding myself frequently needing entire datasets and invoking the all method as .all(nil, {}, true) which is obtuse.

I've provided a simple method with those options predefined to provide clarity to my codebase.

Using a method with several "magic" attributes is very obtuse for
consumers of the gem. Now, instead of executing `.all(nil, {}, true)`
the following can be executed: `.absolutely_all`.

The latter provides more clarity.
This is a separate commit so it can be excluded during merging if
desired by the original maintainers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant