我收到这段代码的错误。谁能明白为什么?
<% link_to("#{(current_user.acting_as == "Participant") ? t(:uploaded_by_host) : t(:uploaded_by_you)}", "javascript:void(0)", :class => "button button-mini button-blue") do %>
<span class="icon icon-plus-sign"></span>
<% end %>
错误是:
“javascript:void(0)”的未定义方法“stringify_keys”:字符串