RubyGems Navigation menu

rich_enums 0.2.0

With Enums we are able to map a label to a value on the database. Use Rich Enum if you need to maintain an additional mapping at the point of enum definition, for e.g. for presentation purposes or for mapping to a different value on a different system.

Gemfile:
=

install:
=

Versions:

  1. 0.2.0 March 24, 2025 (12.5 KB)
  2. 0.1.5 August 21, 2024 (12 KB)
  3. 0.1.4 April 29, 2024 (11.5 KB)
  4. 0.1.3 July 10, 2023 (10.5 KB)
  5. 0.1.2 March 22, 2022 (10 KB)
Show all versions (7 total)

Runtime Dependencies (1):

activerecord >= 7.0, < 9.0

Development Dependencies (5):

logger ~> 1.6
rake ~> 12.0
rspec ~> 3.0
sqlite3 >= 1.4, < 3.0
temping ~> 4.1

Owners:

Pushed by:

Authors:

  • harunkumars, rtdp

SHA 256 checksum:

=

Total downloads 4,287

For this version 126

Version Released:

License:

MIT

Required Ruby Version: >= 2.3.0

Links: