Created
July 7, 2026 09:52
-
-
Save devotdev/0ba256387dff35b6ab5f7246fe225025 to your computer and use it in GitHub Desktop.
Simple ActiveRecord update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| user.update!( | |
| archived: true, | |
| archived_at: Time.current | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment