Module: Paperclip::Glue

Defined in:
lib/paperclip.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



159
160
161
162
163
164
165
166
# File 'lib/paperclip.rb', line 159

def self.included base #:nodoc:
  base.extend ClassMethods
  if base.respond_to?("set_callback")
    base.send :include, Paperclip::CallbackCompatability::Rails3
  else
    base.send :include, Paperclip::CallbackCompatability::Rails21
  end
end