Fix deprecation warnings
This commit is contained in:
parent
84337c3a7d
commit
a3f0d0f2cf
@ -27,8 +27,7 @@ class User < ApplicationRecord
|
|||||||
scope :confirmed, -> { where.not(confirmed_at: nil) }
|
scope :confirmed, -> { where.not(confirmed_at: nil) }
|
||||||
scope :pending, -> { where(confirmed_at: nil) }
|
scope :pending, -> { where(confirmed_at: nil) }
|
||||||
|
|
||||||
lockbox_encrypts :ln_login
|
has_encrypted :ln_login, :ln_password
|
||||||
lockbox_encrypts :ln_password
|
|
||||||
|
|
||||||
# Include default devise modules. Others available are:
|
# Include default devise modules. Others available are:
|
||||||
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
|
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
|
||||||
|
@ -22,7 +22,7 @@ Bundler.require(*Rails.groups)
|
|||||||
module Akkounts
|
module Akkounts
|
||||||
class Application < Rails::Application
|
class Application < Rails::Application
|
||||||
# Initialize configuration defaults for originally generated Rails version.
|
# Initialize configuration defaults for originally generated Rails version.
|
||||||
config.load_defaults 6.0
|
config.load_defaults 7.0
|
||||||
|
|
||||||
# Settings in config/environments/* take precedence over those specified here.
|
# Settings in config/environments/* take precedence over those specified here.
|
||||||
# Application configuration can go into files in config/initializers
|
# Application configuration can go into files in config/initializers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user