pry for debugging
After investigation we need to supply an order to assocation

We are relying on mysql providing the records in order by ID which is
not the case anymore, so spcify an order when calling first/last

Also create the objects so that the id is set