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 TrustieHack < ApplicationRecord
 | 
						
						
						
							|  |   validates_length_of :description, maximum: 500
 | 
						
						
						
							|  |   has_many :hack_users, :dependent => :destroy
 | 
						
						
						
							|  |   belongs_to :trustie_hackathon, counter_cache: true
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  |   def entry_info(user_id)
 | 
						
						
						
							|  |     hack_users.exists?(user_id: user_id)
 | 
						
						
						
							|  |   end
 | 
						
						
						
							|  | end
 |