I have the information stored in a table called articles. The title is under "title" and the url under "url"
I can use the auto_link method with url, for example: <%= auto_link @article.url %> I want the button to say the title field, but link to the url field. I thought it might be something like <%= auto_link 'title', 'url' %> But I guess I need to write some kind of helper method, which is where I am confused. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

