Validation Disabler =================== This plugin allows you to temporarily disable ActiveRecord validation by calling a class method. This is especially helpful in a test where you need to create a model without worrying about validation failing. The validation will be disabled for all models no matter which class you call it on. Therefore, I recommend you call it on ActiveRecord::Base so there is no confusion. I describe the implementation of this plugin in Railscasts episode #62: http://railscasts.com/episodes/62 Example ======= ActiveRecord::Base.disable_validation! Item.create!(:name => 'Foo') # validation doesn't take place ActiveRecord::Base.validation_disabled? # => true ActiveRecord::Base.enable_validation! -- Copyright (c) 2007 Ryan Bates, released under the MIT license