Supplier adding and arranging tables

This commit is contained in:
2014-07-01 17:46:19 +02:00
parent de576d54d9
commit 639a707679
14 changed files with 24448 additions and 22627 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ class List
attr_protected :supplier_id
validates :table_id, presence: true
#validates :table_id, presence: true, table can be deleted
validates :supplier_id, presence: true
view :by_supplier_id_and_id, key: [:supplier_id, :_id]