You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
class ChallengeChoose < ApplicationRecord
|
|
default_scope {order("position asc")}
|
|
belongs_to :challenge, optional: true
|
|
has_many :challenge_tags, :dependent => :destroy
|
|
has_many :challenge_questions, dependent: :destroy
|
|
end
|