James Wilding | Ruby on Rails Developer

  • My Projects
  • Hire Me
  • Archive
  • RSS

Require Javascript Files Like A Rubyist

I like to keep my javascript files well-structured. I also like not to have to add a new <script> tag every time I add a new script file. It’s neater. In a Rails application, I use application.js to load all my other javascript files. Here’s how:

Observant readers will have noticed that I’m using jQuery with Rails here. You can do that now, you know.

  • 1 year ago
  • Permalink
  • Share
    Tweet
← Previous • Next →

About

Avatar I'm a startup consultant and software developer based in southern England. Hire me for Ruby on Rails or iOS development work and advice on building a smart business.

  • RSS
  • Random
  • Archive
  • Mobile

Copyright James Wilding. Systems Intelligence Ltd. Registered in England number 07843037. Registered office 29 Silver Street, Colerne, Chippenham, SN14 8DY. Effector Theme by Carlo Franco.

Powered by Tumblr