A rails study notes