Skip to content

Conversation

@italomatos
Copy link
Contributor

Replace verbose find_by(id: ...) calls with the more concise find() method across Card model and Storage::Tracked concern.

Replace verbose find_by(id: ...) calls with the more concise find() method across Card model and Storage::Tracked concern.
@italomatos italomatos force-pushed the refactor/replace-find-by-id-with-find branch from cd70edb to 974e096 Compare January 4, 2026 13:12
@italomatos
Copy link
Contributor Author

Closing the PR because I saw that the behavior is correct: using find would raise an exception, and find_by without the bang returns nil.

@italomatos italomatos closed this Jan 4, 2026
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.

1 participant