Flowdock
_define_after_model_callback(klass, callback) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/callbacks.rb, line 128
    def _define_after_model_callback(klass, callback) #:nodoc:
      klass.class_eval "def self.after_\#{callback}(*args, &block)\noptions = args.extract_options!\noptions[:prepend] = true\noptions[:if] = Array.wrap(options[:if]) << \"!halted && value != false\"\nset_callback(:\#{callback}, :after, *(args << options), &block)\nend\n", __FILE__, __LINE__ + 1
    end
Register or log in to add new notes.