Articles by Apoorv Tiwari

Rails 7 enables scoping to apply to all queries

Rails 7 allows passing all_queries option to the scoping method. This change allows the scoping method to work on all queries for a model in a block.