摘要: class ApplicationRecord < ActiveRecord::Base self.abstract_class = true # 在数据被创建,更新,或删除后after_commit(*arg, &block) # 还 不理解 after_commit { CommentRelay 阅读全文
posted @ 2018-04-08 20:38 Mr-chen 阅读(99) 评论(0) 推荐(0) 编辑