Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
hoe-approved readme?
Browse files Browse the repository at this point in the history
  • Loading branch information
garybernhardt committed Aug 20, 2011
1 parent 10770e0 commit c99b3dc
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Do Not Want
-----------
# Do Not Want

* http://github.com/garybernhardt/donotwant

## DESCRIPTION:

Several methods in ActiveRecord skip validations, callbacks, or both. In my extremely humble but also extremely correct opinion, this is a bad idea.

Expand All @@ -9,13 +12,11 @@ To install:

gem install donotwant

Why Do It Do It
---------------
## Why Do It Do It

In my experience, even experienced Rails developers don't know which ActiveRecord methods skip validations and callbacks. Quick: which of `decrement`, `decrement!`, and `decrement_counter` skip which? (Hint: they're all different.)

How Do It Do It
---------------
## How Do It Do It

It `define_method`s them away.

Expand Down

0 comments on commit c99b3dc

Please sign in to comment.