Created
October 26, 2015 13:23
-
-
Save Joeventures/586b325126f9fc2d8f71 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
1.1. Presumably it would delete the first post by the comment author. A user would need to have a has_many :posts relationship. | |
1.2. It would create a new comment in a post titled "New Years Resolution." It tells us that Post has a has_many relationship to comments. | |
2.1. One is with a query string, and the other is with a body. | |
2.2. Through the browser, at the end of a URL. | |
3.1. Less specific <== HTML element, Class, ID ==> More specific | |
3.2. Content, Padding, Border, Margin | |
3.3. Inline, Block, Inline-Block |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment