Ruby on Rails Thursday, April 2, 2015

On 2 April 2015 at 10:24, Edward Maya <lists@ruby-forum.com> wrote:
> Colin Law wrote in post #1171404:
>> Please don't use images to show code, include relevant code here,
>> provided it is only a few lines, or put it somewhere like pastebin to
>> make it available.
>>
>> Whether a file is downloaded or opened in the browser when the user
>> clicks on a link to it depends on whether the browser has the right
>> plugins or not.
>> What happens if you click on the link to the document?
>>
>> Colin
>
> I don't know how to unable download links for a uploaded file(unable to
> find on google) and i don't have any link to be clicked on i.e is what
> i'm asking.

I believe you asked this question once before. What do you think in
your code the td with image_tag user.avatar.url does? (see now why not
to use a jpg, I have had to go and look at the image and re-type it
rather than copying). Look at the html in the browser and see what it
is.

Colin

>
> --
> 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/bd8b7b0b4a528f649a8777d52f5e21a6%40ruby-forum.com.
> For more options, visit https://groups.google.com/d/optout.

--
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%3D0gLv3khDSowg0EkUU9L1FcVhx0jUnKMhZCr-H8PSdsPYTuQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment