Module: Paperclip::CallbackCompatability::Rails21::Defining

Defined in:
lib/paperclip/callback_compatability.rb

Instance Method Summary collapse

Instance Method Details

#define_paperclip_callbacks(*args) ⇒ Object



10
11
12
13
14
15
# File 'lib/paperclip/callback_compatability.rb', line 10

def define_paperclip_callbacks(*args)
  args.each do |callback|
    define_callbacks("before_#{callback}")
    define_callbacks("after_#{callback}")
  end
end