sanger/sequencescape

View on GitHub
app/models/request_information.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true
class RequestInformation < ApplicationRecord
  belongs_to :request_information_type
  belongs_to :request

  scope :information_type, ->(*args) { where(request_information_type_id: args[0]) }
end