0
我想知道如何在image_tag中指定完整的URL src attibute?Ruby On Rails - 图像标签问题
目前我使用:
image_tag(object.team.team_logo, :alt => object.team.name)
和SRC attibute被错误地转化为:
http://0.0.0.0:3000/assets/%20http://a.espncdn.com/i/teamlogos/soccer/500/103.png
我试图乳宁耙资产:预编译& &耙资产:clean_expired但应用程序仍对待完整的网址作为预编译的资源。
在此先感谢!