Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced update with update! to raise an exception in case of validation failure, as suggested by the Rails/SaveBang RuboCop rule. This ensures that any issues with updating the problem_report are explicitly handled by raising an exception. app/controllers/anonymous_feedback/problem_reports_controller.rb:77:24: C: [Correctable] Rails/SaveBang: Use update! instead of update if the return value is not checked. (https://rails.rubystyle.guide#save-bang) problem_report.update(review_attrs) ^^^^^^
- Loading branch information