1

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?

2
  • 1
    have you tired sequel_enum gem? github.com/planas/sequel_enum Commented Jun 17, 2015 at 16:49
  • You're welcome. Should I add it as an answer, so that we can close this thread? Commented Jun 17, 2015 at 16:51

1 Answer 1

1

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

Checkout the README for implementation details.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.