example for practising rails on ruby