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 [a4f2ba8fb3c46ef9f7e31725849efdcb1a22c72d] by Adam Cigánek

Revision a4f2ba8fb3c46ef9f7e31725849efdcb1a22c72d, committed by Adam Cigánek · September 23rd, 2008 @ 07:08 AM

Modified ActiveSupport::Inflector#parameterize with code from slugalizer (http://github.com/henrik/slugali...

Handles trailing and leading slashes, and squashes repeated separators into a single character.

Signed-off-by: Michael Koziarski michael@koziarski.com [#1034 state:committed] http://github.com/rails/rails/co...

3 changed files

  • M activesupport/lib/active_support/inflector.rb
  • M activesupport/test/inflector_test.rb
  • M activesupport/test/inflector_test_cases.rb