Using Sprockets to Precompile Assets in a Rails Engine
Recently, I needed to write tests for a rails engine that included a Backbone.js application written in Coffeescript and the dummy app didn’t serve my purposes. Here’s how I precompiled my assets using Sprockets so I could write and run javascript specs using Jasmine’s standalone spec runner.
Post a comment