Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
simple utility to strip whitespace from model's string attributes
Ruby
tree: 6d0753bec9

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.document
.gitignore
LICENSE
README.rdoc
Rakefile
VERSION.yml
acts_as_stripped.gemspec

README.rdoc

acts_as_stripped

Simple utility to strip whitespace from string attributes.

Installation

Bundler configuration

gem 'acts_as_stripped'

Usage

# strip whitespace from specified string attributes
class Post < ActiveRecord::Base
  acts_as_stripped :title, :summary
end

Copyright

Copyright © 2009 Ryan Sonnek. See LICENSE for details.

Something went wrong with that request. Please try again.