Skip to content

Conversation

@dcollie2
Copy link
Collaborator

Updates gems. Also changes :unprocessable_entity to :unprocessable_content to eliminate deprecation warning when running specs.

@dcollie2 dcollie2 requested a review from Copilot September 12, 2025 14:06
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates gems and addresses deprecation warnings by replacing the deprecated :unprocessable_entity HTTP status symbol with :unprocessable_content throughout the codebase.

  • Updates gem dependencies
  • Replaces deprecated :unprocessable_entity status with :unprocessable_content in controllers and specs
  • Maintains the same HTTP 422 status code while using the updated Rails convention

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
spec/requests/users_spec.rb Updates test expectations to use :unprocessable_content status
spec/requests/regions_spec.rb Updates test expectations to use :unprocessable_content status
spec/requests/providers_spec.rb Updates test expectations to use :unprocessable_content status
app/controllers/users_controller.rb Updates controller responses to use :unprocessable_content status
app/controllers/uploads_controller.rb Updates controller responses to use :unprocessable_content status
app/controllers/topics_controller.rb Updates controller responses to use :unprocessable_content status
app/controllers/tags_controller.rb Updates controller responses to use :unprocessable_content status
app/controllers/regions_controller.rb Updates controller responses to use :unprocessable_content status
app/controllers/providers_controller.rb Updates controller responses to use :unprocessable_content status

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@dcollie2 dcollie2 merged commit cc483a5 into main Sep 13, 2025
4 checks passed
@dcollie2 dcollie2 deleted the gem-updates branch September 13, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants