Ask A Question


You’re not receiving notifications from this thread.

How do I insert smart variables with a text editor?

Taylor Cooney asked in Rails

I would really appreciate some insight to how you could let a user select from pre-definied variables in a dropdown and insert them into a text area; some people have mentioned saving a liquid and re-rending as a liquid template. I've seen this done numerous times, but this is the cleaniest implementation (

I believe there is an easier way to implement this. Let me know if you have any experience with something like this.




Still looking for some insight here!


Sorry to spam but still looking for some insight here. I've tried looking up across the web but having trouble finding anything related to the idea.




same :D

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 84,387+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.