How to use enum on Sequel Rails?

1.6k views Asked by At

I am trying to use enum on my rails application that uses Sequel instead of Active Record.

How do i use enum when using Sequel instead of AR?

1

There are 1 answers

0
Rahul Roy On BEST ANSWER

The functionality you're looking for is provided by Sequel's enum gem.

Checkout the README for implementation details.