Skip to content
Browse files

hoe-approved readme?

  • Loading branch information...
1 parent 10770e0 commit c99b3dc057717148a9f0ad057359dedd87052218 @garybernhardt committed Aug 19, 2011
Showing with 7 additions and 6 deletions.
  1. +7 −6
@@ -1,5 +1,8 @@
-Do Not Want
+# Do Not Want
Several methods in ActiveRecord skip validations, callbacks, or both. In my extremely humble but also extremely correct opinion, this is a bad idea.
@@ -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.

0 comments on commit c99b3dc

Please sign in to comment.
Something went wrong with that request. Please try again.