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

Commit

Permalink
add example to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
garybernhardt committed Aug 20, 2011
1 parent 0aefd69 commit a9df697
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Expand Up @@ -6,11 +6,10 @@

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

Do Not Want kills those methods dead so you won't cut yourself on them.
Do Not Want kills those methods dead so you won't cut yourself on them:

To install:

gem install do_not_want
>> User.new.update_attribute(:foo, 5)
DoNotWant::NotSafe: User#update_attribute isn't safe because it skips validation

## Why Do It Do It

Expand Down

0 comments on commit a9df697

Please sign in to comment.