Reading Rebuilding Rails I noticed split can be used as such:

'1/2/3/4/5/6/7/8'.split('/', 3)
# => ['1', '2', '3/4/5/6/7/8']