Fix SQL injection via nested hashes in conditions

Signed-off-by: Marcelo de Moraes Serpa <fullofcaffeine@gmail.com>
Gemspecs so bundler can find the gems
fix
fix
fix
fix
fix
fix
fix
fix
Merge branch '2-3-stable' of github.com:fullofcaffeine/rails into 2-3-stable