GoRails Screencasts

Refactoring Local Variables To Methods

Sometimes you write code to get a feature working and stop there. With a little refactoring, you can extract local variables into methods that make testing and extending easier.

Listen