diff --git a/app/models/stacks_media_token.rb b/app/models/stacks_media_token.rb index 29f893e7..7c252c5d 100644 --- a/app/models/stacks_media_token.rb +++ b/app/models/stacks_media_token.rb @@ -90,7 +90,7 @@ def self.verify_encrypted_token?(encrypted_string, expected_id, expected_file_na end def self.create_from_hash(token_hash) - new token_hash[:id], token_hash[:file_name], token_hash[:user_ip] + new token_hash['id'], token_hash['file_name'], token_hash['user_ip'] end private_class_method :create_from_hash diff --git a/config/application.rb b/config/application.rb index fb88ca76..300c95c1 100644 --- a/config/application.rb +++ b/config/application.rb @@ -21,7 +21,7 @@ module DigitalStacks class Application < Rails::Application # Initialize configuration defaults for originally generated Rails version. - config.load_defaults 7.0 + config.load_defaults 7.1 # Please, add to the `ignore` list any other `lib` subdirectories that do # not contain `.rb` files, or that should not be reloaded or eager loaded.