Under Rails 3.1, I\'m trying to find out how to move a few coffeescript classes away from my controller default coffeescript file (home.js.coffee) into another
home.js.coffee
Use cake, you can define the order of files and also other custom steps like minify, etc
Make sure that you specify that all coffee files are combined into single .js output file.
https://github.com/jashkenas/coffee-script/wiki/[HowTo]-Compiling-and-Setting-Up-Build-Tools