Tag: scopes
advanced patterns with ActiveRecord scopes when chaining in Ruby on Rails 7.0
Rails 7: How to Properly Scope a Model with Default Scope and Avoid Conflicts?
implementing Custom Scope in Rails 7 Causing Unexpected Results in Querying ActiveRecord