Merge pull request #1244 from opf/fix/ruby_2.1.1_hash_select_and_reject

Add patch to fix Rails' hash types with Ruby 2.1.1
strictly regression of Hash#reject in Ruby 2.1.1