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.

TextHelper refactored

#705

As with my other helper patches (http://rails.lighthouseapp.com/p..., http://rails.lighthouseapp.com/p... and http://rails.lighthouseapp.com/p..., here's a patch to make all relevant text helper methods (truncate, highlight, excerpt, word_wrap and auto_link) accept an options hash.

Includes tests plus updated documentation.

Reported by Clemens Kofler · July 25th, 2008 @ 04:06 PM

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

Activity

  1. Repository
    Repository
    • State changed from new to resolved

    (from [10d9fe4bf3110c1d5de0c6b509fe0cbb9d5eda1d]) Refactored TextHelper#truncate, highlight, excerpt, word_wrap and auto_link to accept options hash [#705 state:resolved]

    Signed-off-by: Joshua Peek

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

    July 27th, 2008 @ 10:47 PM