Skip to content

Releases: kenn/active_flag

2.1.1

05 Jan 13:11

Choose a tag to compare

  • Fixed #41 - added relation_method_conflict? check

v2.1.0

05 Jan 01:32

Choose a tag to compare

Add set_all! and unset_all! for scoped relation — #40 @sncalvo

v2.0.3

13 Dec 14:33

Choose a tag to compare

Changes

  • Future Proof: Symbol-based key lookup. #35

v2.0.2

04 Sep 08:59

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

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