save the beans,add a little water next day.
time- temp rules here.
ribs…can do the same ,but they might be a bit dry.
the main thing to do with leftovers is to transfer them into a clean container b-4 you cool them down,the crusted edge cools quicker than the middle,inviting bacteria much faster.