I get calls occasionally to repair a bed that has collapsed. Many times I will find that the hooks have pulled loose from the mounts in the rails. Most rails are made from plywood in order to prevent warping, but sometimes these plys will separate at the groove the hook is inserted into. If you catch it early, then the rails can be salvaged.
The following slide show shows the hardware that I carefully removed from the rails, and the substitute hardware that is readily available from hardware stores. They are unseen once the bed is assembled and will function well. I have since designed hardware that will be an easier fit for replacement, and faster as well. I will update retrofitting instructions once I have the vendor ship a supply.
I know this may be considered “overkill” because many people will simply countersink screws from the inside to pull the plys together tightly after placing the hooks back in. I wouldn’t trust that for the long term since the pins would never fit back securely (remember that they wallowed out the wood they were mounted in). In the past, I have tried to remount the hooks using the same pins and it has never worked for long.
The bolts I used were actually slightly larger in diameter than the pins. I had rather make my repair better than the original design so I can offer a lifetime guarantee.
There are many other methods, and even different hardware one could use to make a similar repair. This type seemed fitting for the nice Thomasville bed.
Update 7/ 2016
Below is a hook plate that would also have worked. For some reason, I could not locate a supplier for these, so I decided I would have them made. These can be screwed into the inside of a rail, and the screws will actually pull the wooden plys (plywood rail) back together tightly. This will make the wood strong again if there are any splits.
There is a distinct left side, and right side. There is also a 90 degree bend so that the hook is in the exact location as one that was embedded in the end (originally). These plates are a custom design and are currently being produced domestically. Pricing and availability cannot be provided at this time, but will be updated as soon as possible as well as payment method. Please follow this blog if you are in need of this hardware to receive an update on shipping dates.