concord-consortium/rigse

View on GitHub
rails/app/models/tool.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Tool < ApplicationRecord
  has_many :external_activities, dependent: :nullify

  def self.options_for_tool
    Tool.all.map { |t| [t.name, t.id] }
  end

end