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
@@ -8,7 +8,6 @@
class UserExtendedListSerializer < Qwaiter::Serializer
# user ids for facebook pictures
self.root = :list
embed :ids, include: true
attributes :extended_version, :state, :needs_help, :needs_payment, :user_requests_closing, :is_paid, :price,
:table_id, :table_number, :section_id, :user_ids, :supplier_id, :closed_at
#:supplier_orders_in_process_count, :supplier_orders_placed_count