Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #9030: request.rb.diff

File request.rb.diff, 0.5 kB (added by jdrowell, 1 year ago)

Removes .with_indifferent_access from hash pushes in UrlEncodedPairParser

  • actionpack/lib/action_controller/request.rb

    old new  
    639639            if top[-1].is_a?(Hash) && ! top[-1].key?(key) 
    640640              top[-1][key] = value 
    641641            else 
    642               top << {key => value}.with_indifferent_access 
     642              top << {key => value} #.with_indifferent_access 
    643643              push top.last 
    644644            end 
    645645          else