Drop in a Rails application for testing active record.
Run the rails application when running the test.
Let's use a 4.0 generated rails app instead.
Ran: rails generate model kilt_objects unique_id:string name:string object_type:string slug:string data:text
Reorganize the persistence tests, prepare to run them against another database.
Rename the model.
Get the first Active Record test to run.
Move the kilt object from the test project to the library.
Do not store the test sqlite files in repo.
Move the migration file to the project.
Drop that test rails project, as it is no longer needed.
Refactor the test setup.
Bring over AR database model from previous example, verify it passes existing tests, modify a few exception tests to match.
Refactor.
Clean up the active record database.
Rename the database as a rethinkdb database.
Formatting.
More formatting.
Change the variable name.
Remove the timestamp from the file.