SOLVED--Re: [Rails] newbie: has_one? composed_of?

Scott Barron scott at elitists.net
Tue Jan 11 04:17:05 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jamie Orchard-Hays wrote:
| I wonder if this is a typical newbie error: I had reversed the concept
| of "has_one" and "belongs_to". I finally figured it out after playing
| with the models and looking at the log file.
|
| Thanks,
|
| Jamie

I drew up a little diagram when I first started doing Rails, to keep the
relationships straight in my head.  If you haven't come across it yet,
you can see it at http://curry.elitists.net/~scott/ARAssociations.png

Enjoy!
- -Scott
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB41NAvqYRQQGcpIQRAvUMAJ9drcvp24XhxaujHSvp4nM8UJ4i4wCfZA0o
M+Gu+KTyR0+ataX0VKSvFgc=
=WYgH
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scott.vcf
Type: text/x-vcard
Size: 246 bytes
Desc: not available
Url : http://one.textdrive.com/pipermail/rails/attachments/20050110/06f307ce/scott.vcf


More information about the Rails mailing list