"Source code" for a few Rails and Active Record features