This project is archived and is in readonly mode.

#2050 ✓committed
Sam Granieri

Ruby1.9: Removed a Regexp API warning

Reported by Sam Granieri | February 23rd, 2009 @ 03:29 AM

I installed Ruby1.9 and ran the tests, and found what looks like a simple bug.

/Users/sam/Development/Ruby/rails/rails/actionpack/lib/action_controller/routing/segments.rb:9: warning: encoding option is ignored - N

I looked up the API in rdoc and made a quick change.

Tests work on 1.8.6, 1.8.7, and 1.9.1

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages