Skip to content

Conversation

@wout
Copy link
Contributor

@wout wout commented Nov 14, 2025

As discussed in the Discord, this adds the .reload? and .reload?(&) methods to safely reload records without raising a Avram::RecordNotFoundError and returning Nil instead.

wout added 2 commits November 14, 2025 08:36
Allow safe reloading records from the database and return `Nil` if the
record no longer exists rather than raising a
`Avram::RecordNotFoundError`.
Copy link
Member

@jwoertink jwoertink left a comment

Choose a reason for hiding this comment

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

🚀

@jwoertink jwoertink merged commit e525dc9 into luckyframework:main Nov 14, 2025
8 checks 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.

2 participants