Add has_many and belongs_to relationships to Active Record