-
-
Save mnordin/b91386acd5c4959caa0b to your computer and use it in GitHub Desktop.
after using inverse_of
This file contains 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
post.reload | |
=> #<Post id: 1, title: "First post"> | |
post.title = "First post - revised" | |
=> "First post - revised" | |
post.title | |
=> "First post - revised" | |
comment.post.title | |
=> "First post - revised" | |
post.object_id | |
=> 70168784655800 | |
comment.post.object_id | |
=> 70168784655800 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment