do |ruby| right — Useful Callbacks and ActiveRecord Options

How many of you have ever felt personally victimized by your own decision to skim-read documentation?

Ruby on Rails is well-documented, but that means there’s a lot to go through. Of course you read all documentation for your languages, but just in case, here are some Ruby on Rails callbacks and relationship options that will cleanup, simplify, and clarify your code.