I''ve got a user model that has one photo. I have a photo model that belongs_to user I followed this tutorial to have an arbitrary number of users created: http://www.railsforum.com/viewtopic.php?id=1065 I then followed this tutorial to have multiple file uploads with attachment_fu: http://beast.caboo.se/forums/2/topics/870#posts-2484 My parameters look correct. The photos hash has a unique key for each photo. The users hash has a unique key for each user. What I am trying to do is link/attach each photo to each user based on the two having the same key. I can iterate through the photos and users hash and get the keys but I don''t know how to compare the two. Anyone care to give me an idea on how I can do this with Ruby''s magic? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
scratch this post -- I think this shows that I have an app design issue, not code issue. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---