Created
July 14, 2020 18:54
-
-
Save cmorss/4dfbc1096a4c1c5de4187981ea43e385 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
has_one :intro_progress, inverse_of: :skill_progress, autosave: true, required: false, dependent: :destroy | |
has_one :video_challenge_progress, inverse_of: :skill_progress, autosave: true, required: false, dependent: :destroy | |
has_many :step_progresses, -> { includes(:step).order(:order) }, inverse_of: :skill_progress, autosave: true, | |
dependent: :destroy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment