mongoid-enum
mongoid-enum copied to clipboard
Sweet enum sugar for your Mongoid documents
Help !!! ``` base) ➜ raceday git:(master) ✗ bundle The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for...
Appears all that is needed is a gemspec change.
Just looking through and noticing that there has not been a commit in 2 years, and PRs that seem to have been ignored for some time as well. Does this...
Updated the mongoid gem version for a better compatibility for the new versions.
Adds support for Mongoid 6 while retaining support for Mongoid 5 at the same time. NOTE: This PR is stacked on top of PR #48 to account for the changes...
What is the correct syntax for creating an index on an enum field? I've already created an enum named action like this. `enum :action, Enum::Task::ACTION, default: :something` I wanted to...
This is a feature request. I am waiting for the compatibility support for Mongoid 6
I get an error when trying to map enum values explicitly (as can be done with `ActiveRecord::Enum`). For example: ``` # see https://en.wikipedia.org/wiki/ISO/IEC_5218 enum :sex, { unknown: 0, male: 1,...