Skip to content

Replace default_limit and default_sort with default_scope #31

@pilaf

Description

@pilaf

Currently you can set default_limit and default_sort on a model class.

Would be good to replace those settings with a general default_scope that took a block and allowed defining any default scopeable parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions