阅读背景:

如何在Rails 3.0中编写特定于数据库的自定义验证器?

来源:互联网 

I need to write a custom validator to check if a record exists in the database or not. Sort of like the opposite of validate uniqueness, however I couldn't find something that could achieve what I wanted in the built in validators.I need to write a custom validator to check if




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

分享到: