Created
September 29, 2017 17:16
-
-
Save giovannibenussi/77fe6b9cbcec520ecdb83661aaf90b3e to your computer and use it in GitHub Desktop.
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 = Post.new | |
post.user = nil | |
post.save!(validate: false) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment