Pokkai Dokkai
2008-Mar-04 08:31 UTC
manage manual foreign_key ,foreign_type in polymorphic ?
how to manage manual foreign_key ,foreign_type in polymorphic ? like has_many (or has_one) :catalog_entry, :as => :resource ,:foreign_key=>''resource'' ,:foreign_type=>''type'' any idea ? -- 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 -~----------~----~----~----~------~----~------~--~---