Use a new method create_all to save all records at the 'same time'
Save main and sub objects at once, including one-one and one-many relationships