Rails portion of Pollywog Ranch homework