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?
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?
The functionality you're looking for is provided by Sequel's enum gem.
Checkout the README for implementation details.