Rails Workflow

Today, I made a couple (tiny) Rails apps.

Granted, Rails generators handled a lot of the black magic; but I was able to establish a simple workflow to get up and running quickly, and I would like to share it with you.

Do the following in your terminal. Use vim. Be a rockstar.

Rails Workflow #

A few simple steps when starting a new Rails project #

 
4
Kudos
 
4
Kudos

Now read this

Naming Variables

Russ Cox writes: A name’s length should not exceed its information content. For a local variable, the name i conveys as much information as index or idx and is quicker to read. Similarly, i and j are a better pair of names for index... Continue →