| Article: |
Cookin' with Ruby on Rails - More Designing for Testability | |
| Subject: | practice efficient code | |
| Date: | 2007-08-07 04:56:03 | |
| From: | IbrahimAhmed | |
|
Is there a real need to use a find(:all), an each loop, then invoke a destroy method for each instance just to delete all records in a table, I know it is just a test code but people are getting used easily to this inefficient code.
|
||
Women in Technology
Hear us Roar
