摘要:
validate(), 这个方法在每次保存数据时都会被调用.如:def validate if name.blank? && email.blank? errors.add_to_base("You must specify a name or an email address") endend同时 阅读全文
摘要:
完整操作流程:Setting->Editor->Inspections->Java->Serialization issues->Serializable class without ‘serialVersionUID’(选择勾上) 配置完成后,如果你的Class实现了Serializable接口, 阅读全文
摘要:
在Redis运行过程中,报错信息如下: Redis::CommandError (MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands 阅读全文