about summary refs log tree commit diff stats
path: root/app/models/record.rb
blob: 5837702ca17ce5827029dcfd9889ffad938a649b (plain) (blame)
1
2
3
4
5
class Record < ApplicationRecord
  belongs_to :recordable, polymorphic: true

  validates :description, :recordable, presence: true
end