javascript_include_tag(JavaScriptファイルへのパス..)
javascript_include_tag "xmlhr"
#=> <script src="/assets/xmlhr.debug-1284139606.js"></script>
javascript_include_tag "xmlhr", host: "localhost", protocol: "https"
#=> <script src="https://localhost/assets/xmlhr.debug-1284139606.js"></script>
javascript_include_tag "template.jst", extname: false
#=> <script src="/assets/template.debug-1284139606.jst"></script>
javascript_include_tag "xmlhr.js"
#=> <script src="/assets/xmlhr.debug-1284139606.js"></script>
javascript_include_tag "common.javascript", "/elsewhere/cools"
#=> <script src="/assets/common.javascript.debug-1284139606.js"></script><script src="/elsewhere/cools.debug-1284139606.js"></script>
javascript_include_tag "http://www.example.com/xmlhr"
#=> <script src="http://www.example.com/xmlhr"></script>
javascript_include_tag "http://www.example.com/xmlhr.js", nonce: true
#=> <script src="http://www.example.com/xmlhr.js" nonce="..."></script>