Rails version of school project