The goal of this session is to provide some strategies for “handling” legacy databases, for whatever that means to a project. Whether it be using the database as is, wrapping it nicely, or simply migrating into a better designed and built database. We’ll begin by covering the basics of setting up DM in Rails. We’ll quickly move on to cover, at the very least, overriding keys of varying types, non-standard table naming, connecting to multiple databases for the purpose of syncing or migrating data, and a variety of association examples.