Add explicit dependent: nil to associations (#28169)
		
	This commit is contained in:
		
					parent
					
						
							
								1564799952
							
						
					
				
			
			
				commit
				
					
						f70f39dd04
					
				
			
		
					 10 changed files with 20 additions and 30 deletions
				
			
		|  | @ -13,7 +13,7 @@ | |||
| class Conversation < ApplicationRecord | ||||
|   validates :uri, uniqueness: true, if: :uri? | ||||
| 
 | ||||
|   has_many :statuses | ||||
|   has_many :statuses, dependent: nil | ||||
| 
 | ||||
|   def local? | ||||
|     uri.nil? | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue