Greg Hauptmann
2009-Feb-03 11:36 UTC
nested has_many :through - does Rails supported this at the moment? it seems not
Hi, Can someone clarify whether Rails current support nested has_many, :through? For example: has_many :business_items, :through => :ai_allocations has_many :bi_allocations, :through => :business_items # 2nd one here references a previous ":through" I''ve seen discussion on blogs re support for this but I''m just trying to clarify whether this is currently in Rails or not. It didn''t seem to work for me when I tried. -- Greg http://blog.gregnet.org/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
MaD
2009-Feb-03 11:45 UTC
Re: nested has_many :through - does Rails supported this at the moment? it seems not
i''ve seen / read those discussions as well (and found it pretty interesting), but afaik until now it''s not a rails feature. last time i checked it didn''t work for me either. sorry. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Greg Hauptmann
2009-Feb-03 11:51 UTC
Re: nested has_many :through - does Rails supported this at the moment? it seems not
thanks 2009/2/3 MaD <mayer.dominik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> > i''ve seen / read those discussions as well (and found it pretty > interesting), but afaik until now it''s not a rails feature. last time > i checked it didn''t work for me either. > > sorry. > > >-- Greg http://blog.gregnet.org/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---