Running Liquid with different values of Liquid::VariableStart/End in the same application #1961
Unanswered
cernyjakub
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I am upgrading a big legacy Rails app, which uses a patched Liquid, where
Liquid::VariableStart/Endare redefined to avoid syntax clashes with some old data.I am adding a new part of the application, in which I want to use standard "vanilla" Liquid syntax. At the same time, the old part needs to keep working.
Do you have some ideas how to run the 2 modes in the same app? In last versions, there is a concept of Environments, however they do not allow to redefine these low-level constants.
I am not very experienced with advanced monkey-patching and would like to know if you had some hints or suggestions how to tackle this problem.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions