Generally when you're testing functionality you should be using a different database to your production environment so that you don't need to mess around with trying to offset ID's or delete after the fact.
Generally when you're testing functionality you should be using a different database to your production environment so that you don't need to mess around with trying to offset ID's or delete after the fact. To answer your questions though... No, as they'll be destroyed in the database, unless your using something like is_paranoid they won't exist any more. Will_paginate won't care if the ID's are in sequence or not, it only cares about the total number of rows Picture.
Each(&:destroy) will delete all the photos, to reset the auto_increment (a database peice of functionality) you'll need to run something like this... ALTER SEQUENCE your_sequence_name RESTART WITH 1.
I should have used different database, but I started testing on heroku and its set to production by default (I don't know if heroku allows test environment) 1. &2. Yes will_paginate did not care when I delete the test Picture records.3.
I could not get Picture. Each(&:destroy) to work. – Shantanu Bhalerao Nov 17 at 23:47.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.