标签: ruby-on-rails meta-tags helper
我想做 <meta http-equiv="refresh" content="0;URL='my_url" /> rails tag helper
<meta http-equiv="refresh" content="0;URL='my_url" />
我这样做
tag(:meta, 'http-equiv' => (:refresh),:content=>("0;URL=#{my_url}"))
但我得到了
"<meta content=\"0;URL=my_url" http-equiv=\"refresh\" />"
我的错误在哪里?