Sha256: 46d84ef90e24939f5964db43ca827542ca1ad43dc248902167ac0027a764cc8f
Contents?: true
Size: 483 Bytes
Versions: 2
Compression:
Stored size: 483 Bytes
Contents
# == Schema Information # # Table name: quizzes_users # # id :integer not null, primary key # name :string # points :string # created_at :datetime not null # updated_at :datetime not null # require_dependency "quizzes/application_record" module Quizzes class User < ApplicationRecord has_many :games, dependent: :destroy has_many :game_questions, through: :games has_many :questions, through: :game_questions end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
quizzes-0.1.1 | app/models/quizzes/user.rb |
quizzes-0.1.0 | app/models/quizzes/user.rb |