openSNP/snpr

View on GitHub
app/models/picture_phenotype_comment.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class PicturePhenotypeComment < ApplicationRecord
  include PgSearchCommon

  belongs_to :picture_phenotype
  belongs_to :user

  pg_search_common_scope against: [:comment_text, :subject]
end