study of rails