This project is archived and is in readonly mode.

#2798 ✓committed
Xavier Noria

generic reopening of core class should happen in AS/core_ext

Reported by Xavier Noria | June 13th, 2009 @ 09:42 AM | in 2.x

In Action Pack routing_ext.rb defines to_param for some core classes like TrueClass and NilClass, and adds a few general-purpose methods to Regexp. It evens defines Object#to_param again!

This patch performs a mini refactor to move that into standard places under AS/core_ext.

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