RubyGems Navigation menu

power_enum 2.12.0

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:
=

install:
=

Versions:

  1. 4.2.0 October 24, 2025 (28.5 KB)
  2. 4.1.0 June 13, 2025 (28 KB)
  3. 4.0.1 February 04, 2023 (28 KB)
  4. 4.0.0 January 20, 2023 (28 KB)
  5. 3.7.0 June 13, 2022 (28 KB)
  6. 2.12.0 August 19, 2017 (28 KB)
Show all versions (83 total)

Runtime Dependencies (2):

activerecord < 5.1, >= 4.0
railties < 5.1, >= 4.0

Development Dependencies (4):

bundler ~> 1.6
rails < 5.1, >= 4.0
rake >= 0
rspec ~> 3.1

Owners:

Authors:

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

SHA 256 checksum:

=

Total downloads 1,033,209

For this version 3,477

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: