active_flag
active_flag copied to clipboard
Bit array for ActiveRecord
@kenn thank you for this beautiful and elegant gem! I've added an ability to initialize it with Hash. It is a safer & better option: - you won't be able...
As a note, since the checkout action version is out of date, Dependabot should open a PR to update it once this PR is merged.
It would be very helpful if there was a documented usage of `ActiveFlag` with [`insert_all`](https://apidock.com/rails/v6.0.0/ActiveRecord/Persistence/ClassMethods/insert_all) new to the Ruby on Rails 6. Consider the following dummy example of `db/seeds.rb`, where...
Is it possible to call set_all! with conditions ? Entity.where_not_permissions(:enable_support).set_all!(:enable_support) ?
The code to generate the form is not working = f.collection_check_boxes :languages, Profile.languages.pairs wrong number of arguments (given 2, expected 4..6) Would there be a way to resolve this ?...
Hi @kenn. I done realize requested [feature](https://github.com/kenn/active_flag/issues/33). Check please.