After an interesting article on memory usage and bloating in Ruby I came across another article by the same author about the Annotate gem.
Annotate puts the relevant schema in your Rails models and tests as a comment so that you don’t have to keep referencing db/schema.rb