- A large array of objects gets initialized (
Photo.new
). - Some filtering is done to the Photo array, so 30% of them remains.
- The remaining array gets saved in one single call.
Questions
- What is the command to do step 3, which is essentially a batch save?
- Is there a limit to how many objects I can save at once?