Beginning of rails demo