File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed
app/controllers/lab_connect Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 225
225
jquery-ui-rails (8.0.0 )
226
226
railties (>= 3.2.16 )
227
227
json (2.12.2 )
228
- jwt (2.10.1 )
228
+ jwt (2.10.2 )
229
229
base64
230
230
kamal (2.7.0 )
231
231
activesupport (>= 7.0 )
266
266
mime-types (3.7.0 )
267
267
logger
268
268
mime-types-data (~> 3.2025 , >= 3.2025.0507 )
269
- mime-types-data (3.2025.0624 )
269
+ mime-types-data (3.2025.0701 )
270
270
mini_mime (1.1.5 )
271
271
mini_portile2 (2.8.9 )
272
272
minitest (5.25.5 )
303
303
pg_search (2.3.7 )
304
304
activerecord (>= 6.1 )
305
305
activesupport (>= 6.1 )
306
- phonelib (0.10.9 )
306
+ phonelib (0.10.10 )
307
307
pp (0.6.2 )
308
308
prettyprint
309
309
prawn (2.5.0 )
434
434
sprockets-rails
435
435
tilt
436
436
securerandom (0.4.1 )
437
- selenium-webdriver (4.33 .0 )
437
+ selenium-webdriver (4.34 .0 )
438
438
base64 (~> 0.2 )
439
439
logger (~> 1.4 )
440
440
rexml (~> 3.2 , >= 3.2.5 )
Original file line number Diff line number Diff line change @@ -25,10 +25,18 @@ def set_diagnostic_report
25
25
end
26
26
27
27
def diagnostic_report_params
28
- params . permit ( diagnostic_report : [
29
- { results_attributes : %i[ id lab_test_value_id value ] } ,
30
- notes_attributes : %i[ id content department_id ]
31
- ] ) . require ( :diagnostic_report )
28
+ params . expect ( diagnostic_report : [
29
+ { results_attributes : [ [
30
+ :id ,
31
+ :lab_test_value_id ,
32
+ :value
33
+ ] ] } ,
34
+ notes_attributes : [ [
35
+ :id ,
36
+ :content ,
37
+ :department_id
38
+ ] ]
39
+ ] )
32
40
end
33
41
end
34
42
end
You can’t perform that action at this time.
0 commit comments