Implementatino fixes
This commit is contained in:
@@ -22,6 +22,7 @@ class Table
|
||||
validates :number, numericality: true #{greater_than: 0}
|
||||
view :by_supplier_id_and_id, key: [:supplier_id, :_id]
|
||||
view :by_supplier_id_and_number, key: [:supplier_id, :number]
|
||||
view :by_section_id, key: :section_id
|
||||
|
||||
#validates_uniqueness_of :number
|
||||
view :by_number, key: :number
|
||||
|
||||
Reference in New Issue
Block a user