Active model serializer deprication smash

This commit is contained in:
2015-03-11 07:44:28 +01:00
parent 0a1aa06f2c
commit adff870774
23 changed files with 49 additions and 27 deletions
@@ -1,6 +1,5 @@
class UserExtendedSupplierSerializer < Qwaiter::Serializer
self.root = :supplier
embed :ids, include: true
attributes :extended_version, :open, :name, :orders_in_process_count, :orders_placed_count
has_many :product_categories
#has_many :products only product in category!!!!!!