Skip to content

Commit 2330925

Browse files
committed
Use rails 7.1 default configs
1 parent ee6f168 commit 2330925

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/models/stacks_media_token.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def self.verify_encrypted_token?(encrypted_string, expected_id, expected_file_na
9090
end
9191

9292
def self.create_from_hash(token_hash)
93-
new token_hash[:id], token_hash[:file_name], token_hash[:user_ip]
93+
new token_hash['id'], token_hash['file_name'], token_hash['user_ip']
9494
end
9595
private_class_method :create_from_hash
9696

config/application.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
module DigitalStacks
2222
class Application < Rails::Application
2323
# Initialize configuration defaults for originally generated Rails version.
24-
config.load_defaults 7.0
24+
config.load_defaults 7.1
2525

2626
# Please, add to the `ignore` list any other `lib` subdirectories that do
2727
# not contain `.rb` files, or that should not be reloaded or eager loaded.

0 commit comments

Comments
 (0)