Displaying 1 result from an estimated 1 matches for "table_products".
2007 Jul 18
1
Truncate table to reset id back to 1
What im using now is ActiveRecord::Base.connection.execute(''TRUNCATE
table_products'') to reset the id back to 1. Is there another way without
using direct sql command to reset the id back to 1?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "R...