Implementatino fixes

This commit is contained in:
2016-06-02 11:13:56 +02:00
parent 54e0dd1a3e
commit 1acd200408
11 changed files with 38 additions and 34 deletions
+1
View File
@@ -10,6 +10,7 @@ class SectionElement
belongs_to :svg_element
view :by_supplier_id, key: :supplier_id
view :by_section_id, key: :section_id
def self.for_supplier(supplier)
find_all_by_supplier_id(supplier.id)