[Rails] Re: send_file example code -- permissions?

2008-11-01 Thread Walter McGinnis
Glad I could help. James Stradling was the guy that actually wrote that particular bit of code. On Nov 2, 2008, at 11:41 AM, Jeff Pritchard <[EMAIL PROTECTED] > wrote: > > Walter, this worked great. Thanks a million! > > jp > > > Walter McGinnis wrote: >> Here's some example code that co

[Rails] Re: send_file example code -- permissions?

2008-11-01 Thread Jeff Pritchard
Walter, this worked great. Thanks a million! jp Walter McGinnis wrote: > Here's some example code that covers nginx, apache, or plain old > send_file: > http://github.com/kete/kete/tree/master/app/controllers/private_files_controller.rb > > Works with 2.1, haven't tried it with 2.2 RC1 yet.

[Rails] Re: send_file example code -- permissions?

2008-10-31 Thread Walter McGinnis
Here's some example code that covers nginx, apache, or plain old send_file: http://github.com/kete/kete/tree/master/app/controllers/private_files_controller.rb Works with 2.1, haven't tried it with 2.2 RC1 yet. Hope it helps. Cheers, Walter On Fri, Oct 31, 2008 at 2:49 PM, Jeff Pritchard < [EMA

[Rails] Re: send_file example code -- permissions?

2008-10-31 Thread Frederick Cheung
On Oct 31, 1:49 am, Jeff Pritchard <[EMAIL PROTECTED]> wrote: > Shameless bump.  I still really could use some help on this guys!  There > must be somebody out there who has used this. > What's in the one byte? send_file reads the file (in ruby) and spits the bytes out - the file doesn't have t

[Rails] Re: send_file example code -- permissions?

2008-10-30 Thread Jeff Pritchard
Shameless bump. I still really could use some help on this guys! There must be somebody out there who has used this. thanks much, jp -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo