Since you're new to RoR, why not use a plugin like Paperclip?  It does
exactly what you're trying to do and much more...should save you a lot
of time.

http://www.thoughtbot.com/projects/paperclip

http://railscasts.com/episodes/134-paperclip
--~--~---------~--~----~------------~-------~--~----~
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