From 604a3c9ad7d04732aac58bce503bf5e64a8cb4b4 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Sun, 16 Jun 2019 16:49:57 +0200 Subject: [PATCH] remove obsolete attribute --- app/serializers/client_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/serializers/client_serializer.rb b/app/serializers/client_serializer.rb index 3f24beb32..47e32759e 100644 --- a/app/serializers/client_serializer.rb +++ b/app/serializers/client_serializer.rb @@ -5,7 +5,7 @@ class ClientSerializer set_id :uid cache_options enabled: true, cache_length: 24.hours - attributes :name, :symbol, :re3data, :year, :contact_name, :contact_email, :description, :domains, :url, :created, :updated + attributes :name, :symbol, :year, :contact_name, :contact_email, :description, :domains, :url, :created, :updated belongs_to :provider, record_type: :providers belongs_to :repository, record_type: :repositories, if: Proc.new { |client| client.repository_id }