A Toy Story Based Mnemonic Device for has_one

Use Woody for Has_one

Here’s an awesome Toy Story inspired mnemonic device for remembering the proper use of Rails’ `has_one` associations.

Andy “has_one” Woody.

Woody “belongs_to” Andy.

Where is the foreign key? On Woody’s sole!

Credit goes to Stack Overflow user “mike” from a comment on a related topic.