0
0
Fork 0

Extend rails-settings-cached to merge db-saved hash values with defaults

This commit is contained in:
Eugen Rochko 2017-01-13 02:42:22 +01:00
parent ca50ceeaf0
commit 2939e9898b
6 changed files with 44 additions and 70 deletions

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
class User < ApplicationRecord
include RailsSettings::Extend
include Settings::Extend
devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable, :confirmable