RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

Compress old rails migrations in an one command

If you like me work on a big & long-term rails project, you probably tired with an old migrations. Applying them takes a few minutes, sometimes you need to update them(changes in ActiveRecord). Manual removing them is hard & sometimes dangerous work, so checkout squasher gem which will do this job for you.

Comments

How is it better from taking contents of db/schema.rb and creating one migration file?hubertlepicki - January 26, 2014 14:58

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!