RubyGems Navigation menu

power_enum 4.0.1

Power Enum allows you to treat instances of your ActiveRecord models as though they were an enumeration of values. It allows you to cleanly solve many of the problems that the traditional Rails alternatives handle poorly if at all. It is particularly suitable for scenarios where your Rails application is not the only user of the database, such as when it's used for analytics or reporting.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 4.0.1 - February 04, 2023 (28 KB)
  2. 4.0.0 - January 20, 2023 (28 KB)
  3. 3.7.0 - June 13, 2022 (28 KB)
  4. 3.6.0 - December 08, 2021 (28 KB)
  5. 3.5.0 - January 05, 2021 (28 KB)
Show all versions (81 total)

Runtime Dependencies (2):

activerecord >= 6.0, < 8
railties >= 6.0, < 8

Development Dependencies (4):

bundler > 1.7
rails >= 6.0, < 8
rake >= 0
rspec ~> 3.1

Owners:

Pushed by:

Authors:

  • Trevor Squires, Pivotal Labs, Arthur Shagall, Sergey Potapov

SHA 256 checksum:

ea030e4c9b7f9e24a28857b8d9cf9b885ac703638b58ed3ea9d5cb576560798f

Total downloads 872,001

For this version 9,270

License:

MIT

Required Ruby Version: >= 2.7.0

Links: