I am trying to put a nested form into one of my views. I have installed the nested_form Gem and performed the installation steps. The last thing I did was edit my app/view/layouts/application.html.erb file to include this line
<%= javascript_include_tag "nested_form" %>
But when I look at the rendered page, the javascript doesn't work. I examined the page source and saw that the rendered code for the nested_form javascript looks like this:
<script src="/assets/nested_form.js" type="text/javascript"></script>
So it appears to be looking in the wrong place. That .js file is located in public/javascripts, not in assets. Did I do something wrong or do I need to specify something else in that javascript_include_tag?