Created
November 11, 2009 18:37
-
-
Save jaydonnell/232186 to your computer and use it in GitHub Desktop.
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
# i don't have a rails app handy, but I think this works if you have dependt destroy set for the child relationship | |
post.comments.delete(@some_comment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment