fix where_values_hash patch to work with rails4.
fix where_values_hash patch to work with rails4.

mysociety/globalize,Buyapowa/globalize,ASnow/globalize,goarch/globalize,distribusion/globalize,awernick/globalize,2947721120/globalize,gaganawhad/globalize-cache-key,aalfson/globalize