Add example rails code