Rails-native authentication
The generated application includes Rails authentication and a ready-to-use RailsDen integration.
Create a standalone RailsDen community or mount RailsDen inside the Rails application you already operate.
Use standalone mode when the community itself is the application.
$ gem install rails_den
$ rails_den new my_community
$ cd my_community
$ bin/rails server
The generated application includes Rails authentication and a ready-to-use RailsDen integration.
New standalone RailsDen applications use PostgreSQL by default.
Active Storage is installed for RailsDen-managed uploads such as avatars and community attachments.
The first registered user becomes the RailsDen administrator.
Embedded RailsDen uses your application's users and authentication while RailsDen provides the community.
gem "rails_den"
$ bundle install
$ bin/rails generate rails_den:install
$ bin/rails rails_den:install:migrations
$ bin/rails db:migrate
RailsDen does not require Devise or another specific authentication library.
Configure your user model, current-user resolver, authentication handler, display names, mention names, and profile links through the RailsDen initializer.
RailsDen's packaged views work immediately.
Copy them into your application when you want local overrides:
$ rails_den install:views
$ rails_den install:views --force