1 repository
Named scopes that translate sort parameters into ordered SQL clauses for database queries.
Distinct from Attribute-Based Sorting: Distinct from Attribute-Based Sorting: focuses on database-level sort scopes for query results rather than UI element ordering.
Explore 1 awesome GitHub repository matching user interface & experience · Database Query Sort Scopes. Refine with filters or upvote what's useful.
Ransack is an object-based search library for Active Record models that provides a form-driven framework for building database queries. It generates query conditions from user input through a configurable predicate system, allowing developers to filter records using simple or advanced criteria without writing SQL or relying on external dependencies. The library distinguishes itself through its predicate-based query construction, where search methods are dynamically generated from model attribute names and predicate suffixes at runtime. It wraps search parameters into a dedicated form object t
Implements sorting as named scopes that translate sort parameters into ordered SQL clauses.