🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.ruby
2 messages
2 total messages Started by misiek Fri, 04 Aug 2006 21:08
link to file
#109
Author: misiek
Date: Fri, 04 Aug 2006 21:08
6 lines
896 bytes
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
Re: link to file
#110
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads