openHPI / codeharbor

Exchange of Programming Exercises acrossdiverse Code Assessment Systems through CodeHarbor
BSD 3-Clause "New" or "Revised" License
6 stars 3 forks source link

Resolve warnings about unpermitted parameters during task#create and task#update #1555

Closed MrSerth closed 1 day ago

MrSerth commented 1 month ago

As noticed during #1103, the following warnings were present when saving a task:

Unpermitted parameter: :uuid.
Unpermitted parameters: :_method, :authenticity_token, :task, :button, :id. 

This PR fixes said behavior and includes two minor adjustments in the form builder for tasks, too.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.02%. Comparing base (df6988e) to head (b183fdc). Report is 92 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1555 +/- ## ========================================== + Coverage 93.77% 94.02% +0.25% ========================================== Files 122 126 +4 Lines 2955 3096 +141 ========================================== + Hits 2771 2911 +140 - Misses 184 185 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.