I would like to save a restful resource in the database, and display
it as a link on the web page.
I tried saving:
into the path column in the table,
but unfortunately it doesn't work when I display it like this:
<%= link_to 'bar', bar.path %>
Is this possible with rails?
Thank you very much in advance for your help.