Releases: kenn/active_flag
Releases · kenn/active_flag
v2.0.2
v2.0.0
Breaking Change
op: :and
option is no longer supported. Usewhere_all
instead.
New Feature
- JOIN operation is now supported thanks to composable scopes.
Profile.joins(:users).where_languages(:english).count
# => 2
User.joins(:profile).where(profile: Profile.where_languages(:english)).count
# => 2
Thanks to @fjaeger