A blog post can be scary to write. You’re putting your reputation out there for everyone to judge – and their judgments/comments can be viewed by the entire world.
Home | Archives |
A blog post can be scary to write. You’re putting your reputation out there for everyone to judge – and their judgments/comments can be viewed by the entire world.
TL;DR - IE doesn’t like minified unicode. To fix this, create a custom passthrough minifier to disable minification of unicode when using uglify in the rails asset pipeline.
I’m pretty new to rails, so please let me know if I’m off the mark here.
Rails has an interesting component called the asset pipeline that, among other things, can combine all of your js files into one file, and all of your CSS files into another, then it can strip out whitespace and rewrite your code to make it smaller, by doing things such as replacing long variable names with short ones. This is called combining and minifying. Combining and minifying are important because they can help a web page to load faster. A web page can load noticably faster if it has a single 150kb file to load from the server rather than 25 files that are 10kb each.
Without question, we wanted to minify and combine our code using the asset pipeline. For more information on setting up minification, see the asset pipeline documentation.
However, we had strange results with the minification. When our code was _not _minified, it worked great in both IE and Chrome. After being minified by the asset pipeline, however, it worked great in Chrome but some parts of our app mysteriously failed in IE.
It’s a fancy looking printer. Scanning, Faxing, Printing, built-in networking. But it is quite the difficult device to set up. For anyone else who is interested, here is the process: