Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [345f030c5b6c0a28ddde56c80a1112b00d345c79] by Sven Fuchs

Revision 345f030c5b6c0a28ddde56c80a1112b00d345c79, committed by Repository · 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...

2 changed files

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