platctice application of perfect rails chapter6