Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    Possible duplicate of Using Rails 3.1, where do you put your "page specific" javascript code? Commented May 21, 2016 at 9:04
  • 1
    @GrahamSlick I don't believe that this is the same question. The referenced page was a question about the page-specific javascript files that are created within your app (e.g. person.js for the Person model). If I'm reading it correctly, this question seems to be about how to load Javascript files manually on a per-page basis. To my mind, that's actually a different question that the referenced question. It may still be a duplicate of another question, though. Commented May 21, 2016 at 20:33