discourse/lib/freedom_patches
Gerhard Schlager 8022e51179 FIX: Failed to restore backups from versions without translation overrides
Rails calls I18n.translate during initialization and by default translation overrides are used. Database migrations would fail if the system tried to migrate from an old version that didn't have the `translation_overrides` table with all its columns yet.

This makes restoring really old backups work again. Running `DISABLE_TRANSLATION_OVERRIDES=1 rake db:migrate` will allow you to upgrade such an old database as well.
2020-03-14 00:00:22 +01:00
..
active_record_attribute_methods.rb DEV: Apply Rubocop redundant return style 2019-11-14 15:10:51 -05:00
active_record_base.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
ams_include_without_root.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
better_handlebars_errors.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
fast_pluck.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
inflector_backport.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
match.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
open_uri_redirections.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
performance_fixes.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
pluck_first.rb DEV: pluck_first 2019-10-21 12:08:20 +01:00
postgresql_adapter.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
rack_patches.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
rails4.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
raw_handlebars.rb Support for transpiling .js files (#9160) 2020-03-11 09:43:55 -04:00
reaper.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
regexp.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
safe_buffer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
safe_migrations.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
schema_cache_concurrency.rb FIX: Patch ActiveRecord SchemaCache for safe concurrency support 2020-02-19 16:26:02 +00:00
schema_migration_details.rb PERF: avoid shelling to get hostname aggressively 2020-02-18 15:13:19 +11:00
sprockets_patches.rb Correct some missing spots for frozen_string_literal 2019-05-13 09:31:32 +08:00
translate_accelerator.rb FIX: Failed to restore backups from versions without translation overrides 2020-03-14 00:00:22 +01:00
zeitwerk.rb Support for transpiling .js files (#9160) 2020-03-11 09:43:55 -04:00