1: 2: 3: 4: 5:
search_parts = params[:search].split(',') # splits everything and the state state = search_parts[1] #assigns state from prev. line # need code here to break apart the rest.