class method where intended

pull/8009/head
ulferts 5 years ago
parent b08f602ec1
commit 8432877cdf
No known key found for this signature in database
GPG Key ID: A205708DE1284017
  1. 2
      app/models/attachment.rb

@ -229,7 +229,7 @@ class Attachment < ActiveRecord::Base
end
end
def tsv_extracted_containers
def self.tsv_extracted_containers
Attachment
.select(:container_type)
.distinct

Loading…
Cancel
Save