rails database management with dbmanager

Ruby on Rails provides by default different application environments each one with its dedicated database and it is dead simple to add new ones whenever needed.

Sometimes it would be handy to import data from a different environment, for example loading your fresh new development database with the contents of the staging server or vice versa; you can dump the database and import it on your own by hand, or start using the db_manager gem.

Need to import the beta database to your local machine? run rake db:import, enter the environment numbers when asked and you’re done.

See the gem readme for more features and complete usage recommendations!

Leave a Reply

Please Login to comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.