Sean Linsley

Results 75 comments of Sean Linsley

Unsurprisingly, this log parser is significantly faster than the old parser, which had to rediscover the log line prefix for every log line individually. This simple benchmark shows the legacy...

I was running into this issue in a controller test that's using `render_views`. Gon was referencing some records from a previous test created by FactoryGirl, that had since been deleted....

In the debugger I noticed that the templates were being loaded up, they were just being added to the wrong object. ![screen shot 2014-12-16 at 1 09 30 am](https://cloud.githubusercontent.com/assets/688886/5449734/4eb3c378-84c0-11e4-979d-e97677aaeafd.png) This...

Turns out the that approach doesn't work because Handlebars isn't set up to use Ember's helpers. I'm not sure how to get that working, so I ended up scrapping this...

Thanks for the tips @cllns. Has anyone managed to get `sourceMappingURL` comments to show up in production?

The [commit that introduces `sourceMappingURL`](https://github.com/rails/sprockets/commit/add82d5c6a12746242eb5bc7b8b64fc4fdcd5a42) sets `pipeline: :debug` in its test case, but that doesn't appear to be set anywhere else in the Sprockets source code. The only place I...

I was hoping I could just do this, but it results in infinite recursion: ```ruby env.register_bundle_processor 'application/javascript', Sprockets::AddSourceMapCommentToAssetProcessor ``` And it doesn't appear that bundle processors have access to the...

I couldn't find a good place to patch Sprockets, so I ended up writing an extension to `rake assets:precompile`. It mostly works (though the source files for CoffeeScript code can't...

@cllns mentioned this: >surprisingly here, you need to add a JS compressor in order to get the source maps to work in development which appears to be true, though oddly...

Looks like this is working on master.