
I often come across this particular use case and it’s probably easiest to
explain with an example. Take an ActiveRecord model called Book which
represents a book in Amazon’s catalogue. In addition to books which are
already published, we collect information about books which are going to be
released at some point in the future. We store the publication [...]...