Rails version of the pollywog assignment