Parse Rails routes in a text in a DB?

Hi all

Is there a way to parse routes of Rails within a text in a DB? E.g.

“This is some very great text in a database! You can edit it here: <%=
my_route_url :action => ‘edit’, :id => 123 %>!”

Thanks for infos.
Josh