Dillon Rodgers
banner
rillon.bsky.social
Dillon Rodgers
@rillon.bsky.social
Software Developer — Rubyist
There’s a couple different ways you can get the inverse record set of a collection in #rubyonrails using `where`, `invert_where`, and `excluding` with each having their own different use case

Personally, I don’t see a reason for `invert_where` outside of a scope
#ruby
March 31, 2025 at 10:26 PM