How can I programmatically replace the contents of the current db with a .sqlite3 file in a rails app running on heroku?
When a certain request hits my app I would like to reset the database back to its original state whic开发者_开发技巧h is backed up in an sqlite3 file. I'd appreciate any help.
The app is hosted on heroku.
This looks promising: http://addons.heroku.com/bundles
精彩评论