lib/couchrest/model/validations.rb in couchrest_model-1.0.0 vs lib/couchrest/model/validations.rb in couchrest_model-1.1.0.beta
- old
+ new
@@ -13,9 +13,10 @@
# Validations may be applied to both Model::Base and Model::CastedModel
module Validations
extend ActiveSupport::Concern
included do
include ActiveModel::Validations
+ include ActiveModel::Validations::Callbacks
end
module ClassMethods