jeremyevans / rodauth

Ruby's Most Advanced Authentication Framework
http://rodauth.jeremyevans.net
MIT License
1.67k stars 95 forks source link

Documentation Request regarding Active Record #282

Closed brandondrew closed 1 year ago

brandondrew commented 1 year ago

Rodauth looks awesome, and thank you for making it possible to integrate with Rails!

However there are a couple of questions that stand out to anyone using Rails:

The reasons I ask are:

jeremyevans commented 1 year ago

You probably want to ask this question on the rodauth-rails discussion forum: https://github.com/janko/rodauth-rails/discussions/new

To be brief, Rodauth is build on top of Roda and Sequel. While Rodauth uses Sequel for database access, you don't other have to use Sequel in your application, even if your application uses ActiveRecord. Sequel should not conflict with ActiveRecord. By default, the two are independent, though rodauth-rails and related libraries allow for some integration.