As in reference to the rail, or sides, of a surfboard.
I grabbed my rail on that last wave to get into the pocket.