I have a standalone ruby testing framework without rails testing some
webservices. The project uses ActiveRecord to connect to mysql remote
database through mysql adapter and uses very basic Activerecord features
only like “establish_connection” and inserting values in a table. The
doesn’t have the usual “up” and “down” methods as the tables are already
present in the database and are outside our control.
I want to delete the data inserted as part of my tests only after my
is finished. I have been googling around this and I believe it is
by ActiveRecord transactions. Is it possible to do this without
or if with migrations, what sort of migrations would I need?