When I built halfstocks with ribs I tinned both surfaces carefully and separately with a big old soldering iron, bound the rib into place with black wire, and sweated it all together. Then I'd feed a little extra solder in at the muzzle end to fill any gap there. Scrub it all down well with soap and steel wool and you're good to go to the browning or bluing stage.