Ruby on Rails Thursday, February 23, 2017

hello all, Im developing a ruby script (ruby 1.8.7)

its a simple script to generate an email using an ERB

my ERB has this 

JIRA ticket:
[ <%= issue_key %> ] - <%= summary %> 

where issue_key is this,

I was wondering if its possible to embed that hyperlink somehow the ERB. When I get the email from this script, it embeds everything as plain text, I cant find a way to embed a hyperlink into a string

similar to this, 

<a href="https://jira-server/etc"> [ ABC-123 ] </a>

Im generating the template like this from my .rb

 templ ='templates/' + template + '.erb')

generate =,nil,">").result(binding)


You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment