end of day commit
This commit is contained in:
@@ -7,6 +7,8 @@ class ProductCategory
|
||||
belongs_to :supplier
|
||||
has_many :products
|
||||
|
||||
attr_protected :supplier_id
|
||||
|
||||
validates :position, numericality: true
|
||||
validates :supplier_id, presence: true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user