final bugfix for rails 3.1 with precompiled assets