dkniffin/kinship

View on GitHub
app/models/source.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

# == Schema Information
#
# Table name: sources
#
#  created_at  :datetime         not null
#  id          :bigint(8)        not null, primary key
#  name        :string
#  source_info :string
#  updated_at  :datetime         not null
#

class Source < ApplicationRecord
  validates :name, presence: true
end