Module: Paperclip::Glue
- Defined in:
- lib/paperclip.rb
Class Method Summary collapse
-
.included(base) ⇒ Object
:nodoc:.
Class Method Details
.included(base) ⇒ Object
:nodoc:
161 162 163 164 165 166 167 168 |
# File 'lib/paperclip.rb', line 161 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 |