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 ChallengeAnswer < ApplicationRecord
 | 
						
						
						
							|  |   default_scope { order("challenge_answers.level asc") }
 | 
						
						
						
							|  |   belongs_to :challenge
 | 
						
						
						
							|  |   has_many :game_answers, :dependent => :destroy
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  |   def view_answer_time(user_id)
 | 
						
						
						
							|  |     game_answers.where(user_id: user_id).last&.view_time
 | 
						
						
						
							|  |   end
 | 
						
						
						
							|  | end
 |