Extensions to Rails core libraries.
script/install git://github.com/msadouni/rails_extensions.git
truncate(options => {})
: truncates a string like ActionView::Helpers::TextHelper.truncate with the samelength
andomission
optionshttpize
: prependshttp://
to a string if it isn't already present.
Copyright (c) 2010 Matthieu Sadouni, released under the MIT license