🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.ruby
Article #110

Re: link to file

#110
From: misiek
Date: Fri, 04 Aug 2006 21:47
18 lines
1337 bytes
misiek wrote:
> I know that this is not rails group, but maybe someone would know how to 
> create a link,
> like link_to_file. I need create link to download from site some files 
> like txt...etc
> 
> thanks for help

oj nie zauwazylem ze to polska grupa
tak czy siak znalazlem funkcje na to;
send_file
tylko dostaje blad
wrong number of arguments (1 for 0)
przy send_file '/path/file' wiec psia mac co jest grane ?
funcja send_data dziala jak w przykladach http://api.rubyonrails.com/ 
ale nie oto mi chodzi

dzieki za pomoc
Technical Details
Message-ID: <eb0f9n$ppa$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <eb0d10$i62$2@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: misiek <michal_augustyniak@gazeta.pl>
Newsgroups: pl.comp.lang.ruby
Subject: Re: link to file
Date: Fri, 04 Aug 2006 16:47:35 -0500
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 18
Message-ID: <eb0f9n$ppa$1@inews.gazeta.pl>
References: <eb0d10$i62$2@inews.gazeta.pl>
NNTP-Posting-Host: defensor.realnets.com
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1154728055 26410 209.242.26.195 (4 Aug 2006 21:47:35 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Fri, 4 Aug 2006 21:47:35 +0000 (UTC)
X-User: michal_augustyniak
In-Reply-To: <eb0d10$i62$2@inews.gazeta.pl>
User-Agent: Thunderbird 1.5.0.4 (X11/20060516)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit