描述可以Wie空

chromesetting
daiao 5 years ago
parent 1b2d3ebabb
commit 7a18c9cc39

@ -1,8 +1,6 @@
class ShixunInfo < ApplicationRecord class ShixunInfo < ApplicationRecord
belongs_to :shixun belongs_to :shixun
validates_uniqueness_of :shixun_id validates_uniqueness_of :shixun_id
validates_presence_of :shixun_id, :description
after_commit :create_diff_record after_commit :create_diff_record
private private

Loading…
Cancel
Save