schmittjoh/twig.js — pull request #28 by Fran6co (2012-05-06 14:32:21+00:00)
Title: Implements #20 fix

When using assetic use_controller it tries to generate a cache key by serializing the filter. TwigJsFilter contains a reference to CompileRequestHandler so it tries to serialize that object and fails.

This line -> https://github.com/kriswallsmith/assetic/blob/v1.0.3/src/Assetic/Asset/AssetCache.php#L138 is called only when using use_controller and it generates the problem.