14 lines
583 B
Ruby
14 lines
583 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ApplicationController < ActionController::Base
|
|
# Database: You can store session data in your application's database. This
|
|
# requires additional setup, but it can be useful if you need to store large
|
|
# amounts of data or want to share session data between multiple web servers.
|
|
#
|
|
# To configure the session storage option, you can edit your Rails application's
|
|
# config/application.rb file.
|
|
# For example, to use the database for session
|
|
# storage, you can add the following line:
|
|
config.session_store :active_record_store
|
|
end
|