I would like to generate a select list form multiple associations and I''m not being able to. Do not know what the problem is. Hope anyone can help. the code below gives me a: "You have a nil object when you didn''t expect it! The error occurred while evaluating nil.filename" @skinType = Furni.find(:all, :include =>[:imageasset => {:skin => [:skintype, :skinstyle]}]).map {|st| [st.imageasset. filename, st.id] } -- 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 -~----------~----~----~----~------~----~------~--~---