This project is archived and is in readonly mode.

Changeset [345f030c5b6c0a28ddde56c80a1112b00d345c79] by Sven Fuchs

May 16th, 2008 @ 05:36 PM

Ensure routing generator works with non-string keys. [#172 state:resolved]

Make sure that (with recent correction to globbed parameter escaping) non-string

values can still be passed route generation helpers for globbed route segments.

For example, foo_path([1, 2, 3]) should still work for a route like map.foo "*globbed"

by implicitely calling to_s on the Fixnums.

Signed-off-by: Pratik Naik

http://github.com/rails/rails/co...

Committed by Repository

  • M actionpack/lib/action_controller/routing/segments.rb
  • M actionpack/test/controller/routing_test.rb

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>