This fixes the bug with duplicate params being generated if the optional param keys are symbols.
convert :param symbol keys to strings for sinatra view helper
Looks OK. But how about having a test?
Oh, just seen you were a Ruby beginner and that there aren't any existing Sinatra tests in will_paginate, so writing a new test for this might be a too big of a challenge for you. Don't worry about that. I'll see what I can do