Can I execute DML from within Rails?


Is it possible to execute a DML statement against a MySQL database from
within Rails? I have a table I’m using for batch processing. It needs
to be
truncated to reset the primary key before each batch insert statement. I
looked at the API here:

and didn’t notice anything that looked like it would work. Thanks in

Best Regards,
“Work, work, work…there is no satisfactory alternative.”
— E.Taft Benson