Belongs to ... belongs to.. :through

I have A that belongs to B that belongs to C
In my model of A, can i do…

belongs_to :B
belongs_to :C, :through :B

thanks for any tips…

There is no :through option on belongs_to.

You could do:
def cs
b.cs
end

On Dec 21, 2007 4:30 AM, gemblon (t.b.)
[email protected]
wrote:


Ryan B.

Ryan B. wrote:

There is no :through option on belongs_to.


Ryan B.
http://www.frozenplague.net

thanks again ryan