ActiveRecord::SaneSchemaDumper modifies the behavior of Rails’ ActiveRecord::SchemaDumper so that the generated db/schema.rb file doesn’t contain any useless/harmful whitespace column alignment.

Gem Version


Add this line to your application's Gemfile:

gem 'activerecord_sane_schema_dumper'


The gem modifies the behavior of Rails’ rake db:schema:dump task.


ActiveRecord::SaneSchemaDumper is © 2014 Mirego and may be freely distributed under the New BSD license. See the file.

About Mirego

Mirego is a team of passionate people who believe that work is a place where you can innovate and have fun. We're a team of talented people who imagine and build beautiful Web and mobile applications. We come together to share ideas and change the world.

We also love open-source software and we try to give back to the community as much as we can.