You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
A couple of months ago I made a gem to help with string interpolation in Rails. If you ever find yourself needing to allow users to insert variables into strings which they provide, this gem may be quite useful to you. You basically define a list of variables which can be "inserted" on a model and then allow users to insert them by entering something like "{{user.first_name}}". You can also register and use various formatters to allow the user to decide how they should appear (e.g. "{{user.first_name.upcase}}").
I've love to hear any feedback and if anyone has any ideas of additional things it would be useful it did.