Created
January 29, 2015 14:41
-
-
Save HammerInTheNews/f84a24c3292cf926fb2b 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
# This creates Review model, controller, columns, and indexed movie_id column, and a one-to-many relationship between reviews movies. | |
rails g resource Review name:string stars:integer comment:text movie:references --no-test-framework |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment