I’d like to be able to do a database query, fetch some text, and add an
‘Accept Request’ and ‘Deny Request’ within the text. Both of these
links so if the user were to click on them, they would essentially send
requests back to the server. Since this is dynamic, I wanted to know
safest/best approach in embedding these links within fetched text coming
from a query?
Should I embed the ‘link_to(“Accept Request”…)’ in the text before
it in the database, so that when it gets fetched, the view should
automatically parse that and see a link_to? Or, are there other ways.