Why write tests for Rails apps?  

Unit tests are your friend. The sooner you make peace with the fact that your quality of life will drastically increase when you unit test your code, the better. Seriously.

This excerpt was taken from the official Rails documentation.

Remember, unit tests should be FIRST – fast, isolated, repeatable, self-verifying, and timely.

 
3
Kudos
 
3
Kudos

Now read this

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... Continue →