Module: CouchRest::Model::Callbacks
- Defined in:
- lib/couchrest/core/model.rb
Overview
module MagicViews
Class Method Summary collapse
Class Method Details
.included(model) ⇒ Object
333 334 335 336 337 338 |
# File 'lib/couchrest/core/model.rb', line 333 def self.included(model) model.class_eval <<-EOS, __FILE__, __LINE__ include Extlib::Hook register_instance_hooks :save, :create, :update #, :destroy EOS end |