我使用Rails 5.0.0和Turbolinks 5
让Turbolinks 5能力仅重新加载页面的特定部分,例如:
<div class='block1'>
<span class='moo'>Moo-moo-moo!</span>
<span class='some'>It's OK</span>
</div>
.......
<div class='block2'>
<span class='moo'>Moo-moo twice!</span>
<span class='some'>Change me, pls!</span>
</div>
我需要重新加载class='block2 some'
谢谢!