Rails 7+: primary_abstract_class recommendation (#32909)
This commit is contained in:
		
							parent
							
								
									f1ef7b5b43
								
							
						
					
					
						commit
						34d7c9edae
					
				@ -1,7 +1,7 @@
 | 
				
			|||||||
# frozen_string_literal: true
 | 
					# frozen_string_literal: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class ApplicationRecord < ActiveRecord::Base
 | 
					class ApplicationRecord < ActiveRecord::Base
 | 
				
			||||||
  self.abstract_class = true
 | 
					  primary_abstract_class
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  include Remotable
 | 
					  include Remotable
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user