Hey Guys I have been working through the Agile Web Development book, and watched a quicktime called "How to build a blog engine in 15 minutes" - it''s all helping! I am playing around with my own stuff - I have created a database and amd using the scaffold frameworks to do all the work. My question: I''d like to be able to "upload" or at least work locally and COPY a file to a directory and add it to my database - e.g. pick a file and use it as an avatar in a memberlist? - any ideas how to do that? Thanks! Adam -- 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 -~----------~----~----~----~------~----~------~--~---
Adam Teale wrote:> Hey Guys...> My question: > I''d like to be able to "upload" or at least work locally and COPY a file > to a directory and add it to my database - e.g. pick a file and use it > as an avatar in a memberlist? - any ideas how to do that? >Hello, you may want to have a look at the file_column plugin and its RMagick bindings: http://www.kanthak.net/opensource/file_column/ -- Agnieszka -- 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 -~----------~----~----~----~------~----~------~--~---
Agnieszka Figiel wrote:> Adam Teale wrote: >> Hey Guys > ... >> My question: >> I''d like to be able to "upload" or at least work locally and COPY a file >> to a directory and add it to my database - e.g. pick a file and use it >> as an avatar in a memberlist? - any ideas how to do that? >> > > Hello, > > you may want to have a look at the file_column plugin and its RMagick > bindings: > > http://www.kanthak.net/opensource/file_column/ > > -- > AgnieszkaOr FlexImage: http://www.agilewebdevelopment.com/plugins/fleximage -- 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 -~----------~----~----~----~------~----~------~--~---