{% load railshelper %} test1: {% rails test (1,2,arg3=3,arg4=4) %} test2: {% rails test %} 1,2, arg3=3, arg4=4 {% endrails %} link_to_function: {% rails link_to_function ("Greeing", "alert('Hello World')") %} button_to_function: {% rails button_to_function ("Greeting", "alert('Hello world!')") %} link_to_remote: {% rails link_to_remote %} "Delete this post", {'update':"posts",'url':"./destroy"} {% endrails %} link_to_remote: {% rails link_to_remote %} "Delete this post", dict(url="./destroy/{{ post.id }}", update=dict(success="posts", failure="error")) {% endrails %} link_to_remote: {% rails link_to_remote %} "{{ word }}", dict(url="./{{ post.id }}/destroy", update=dict(success="posts", failure="error")) {% endrails %}