Learning rails with a demo app