is belongs_to :through supported?

Discussion in 'Ruby' started by dave.new, May 22, 2006.

  1. dave.new

    dave.new Guest

    Hi all,

    After noticing the has_many :through association added in the latest
    Rails, I'm wondering if a belongs_to :through association has been
    added as well. The documentation seems to be hazy on this. At one
    point, it claims: "You can only use a :through query through a
    belongs_to or has_many association." However, it makes no mention of
    the :through parameter under the definition of the belongs_to
    association.

    Does anyone know if a belongs_to :through association is supported or
    not?

    Thanks!

    Dave
    dave.new, May 22, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian Henry
    Replies:
    5
    Views:
    10,011
    Steven Cheng[MSFT]
    Aug 3, 2004
  2. John Abel

    Sending Through ^] Through telnetlib

    John Abel, Jan 23, 2004, in forum: Python
    Replies:
    2
    Views:
    341
  3. Mahrt, Dallas

    RE: Sending Through ^] Through telnetlib

    Mahrt, Dallas, Jan 23, 2004, in forum: Python
    Replies:
    0
    Views:
    497
    Mahrt, Dallas
    Jan 23, 2004
  4. Aryk Grosz

    self referential belongs_to

    Aryk Grosz, Jun 26, 2008, in forum: Ruby
    Replies:
    0
    Views:
    91
    Aryk Grosz
    Jun 26, 2008
  5. Greg Hauptmann
    Replies:
    1
    Views:
    165
    Brian Candler
    Oct 30, 2008
Loading...

Share This Page