- 红宝石 1.9.2p290
- 导轨 3.1.1
我有以下路线输出:
http://localhost:3001/chefs/peter (shows the chef profile **based on username**)
http://localhost:3001/chefs/edit (can edit their profile if logged)
如何防止用户创建已经具有类似编辑操作名称的用户名?
我有以下路线输出:
http://localhost:3001/chefs/peter (shows the chef profile **based on username**)
http://localhost:3001/chefs/edit (can edit their profile if logged)
如何防止用户创建已经具有类似编辑操作名称的用户名?