Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BE | Refactor PuzzlesController#index & Cleanup UserPuzzlesController #63

Merged
merged 7 commits into from
Oct 29, 2023

Conversation

MelTravelz
Copy link
Contributor

Changes:

  • Refactor PuzzlesController#index action & tests
  • Create NoPuzzleException class
  • Create rescue_from for that class in the ApplicationController
  • Create Puzzle class method ::find_by_zip_code & tests
  • Clean up UserPuzzleController with private methods
  • Create User instance method #format_attributes & tests

This is related to #

This closes #62

[] I linted my work. (RuboCop)

[] I've updated documentation & README. (if necessary)


(For Fun!) Please include a link to a meme/gif of your feelings about this branch!

Link:
fishing-tackle-meme

@MelTravelz MelTravelz self-assigned this Oct 29, 2023
@MelTravelz MelTravelz merged commit 6fb36fd into main Oct 29, 2023
1 check passed
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.

BE | Refactor PuzzlesController#index Endpoint
1 participant