Extensions to Rails core
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
generators/rails_extensions
lib
rails
test
MIT-LICENSE
README.markdown
Rakefile
init.rb
install.rb
uninstall.rb

README.markdown

RailsExtensions

Extensions to Rails core libraries.

Installation

script/install git://github.com/msadouni/rails_extensions.git

ActiveSupport

String

  • truncate(options => {}) : truncates a string like ActionView::Helpers::TextHelper.truncate with the same length and omission options
  • httpize : prepends http:// to a string if it isn't already present.

Copyright (c) 2010 Matthieu Sadouni, released under the MIT license