Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

hoe-approved readme?

  • Loading branch information...
commit c99b3dc057717148a9f0ad057359dedd87052218 1 parent 10770e0
@garybernhardt authored
Showing with 7 additions and 6 deletions.
  1. +7 −6 README.md
View
13 README.md
@@ -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.
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.