Hello Everyone, I am using Wicked Pdf to generate pdf file. In my model, i have method to generate pdf file. I also need to show image in my pdf file from amazon s3. Case 1: i tried using <img src="amazon/url"> While i am running that method image not displaying, *just a small box only appearing insteat of image*. Case 2: i tried <%= image_tag(@image.avatar)%> While i run this, i am getting "*rake aborted!* *undefined method `image_tag'' for main:Object*" i googled this problem but no clear answer... any help.. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/qqSIiW45L_8J. For more options, visit https://groups.google.com/groups/opt_out.