What I do is assemble the plastic (resin) first and paint the major parts and sections. After that, I attach the PE railing.
The railing is prepared by carefully rubbing it with an abrasive (steel wool or sandpaper) to give it a tooth for the paint. Then, using my trusty airbrush, I give it a coat of paint, depending on the color of the ship. Any other colors of the camo scheme are brushpainted after the rail is attached.
To attach the rail, I use thin and thick superglue and a toothpick or pin to apply it.
Hope this helps.