I have read that if you want to include a javascript file specific to your view you can use content_for and yield functions of ruby. Following is sample code to do it. I want to know what is the path where it will look for forms.js.
<% content_for :javascript_includes do %>
<%= javascript_include_tag "forms.js" %>
<% end %>