Skip to content

Releases: kenn/active_flag

v2.0.2

04 Sep 08:59
Compare
Choose a tag to compare

Changes

  • Future Proof: Added logger, mutex_m, bigdecimal to add_runtime_dependency. Might remove them when the future versions of Rails incorporates them, but it's better to have them for now.

v2.0.0

04 Sep 08:20
Compare
Choose a tag to compare

Breaking Change

  • op: :and option is no longer supported. Use where_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