阅读背景:

如何在Rails中限制输入英文字符?

来源:互联网 

I'm getting a lot of submissions to my publicly editable site in different languages, but would like to limit it to just English characters. Is there any simple way to do this? Should I just do a validation with a regex limiting characters, or are there any common issues with that method?I'm getting a lot of submissions to my publicly




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: