diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-08-01 10:43:45 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-08-01 10:46:35 -0300 |
commit | 69339e54d3464c6e4193ce744f975fd52b348449 (patch) | |
tree | 13c24ca75710c2ee442340e12de85fcdafa124fd /activerecord/lib/active_record/associations/collection_association.rb | |
parent | 4e00ac3ca46ae78af3d5385bb2fec4ff480d3e29 (diff) | |
download | rails-69339e54d3464c6e4193ce744f975fd52b348449.tar.gz rails-69339e54d3464c6e4193ce744f975fd52b348449.tar.bz2 rails-69339e54d3464c6e4193ce744f975fd52b348449.zip |
Fix `current_page?` when the URL contains escaped characters
In some cases webservers like nginx send the escaped characters
lowercased to the Rails application. The current_page? helper was
comparing the escaped strings that are different since Ruby escapes the
URL using uppercased characters.
Diffstat (limited to 'activerecord/lib/active_record/associations/collection_association.rb')
0 files changed, 0 insertions, 0 deletions