Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't stringify return values from jb templates
Rails 7.1 calls to_s against all templates' return value since rails/rails@ee68644, and this incompatibility broke jb templates that return non-String objects, e.g. Hash or Array. This monkey-patch redefines to_s method on such objects not to stringify themselves. fixes #43
- Loading branch information