pharrington wrote:
> On Aug 13, 3:06�pm, Siddharth Ravichandran <rails-mailing-l...@andreas-
> s.net> wrote:
>>
>> Thank you again.
>> --
>> Posted viahttp://www.ruby-forum.com/.
> 
> Slow down and think. You can store files in the local filesystem in
> places other than your Rails apps /public directory. hitch linked you
> to http://api.rubyonrails.org/classes/ActionController/Streaming.html;
> send_file is a good place to start. (Though in practice this just
> tends to be good at tieing up a specific Rails instance during the
> file sending process and you'll eventually use something like
> mod_xsendfile, but take one thing at a time!)

Thank you very much. That was really helpful. I have decided to store 
the application on a different folder and I use send_file to play the 
music.
Thank you very much again.
-- 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to