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
--
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 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/ddf6a4060146276324f30a0e0e8df90b%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment