Module: Paperclip::CallbackCompatability

Defined in:
lib/paperclip/callback_compatability.rb

Overview

This module is intended as a compatability shim for the differences in callbacks between Rails 2.0 and Rails 2.1.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
# File 'lib/paperclip/callback_compatability.rb', line 5

def self.included(base)
  base.extend(ClassMethods)
  base.send(:include, InstanceMethods)
end