mattmatt/crumble — pull request #16 by next2you (2012-02-21 11:41:47+00:00)
Title: Rails 2.3.14 and ruby 1.9.2 will produce invalid URL

...:action => something}) would result in an invalid URL

This is a quick fix that "works for me". The problem was that:

{ :action => "" }
will result in appending {} to the URL, e.g

/home/%7B%7D
with ruby 1.9.2

in 1.8.7 it is correctly

/home/

The fix will ignore empty values for any keys passed in through the params hash.