comment the conflict in creating menu item instances with account and item attribute validate

This commit is contained in:
PhyoTheingi
2017-06-05 10:00:32 +06:30
parent 9b90e3bd7e
commit 42ba2d9ae4
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
class MenuItem < ApplicationRecord
belongs_to :account
# belongs_to :account
belongs_to :menu_category, :optional => true
has_many :menu_item_instances
belongs_to :parent, :class_name => "MenuItem", foreign_key: "menu_item_id", :optional => true