On 6 August 2010 16:16, ahtasham82 <[email protected]> wrote: > Hi > > First of all, I am very very new with Ruby/Rails...I am working on > maintenance of a project with a team. > > I created some tracking code for an email....created a new tracking > controller with script/generate...now all is fine...but the problem is > that I am displaying an image in the email and for that I need to > embed the complete HTTP URL with the image so the image can be > displayed in the email. > > so right now the source of my image in the email is /tracking/pixel/? > sub=abc but it suppose to be http://mysite.com/tracking/pixel/?sub=abc
Just put the full URL string as you have shown it above in the image_tag. Colin -- 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.

