“I have a Rails application with PostgreSQL database. My database contains 1000 records in it. I have written a rake task which will manipulate the records in the database. If the rake task went wrong i want to revert back the changes to the original in the database. is there any chance of testing the database in this scenario without duplicating the database in the development environment ?”