浏览代码

增加导入翻译文件

abiao 5 年之前
父节点
当前提交
719577ae91
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      app/models/update_order.rb

+ 0 - 2
app/models/update_order.rb

@@ -2,8 +2,6 @@
 class UpdateOrder < ActiveRecord::Base
   has_paper_trail
   self.table_name = "update_orders"
-  has_ancestry
-  validates :order_id, presence: true
 
   rails_admin do
     navigation_label '商品管理'