rails code generated for prototype dashboard