Created
February 2, 2009 16:28
-
-
Save Roman2K/56962 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
article = Article.new.save(false) # would be ideal, but `article' equals true here | |
article = Article.new | |
article.save(false) # => true | |
comment = article.comments.build | |
comment.save(false) # => true | |
# ...use these records here... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment