Module: Paperclip::Glue

Defined in:
lib/paperclip.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



155
156
157
158
159
160
161
162
# File 'lib/paperclip.rb', line 155

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