Closed dawidof closed 2 months ago
Your best chance is probably sequel-devise gem. However, that's just a hack, the gem just makes Sequel models quack enough like Active Record objects for Devise to work. Devise tried to be ORM-agnostic by using the orm_adapter
gem, but in reality it still calls Active Record methods directly, bypassing the abstraction.
If you want an authentication framework built on top of Sequel, I highly recommend Rodauth. It has a Rails integration, which includes generators and other niceties.
I don't know much about Sequel tbh, but would consider a patch to support it if the changes aren't much. For now, I've taken notes as a potential feature to support in the future.
Environment
Current behavior
rails generate devise user
Expected behavior
Any plans to connect devise with sequel??