Created
May 21, 2013 05:31
-
-
Save seanirby/5617662 to your computer and use it in GitHub Desktop.
Technical Blog Post Outline: Has And Belongs to Many Associations in Rails
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
A. Intro | |
1.Go over associations and specifically explain the motivation for using a has and belongs to many association | |
B. Body | |
1. Create two models | |
2. Create the associations in each respective model file | |
3. Creating the join table through a migration | |
4. Test out the new association by showing some console output | |
5. Show something cool you can do with a habtm association | |
C. Conclusion | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment