appending <a href> to keywords in rails
- by kim
Basically, there are some keywords that i want to pick out and assign a link to them dynamically.
How should i go about in doing this?
Let's say i have something like this;
<p>ruby, rails, php, python, django and sinatra</p>
and i would like to assign links to keywords like ruby and python, so the end results should look like this;…