I think this is a little special, so I want to draw some attention to it.  With the exception of a couple cases below, I'm using a loop to run the **same** CRUD unit tests against both rethinkdb and active_record.  This is one of the reasons I like Ruby.