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

Basic ActiveRecord Scopes #30

Open
11 tasks
Adeynack opened this issue Nov 8, 2022 · 0 comments
Open
11 tasks

Basic ActiveRecord Scopes #30

Adeynack opened this issue Nov 8, 2022 · 0 comments

Comments

@Adeynack
Copy link
Contributor

Adeynack commented Nov 8, 2022

Situation

Project eaze lists a few interesting scopes in its ApplicationRecord that are useful in any project.

  • random
  • stable_random
  • scope_if
  • as_result
  • as_hashes

Acceptance Criteria

  • All scopes of ApplicationRecord are moved from eaze to Shimmer
  • Make sure stable_random are doing the same between this version and Copa Coupona's version
  • Add possibility to optionally parameterize scope_if
  • Document usage
  • PR is open in the following projects, where any of those
    • eaze
    • KS Core
    • copa-coupona
    • Tiny Farms
    • Flip Vinyls
    • Recordsale (?)
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

No branches or pull requests

1 participant