Skip to content

Commit

Permalink
update attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-shaw committed Dec 3, 2024
1 parent b5f8733 commit 300eb4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def up
end

# Update DataRequest with the correct data_request_area_id
request.update_attribute(:data_request_area_id, data_request_area.id)
request.update_attribute(:data_request_area_id, data_request_area.id) # rubocop:disable Rails/SkipsModelValidations

# TEMP LOGGING INFO
Rails.logger.debug "Updated DataRequest ##{request.id} - #{request.request_type}, with data_request_area_id: #{data_request_area.id} (area_type: #{data_request_area_type}, contact_id: #{data_request_area.contact_id}, data_request_area.user_id: #{data_request_area.user_id}, data_request_area.case_id: #{data_request_area.case_id}, data_request_area.commissioning_document: #{data_request_area.commissioning_document})"
Expand Down

0 comments on commit 300eb4f

Please sign in to comment.