Also, on api.rubyonrails.org I found the following information pretty
quickly:
Generally speaking, you usually find all you need in the Rails guides
and the API documentation. Now I wish there was some usable way of
finding answers to questions where you *don't* know which part of
Rails is doing the magic. I'd love to have some documentation based on
the *topic*, like this here: http://www.php.net/manual/en/funcref.php
Newbies (like myself!) also tend to be confused at times when trying
to find out whether our question is a Ruby or a Rails question.
Thankfully the Rails community is pretty friendly.
Awesome!! Thanks that helps a lot. One follow-up question, if I may:
From what I've read, it seems that "references" are only to be used
for "belongs_to" associations? Is it best practice to simply avoid
using "references" and just manually use (for example):
(Using script/generate)
customer_id:integer
(Or manually doing a migration file)
t.customer_id :integer
???
I guess my question is: what is recommended best practice for using
"references"?