#!/usr/bin/env ruby # This code comes from http://ruby-it.org/pages/5.2+-+Creiamo+il+nostro+primo+controller # Check the page for copyright notice and explanations /generate controller TeamController < ApplicationController list @teams = Team.find(:all, :order => "name")