-
This is a numbered list.
-
I'm going to include a fenced code block as part of this bullet:
Code More Code
N.B. Things that are starred with * are local variable
- Ok, first generate a new rails app using this format:
- rails new app_name
rails new amit_test_blog
- Ok, next sketch out your models.
- We're going to have two models for this blog: User and Post
- One users can have many posts and many posts can belong to one users
- Figure out the fields in each model.
- Users will have these: field:type