Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 269 Bytes
class TestHelpers
def self.clear_out_my_models
mms = MyModel.find(:all)
puts 'mms.size=' + mms.size.to_s
i = 0
mms.each do |x|
puts 'deleting=' + i.to_s
x.delete
i+=1
end
end
end
Something went wrong with that request. Please try again.