Yep, I found (and use) that already.
> This would be a good addition to liquid but the normal .render mode
> should be unaffected by the change.
The difference is that it now renders an error message about the
non-existent filter into the output, just like other exceptions raised
during rendering.
The change is at
http://github.com/candlerb/liquid/commit/01c25a11a3923d9f3a8a00b821c0aba2b586da23
Note that I had to modify a number of specs to accommodate the new
behaviour, because the error is now rendered in-line. I do think this is a
change for the better, but if you don't want to change the behaviour, then
it can instead throw FilterNotThrown only if rethrow_errors is set. What do
you think?
BTW, I can't see the difference between 'test_no_instance_eval' and
'test_no_instance_eval_after_mixing_in_new_filter' in test/security-test.rb.
Was something omitted from the second test?
Regards,
Brian.