8000 Merge pull request #3496 from DMPRoadmap/aaron/config.load_defaults-7.1 · DMPRoadmap/roadmap@3506e05 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3506e05

Browse files
authored
Merge pull request #3496 from DMPRoadmap/aaron/config.load_defaults-7.1
Match `config.load_defaults` Version to Rails Version
2 parents 9572e01 + 325b49f commit 3506e05

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
- Updated app to Rails 7 [#3426](https://github.com/DMPRoadmap/roadmap/pull/3426)
3+
- Updated app to Rails 7 [#3426](https://github.com/DMPRoadmap/roadmap/pull/3426), [#3496](https://github.com/DMPRoadmap/roadmap/pull/3496)
44
- Address Some Bullet Warnings / Optimise Mean Request Times [#3440](https://github.com/DMPRoadmap/roadmap/pull/3440)
55
- Fix Flaky Tests / Optimize Checking of `plan.title` Within `spec/features/plans/exports_spec.rb` [#3451](https://github.com/DMPRoadmap/roadmap/pull/3451)
66
- Refactor Plan.deep_copy(plan) [#3469](https://github.com/DMPRoadmap/roadmap/pull/3469)

app/models/user.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@ class User < ApplicationRecord
6868
:rememberable, :trackable, :validatable, :omniauthable,
6969
omniauth_providers: %i[shibboleth orcid]
7070

71-
##
72-
# User Notification Preferences
73-
serialize :prefs, type: Hash
74-
7571
# default user language to the default language
7672
attribute :language_id, :integer, default: -> { Language.default&.id }
7773

config/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module DMPRoadmap
1414
# DMPRoadmap application
1515
class Application < Rails::Application
1616
# Initialize configuration defaults for originally generated Rails version.
17-
config.load_defaults 7.0
17+
config.load_defaults 7.1
1818

1919
# Settings in config/environments/* take precedence over those specified here.
2020
# Application configuration can go into files in config/initializers

0 commit comments

Comments
 (0)
0