Url generation in ActionMailer views


I am having trouble generating a url in a mailer template. When I use
url_for, or resource_url -type methods, the generated url is always
missing the host part and therefore not clickable in the email
(’/my/url’ instead of ‘http://www.mysite.com/my/url’). How can I fix


Hi all,
I found the answer to this in anther thread in this forum. Guess I
should have searched first… Ingo

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs