FIX: make frozen string mutable in incoming_domain

approved
#1

FIX: make frozen string mutable in incoming_domain

diff --git a/app/models/incoming_domain.rb b/app/models/incoming_domain.rb
index ced3702..e9ef69f 100644
--- a/app/models/incoming_domain.rb
+++ b/app/models/incoming_domain.rb
@@ -23,7 +23,7 @@ class IncomingDomain < ActiveRecord::Base
   end
 
   def to_url
-    url = "http#{https ? "s" : ""}://#{name}"
+    url = +"http#{https ? "s" : ""}://#{name}"
 
     if https && port != 443 || !https && port != 80
       url << ":#{port}"

GitHub sha: e0fe0192

1 Like
Approved #2
#3

:+1: