8 lines
139 B
Ruby
8 lines
139 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class SnippetStatistics < ApplicationRecord
|
||
|
belongs_to :snippet
|
||
|
|
||
|
validates :snippet, presence: true
|
||
|
end
|