rail tutorial sample add