Samples and practices while learning Rails