Skip to content

Commit

Permalink
Removed the Rails20 callback compatibility module, since we're droppi…
Browse files Browse the repository at this point in the history
…ng 2.0.* support
  • Loading branch information
Jon Yurek committed May 18, 2010
1 parent 7c3dd0f commit aa93dae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/paperclip.rb
Expand Up @@ -120,8 +120,6 @@ def included base #:nodoc:
base.extend ClassMethods
if base.respond_to?("set_callback")
base.send :include, Paperclip::CallbackCompatability::Rails3
elsif !base.respond_to?("define_callbacks")
base.send :include, Paperclip::CallbackCompatability::Rails20
else
base.send :include, Paperclip::CallbackCompatability::Rails21
end
Expand Down

0 comments on commit aa93dae

Please sign in to comment.