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.

Custom Separators for String Parameterizing

#2157

This patch will allow strings to have custom separators when you call parameterize. It merely calls Inflector.parameterize with a custom separator, or the default '-' if you don't specify anything

Reported by Sam Granieri · March 6th, 2009 @ 08:31 PM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. José Valim
  2. Pratik
    Pratik
    • Title changed from [PATCH] Custom Separators for String Parameterizing to Custom Separators for String Parameterizing

    March 7th, 2009 @ 10:50 AM

  3. Repository
    Repository
    • State changed from new to resolved

    (from [20d3892f46c553e8ca3d4e8d223a3bd92789556d]) Allow String#parameterize to accept a separator [#2157 Custom Separators for String Parameterizing state:resolved]

    Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

    March 7th, 2009 @ 11:00 AM