Sha256: 3238bf4c3ab9a810956aa650e3d446987733f57a8ad4c8c0310aedc30ea0c9db
Contents?: true
Size: 380 Bytes
Versions: 3
Compression:
Stored size: 380 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc: module Callbacks extend ActiveSupport::Concern included do extend ActiveModel::Callbacks # Define all the callbacks that are accepted by the document. define_model_callbacks \ :create, :destroy, :save, :update, :validate, :terminator => false end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
mongoid-pre-2.0.0.beta1 | lib/mongoid/callbacks.rb |
mongoid-2.0.0.alpha | lib/mongoid/callbacks.rb |
mongoid-pre-2.0.0.pre | lib/mongoid/callbacks.rb |