I am trying to generate a report from my rails app which needs a photo displayed for each record. This anyone know what the best way is to do this or if it is possible? Ive searched the forums and the net but cant find any examples, Johnny B -- 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 -~----------~----~----~----~------~----~------~--~---
So you''re wanting to add binary data to a plain text CSV file? I don''t think that''s possible as-is, since CSV is meant for text storage, and not binary/blob stuff. What you can do, is put a filesystem path into the csv and use that wherever you''re parsing the CSV. El lun, 12-11-2007 a las 14:47 +0100, John Butler escribió:> I am trying to generate a report from my rails app which needs a photo > displayed for each record. This anyone know what the best way is to do > this or if it is possible? > > Ive searched the forums and the net but cant find any examples, > > Johnny B--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I though so, basically i need to generate a spreadsheet that will contain records from a model and the appropriate photo embedded into the spreadsheet for each record. This spreadsheet will be ultimately opened by the user in MS excel. Whats the best solution for this, Is there any ruby libraries that will do this? Any advice appreciated, Johnny B -- 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 -~----------~----~----~----~------~----~------~--~---