views:

36

answers:

2

I'm just starting out with Rails and ActiveRecord. I feel that anything I want to make an association between two models (belongs_to, has_one, has_many) I have to read the documentation over and over to really understand it.

Does anyone know of a good cheatsheet or refcard that makes the distinctions visible ?

A: 

I really like the cheat sheets on err-the-blog

So you could print out the has_many, belongs_to, and has_one sheet and refer to them. (or bookmark them)

Jesse Wolgamott
A: 

I suggest you this Guide (Chapter 2)

baijiu