IE8 cannot load more than 31 CSS files

14 Aug 2012

Another FTW facts…

My Rails project totally collapses. On the development, there are like 50 CSS files, but those CSS files are combined into 1 file in production.

FTW, man….

Here is the quick fix

Tell Rails to compress and not to debug asset by modifying the environment file:

# Do not compress assets config.assets.compress = true # Expands the lines which load the assets config.assets.debug = false

Give it a kudos