Skip to content

Commit e36f416

Browse files
authored
Hotfix redis cache (#1134)
* Readd redis-rails * disable turbo on molly payments * move to redis * change quotes
1 parent 7cb8a5e commit e36f416

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ gem 'pundit', '~> 2.5.2'
2929
gem 'rack-attack', '~> 6.8.0'
3030
gem 'rails', '~> 7.2.3'
3131
gem 'rails-i18n', '~> 7.0.10'
32+
gem 'redis', '~> 5.0'
3233
gem 'rest-client', '~> 2.1.0'
3334
gem 'sentry-rails', '~> 6.1', '>= 6.1.1'
3435
gem 'sentry-ruby', '~> 6.1', '>= 6.1.1'

Gemfile.lock

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,26 @@ GEM
417417
erb
418418
psych (>= 4.0.0)
419419
tsort
420+
redis (5.4.1)
421+
redis-client (>= 0.22.0)
422+
redis-actionpack (5.5.0)
423+
actionpack (>= 5)
424+
redis-rack (>= 2.1.0, < 4)
425+
redis-store (>= 1.1.0, < 2)
426+
redis-activesupport (5.3.0)
427+
activesupport (>= 3, < 8)
428+
redis-store (>= 1.3, < 2)
420429
redis-client (0.26.1)
421430
connection_pool
431+
redis-rack (3.0.0)
432+
rack-session (>= 0.2.0)
433+
redis-store (>= 1.2, < 2)
434+
redis-rails (5.0.2)
435+
redis-actionpack (>= 5.0, < 6)
436+
redis-activesupport (>= 5.0, < 6)
437+
redis-store (>= 1.2, < 2)
438+
redis-store (1.11.0)
439+
redis (>= 4, < 6)
422440
regexp_parser (2.11.3)
423441
reline (0.6.3)
424442
io-console (~> 0.5)
@@ -638,6 +656,7 @@ DEPENDENCIES
638656
rails-controller-testing (~> 1.0.5)
639657
rails-i18n (~> 7.0.10)
640658
rb-readline (~> 0.5.5)
659+
redis-rails (~> 5.0)
641660
rest-client (~> 2.1.0)
642661
rspec-rails (~> 8.0.2)
643662
rubocop (~> 1.81.7)

app/views/payments/add.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Saldo opwaarderen voor <%= @user.name %>
1111
</h1>
1212

13-
<%= simple_form_for(@payment, wrapper: :horizontal_form) do |f| %>
13+
<%= simple_form_for(@payment, wrapper: :horizontal_form, data: { turbo: false }) do |f| %>
1414
<div class="col-12">
1515
<p>
1616
Voer hier het bedrag in dat je wilt inleggen. Hierna zal je worden doorgestuurd naar de betaalomgeving.

0 commit comments

Comments
 (0)