An introduction to Active Record