6 lines
		
	
	
		
			208 B
		
	
	
	
		
			Ruby
		
	
	
	
		
		
			
		
	
	
			6 lines
		
	
	
		
			208 B
		
	
	
	
		
			Ruby
		
	
	
	
|  | class AuthSubManager < Authorization | ||
|  | 	field :title | ||
|  | 
 | ||
|  | 	belongs_to :sub_manager_authorizable, polymorphic: true | ||
|  | 	has_and_belongs_to_many :authorized_users, class_name: 'User', inverse_of: 'sub_managing_apps' | ||
|  | end |