How to use "railed" in a sentence

Sentences

He turned his head toward them and stared at them through the railed sides of the hospital bed in which he lay.