added autovalidation (auto_validate! in your ExtendedDocument) and extracted some extlib stuff so we will soon be able to remove the dependency.

This commit is contained in:
Matt Aimonetti 2009-02-05 17:06:12 -08:00
parent e9930c5a86
commit 890b60cae4
18 changed files with 497 additions and 52 deletions

View file

@ -1,3 +1,5 @@
require File.join(File.dirname(__FILE__), '..', 'support', 'class')
# Extracted from ActiveSupport::Callbacks written by Yehuda Katz
# http://github.com/wycats/rails/raw/18b405f154868204a8f332888871041a7bad95e1/activesupport/lib/active_support/callbacks.rb