alright, then let's take a look at your code...
how does it work? do you store your files in a folder inside your
public-directory and filename points to that location? or do you store
your files inside your database? what exactly is Movie.file and
Movie.filename?

the following line throws me off (don't understand it):
  render :text => @movie.file

what could help is a look at send_file:
http://api.rubyonrails.org/classes/ActionController/Streaming.html#M000401

or even the improvement x_send_file:
  http://wiki.rubyonrails.org/rails/pages/HowtoSendFilesFast

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to