Archive

Rapid Rails Part 1: Command-line mastery

Posted on Thu 27 Mar, 2008

Rapid Rails is a series of articles containing succinct tips to increase your productivity when working with Ruby on Rails. This is the first part, and shows you how to make the most of the command-line tools that come with Rails.

Quickly generate migrations

The Rails generator script (found inside an application’s directory at script/generate) allows you to quickly create templates for anything you need within Rails. As well as models and controllers, you can also use it to write entire migrations:

scr…

Continue reading → | Tagsrails, productivity, programming, rapidrails | 2 comments