Fix the :erb filter in rails.

Fixes #654