On 7 April 2015 at 13:49, Edward Maya <lists@ruby-forum.com> wrote:
> Colin Law wrote in post #1171598:
>> On 7 April 2015 at 12:41, Edward Maya <lists@ruby-forum.com> wrote:
>> So, if I understand correctly, you have some erb in the view that
>> should show an image, but in fact it just shows the name. In your
>> situation the first thing I would do is to look at the html to see
>> what html the image_tag is generating. For some reason you don't seem
>> to want to do that.
>>
>> Colin
>
> <td><%=image_tag(book.image.url(:medium)) %></td>
>
> tried this is on my frnds system and everything works fine on his system
> so i'm sure there's nothing wrong in my application but don't know why
> image is not coming up
I just cannot understand why you don't want to look at the html. I
cannot see how you can move forward without that. It is trivially
easy to do.
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu6QCMSOTg449XRN8sjLHpGnhSdBWsu9Fqq9_MfbiAH9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment