Authentication with Sorcery, RSpec, and Rails 7: Building a simple Rails CMS - Part 1

This page summarizes the projects mentioned and recommended in the original post on dev.to

Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. wizardcms

    A Rails 7 app showcasing authentication with Sorcery, tested with RSpec

    Source code on GitHub

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. Sorcery

    Magical Authentication (by Sorcery)

    We'll be installing Sorcery based off this tutorial in their wiki. I'm modifying a little bit since we are creating something different, but also because their tutorial is a bit outdated since it is based off an older version of Rails.

  4. rails-ujs

    Discontinued Ruby on Rails unobtrusive scripting adapter

    Prior to Rails 7, when you would want to log out or destroy a resource (a post or image), you would write <%= link_to "Sign out", destroy_user_session_path, method: :delete %>. The method: :delete part relied on an old library, rails-ujs and it helped make NON-Get requests from hyperlinks. Now with Turbo, the solution is to add data: { "turbo-method": :delete } so you don't get an error saying the link_to helper was looking for a GET resource. However, Turbo is not handling the redirect as we expect it, or at all, we need to explicitly say we want a 303 redirect so we add status: :see_other as an option in our destroy action.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Everything was going great until I installed Devise!

    2 projects | /r/rails | 10 Jun 2023
  • Build a password authentication feature with Sorcery gem.

    1 project | /r/rails | 10 Apr 2022
  • A November of WTFs

    3 projects | dev.to | 19 Nov 2021
  • Why there is no simple default auth in Rails?

    5 projects | /r/rails | 20 Sep 2021
  • Ruby on Rails Flash notifications with Hotwire and ViewComponents

    3 projects | dev.to | 24 May 2025

Did you know that Ruby is
the 12th most popular programming language
based on number of references?