Learning rails by practice