AssociationScope adds useful scopes for ActiveRecord associations
-
Updated
Sep 4, 2023 - Ruby
AssociationScope adds useful scopes for ActiveRecord associations
Provides functionality to ActiveRecord::Base to delete records while keeping them in the database.
Common ActiveRecord scopes as model concerns
ActiveRecord convenience methods and scopes for publishing and finding published, unpublished and returning recent or upcoming items.
Add a description, image, and links to the scopes topic page so that developers can more easily learn about it.
To associate your repository with the scopes topic, visit your repo's landing page and select "manage topics."