You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: use find_or_create_by with block (PR #2558)
Refactored per olleolleolle's suggestion:
- Use find_or_create_by(member, invitation) with block for status
- Check processed_at instead of persisted? for retry detection
- Cleaner, more idiomatic Rails pattern
0 commit comments