@locations = Location.all #current listing all
@locations = Location.slice(5) or Location.split(5)
With Ruby I'm trying to split my list into 4 columns, limiting each column to 5 each; however neither slicing or splitting seems to work. Any idea of what I might be doing wrong? any help is greatly appreciated.