diff --git a/Gemfile b/Gemfile index 9cdfbf21a9d..d0458bde5ff 100644 --- a/Gemfile +++ b/Gemfile @@ -18,7 +18,7 @@ else # this allows us to include the bits of rails we use without pieces we do not. # # To issue a rails update bump the version number here - rails_version = '6.1.4.1' + rails_version = '6.1.6.1' gem 'actionmailer', rails_version gem 'actionpack', rails_version gem 'actionview', rails_version diff --git a/Gemfile.lock b/Gemfile.lock index 02d60dec4fa..6c01108695f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,22 +8,22 @@ GIT GEM remote: https://rubygems.org/ specs: - actionmailer (6.1.4.1) - actionpack (= 6.1.4.1) - actionview (= 6.1.4.1) - activejob (= 6.1.4.1) - activesupport (= 6.1.4.1) + actionmailer (6.1.6.1) + actionpack (= 6.1.6.1) + actionview (= 6.1.6.1) + activejob (= 6.1.6.1) + activesupport (= 6.1.6.1) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) - actionpack (6.1.4.1) - actionview (= 6.1.4.1) - activesupport (= 6.1.4.1) + actionpack (6.1.6.1) + actionview (= 6.1.6.1) + activesupport (= 6.1.6.1) rack (~> 2.0, >= 2.0.9) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actionview (6.1.4.1) - activesupport (= 6.1.4.1) + actionview (6.1.6.1) + activesupport (= 6.1.6.1) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) @@ -32,15 +32,15 @@ GEM actionview (>= 6.0.a) active_model_serializers (0.8.4) activemodel (>= 3.0) - activejob (6.1.4.1) - activesupport (= 6.1.4.1) + activejob (6.1.6.1) + activesupport (= 6.1.6.1) globalid (>= 0.3.6) - activemodel (6.1.4.1) - activesupport (= 6.1.4.1) - activerecord (6.1.4.1) - activemodel (= 6.1.4.1) - activesupport (= 6.1.4.1) - activesupport (6.1.4.1) + activemodel (6.1.6.1) + activesupport (= 6.1.6.1) + activerecord (6.1.6.1) + activemodel (= 6.1.6.1) + activesupport (= 6.1.6.1) + activesupport (6.1.6.1) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -320,12 +320,12 @@ GEM rack (>= 1.2.0) rack-protection (2.1.0) rack - rack-test (1.1.0) - rack (>= 1.0, < 3) + rack-test (2.0.2) + rack (>= 1.3) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) - rails-html-sanitizer (1.4.2) + rails-html-sanitizer (1.4.3) loofah (~> 2.3) rails_failover (0.7.3) activerecord (~> 6.0) @@ -334,11 +334,11 @@ GEM rails_multisite (4.0.0) activerecord (> 5.0, < 7) railties (> 5.0, < 7) - railties (6.1.4.1) - actionpack (= 6.1.4.1) - activesupport (= 6.1.4.1) + railties (6.1.6.1) + actionpack (= 6.1.6.1) + activesupport (= 6.1.6.1) method_source - rake (>= 0.13) + rake (>= 12.2) thor (~> 1.0) rainbow (3.1.1) raindrops (0.20.0) @@ -479,7 +479,7 @@ GEM jwt (~> 2.0) xorcist (1.1.2) yaml-lint (0.0.10) - zeitwerk (2.5.3) + zeitwerk (2.6.0) PLATFORMS aarch64-linux @@ -491,14 +491,14 @@ PLATFORMS x86_64-linux DEPENDENCIES - actionmailer (= 6.1.4.1) - actionpack (= 6.1.4.1) - actionview (= 6.1.4.1) + actionmailer (= 6.1.6.1) + actionpack (= 6.1.6.1) + actionview (= 6.1.6.1) actionview_precompiler active_model_serializers (~> 0.8.3) - activemodel (= 6.1.4.1) - activerecord (= 6.1.4.1) - activesupport (= 6.1.4.1) + activemodel (= 6.1.6.1) + activerecord (= 6.1.6.1) + activesupport (= 6.1.6.1) addressable annotate aws-sdk-s3 @@ -578,7 +578,7 @@ DEPENDENCIES rack-protection rails_failover rails_multisite - railties (= 6.1.4.1) + railties (= 6.1.6.1) rake rb-fsevent rbtrace diff --git a/config/application.rb b/config/application.rb index 1c4a0bb51b4..41997c7f1dd 100644 --- a/config/application.rb +++ b/config/application.rb @@ -246,6 +246,8 @@ module Discourse # see: http://stackoverflow.com/questions/11894180/how-does-one-correctly-add-custom-sql-dml-in-migrations/11894420#11894420 config.active_record.schema_format = :sql + config.active_record.yaml_column_permitted_classes = [Hash, HashWithIndifferentAccess] + # We use this in development-mode only (see development.rb) config.active_record.use_schema_cache_dump = false