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:
http://api.rubyonrails.com/classes/ActiveRecord/ConnectionAdapters/DatabaseStatements.html#M000532
and didn''t notice anything that looked like it would work. Thanks in
advance.
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
--- E.Taft Benson
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060305/e4693506/attachment.html