The correct answer I was searching for is:
https://apidock.com/rails/ActionController/Base/url_for
url_for(controller: 'articles', action: 'show', id: @article.id, protocol: :http)
solved Convert url from https to http [closed]
The correct answer I was searching for is:
https://apidock.com/rails/ActionController/Base/url_for
url_for(controller: 'articles', action: 'show', id: @article.id, protocol: :http)
solved Convert url from https to http [closed]