mirror of
				https://github.com/discourse/discourse.git
				synced 2025-02-25 18:55:32 -06:00 
			
		
		
		
	Fix access specifiers with private_class_methods instead of removing directly
This commit is contained in:
		@@ -1,11 +1,10 @@
 | 
			
		||||
class EmailLog < ActiveRecord::Base
 | 
			
		||||
  belongs_to :user
 | 
			
		||||
  validates_presence_of :email_type
 | 
			
		||||
  validates_presence_of :to_address
 | 
			
		||||
 | 
			
		||||
  belongs_to :post
 | 
			
		||||
  belongs_to :topic
 | 
			
		||||
 | 
			
		||||
  validates :email_type, :to_address, presence: true
 | 
			
		||||
 | 
			
		||||
  scope :sent,    -> { where(skipped: false) }
 | 
			
		||||
  scope :skipped, -> { where(skipped: true) }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user