5 lines
101 B
Ruby
5 lines
101 B
Ruby
class Quiz < ApplicationRecord
|
|
has_many :questions, -> { order(:sort) }
|
|
has_many :candidates
|
|
end
|