Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Sonnek committed Jun 25, 2009
1 parent 74a9b7b commit 97e469d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
18 changes: 17 additions & 1 deletion README.rdoc
@@ -1,6 +1,22 @@
= acts_as_stripped = acts_as_stripped


Description goes here. Simple utility to strip whitespace from string attributes.

= Installation

sudo gem install wireframe-acts_as_stripped

= Usage

# strip whitespace from *all* string attributes
class User < ActiveRecord::Base
acts_as_stripped
end

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


== Copyright == Copyright


Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

4 changes: 4 additions & 0 deletions VERSION.yml
@@ -0,0 +1,4 @@
---
:major: 0
:minor: 1
:patch: 1

0 comments on commit 97e469d

Please sign in to comment.