Fix Lint/SymbolConversion cop (#28175)
				
					
				
			This commit is contained in:
		@@ -5,7 +5,7 @@ module Remotable
 | 
			
		||||
 | 
			
		||||
  class_methods do
 | 
			
		||||
    def remotable_attachment(attachment_name, limit, suppress_errors: true, download_on_assign: true, attribute_name: nil)
 | 
			
		||||
      attribute_name ||= "#{attachment_name}_remote_url".to_sym
 | 
			
		||||
      attribute_name ||= :"#{attachment_name}_remote_url"
 | 
			
		||||
 | 
			
		||||
      define_method("download_#{attachment_name}!") do |url = nil|
 | 
			
		||||
        url ||= self[attribute_name]
 | 
			
		||||
 
 | 
			
		||||
@@ -62,7 +62,7 @@ class UserSettings::Setting
 | 
			
		||||
 | 
			
		||||
  def key
 | 
			
		||||
    if namespace
 | 
			
		||||
      "#{namespace}.#{name}".to_sym
 | 
			
		||||
      :"#{namespace}.#{name}"
 | 
			
		||||
    else
 | 
			
		||||
      name
 | 
			
		||||
    end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user