Where clause with Association

TIL that you can use a where clause when defining model associations

```ruby
class Foo < ActiveRecord::Base
  has_many :bars, -> {where(active: true)}
end
```

dominicsanto
February 1, 2022