render_turbo_stream 4.3.14 → 4.3.15
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 134824095a6baf570e7a0702b435773c623cae537059ee6883dc141cb9a15237
|
4
|
+
data.tar.gz: 31aba69f008b047d5ab1234f621b3bc5d1858c8808fb644bb2d59eaf63766b19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cc9bc72db795c128ede596635e5a9b303033e58d2b6f791767eb3d3d1c720ab23e307dcd0cf2b9a41667a24f33ca4d8509e3594854a14cd456b56de539ddbd4
|
7
|
+
data.tar.gz: 3dd2fe010267ee08a0f1b82f350310a4b6dc53e5c5e93912d464b3f4420787e2c2cf93ddb684221540a4b49a6ed87604f9eb766d1a42ce5428aed9508db3e9a4
|
@@ -185,7 +185,11 @@ module RenderTurboStream
|
|
185
185
|
|
186
186
|
if save_action
|
187
187
|
if Rails.configuration.x.store_last_saved_object && object.id
|
188
|
-
|
188
|
+
begin
|
189
|
+
session['last_saved_object'] = object.to_global_id
|
190
|
+
rescue
|
191
|
+
Rails.logger.debug("session['last_saved_object'] = ... failed. You may be in test environent?")
|
192
|
+
end
|
189
193
|
end
|
190
194
|
else
|
191
195
|
RenderTurboStream::Libs.debug_save_errors(object, flash_controller_action_name)
|
@@ -67,7 +67,11 @@ module RenderTurboStream
|
|
67
67
|
|
68
68
|
if save_action
|
69
69
|
if Rails.configuration.x.store_last_saved_object && object.id
|
70
|
-
|
70
|
+
begin
|
71
|
+
session['last_saved_object'] = object.to_global_id
|
72
|
+
rescue
|
73
|
+
Rails.logger.debug("session['last_saved_object'] = ... failed. You may be in test environent?")
|
74
|
+
end
|
71
75
|
end
|
72
76
|
else
|
73
77
|
response.status = 422
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: render_turbo_stream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- christian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|