I need to create functionality for a personal project which allows me to upload and store MP3 or Ogg Vorbis sound files that can later be downloaded by a user, however, after looking at a couple of tutorials, I''m just as lost and confused as before. The major problem I have is that most tutorials talk about uploading image files and do it that way, however, I''m not sure what I need to change and where to make them compatible with sound files. Would anyone be able to help point me in the right direction, give me some tips or show some example code from a project? I''d really appreciate the help. Thanks. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
bpokosh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Jun-08 18:15 UTC
Re: Uploading MP3 files
Just use the attachement_fu plugin. Most of the examples use images because the plugin is able to resize thumbnails and such which is only relevant to images. You can follow the same tutorials and omit the image related stuff. On Jun 8, 2:07 pm, Krister Collin <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I need to create functionality for a personal project which allows me to > upload and store MP3 or Ogg Vorbis sound files that can later be > downloaded by a user, however, after looking at a couple of tutorials, > I''m just as lost and confused as before. > The major problem I have is that most tutorials talk about uploading > image files and do it that way, however, I''m not sure what I need to > change and where to make them compatible with sound files. > > Would anyone be able to help point me in the right direction, give me > some tips or show some example code from a project? I''d really > appreciate the help. > > Thanks. > -- > Posted viahttp://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---