little rails program to mananger code example