标题不起作用
在HTML代码上,我只看到它显示:tilte data-remote:true
<%= link_to 'my_url', remote: true, data: {toggle: "tooltip"}, class: "my_class", title: "my_title"
OR
<%= link_to 'my_url', remote: true, data: {toggle: "tooltip", title: "my_title"}, class: "my_class"
您能给我们这么多信息吗?您的代码中没有操作或网址。
此答案有一些很好的例子。 syntax to use `data-toggle` and `data-target` in link_to rails 4