Permalink
Browse files

Re-refactoring

git-svn-id: https://svn.thoughtbot.com/plugins/paperclip/trunk@240 7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
  • Loading branch information...
1 parent eba59da commit d68a942156de69d170dab67eeb218b685612d75c jyurek committed Nov 9, 2007
Showing with 431 additions and 266 deletions.
  1. +1 −3 init.rb
  2. +430 −263 lib/paperclip.rb
View
@@ -1,5 +1,3 @@
-require 'open-uri'
require File.join(File.dirname(__FILE__), "lib", "paperclip")
ActiveRecord::Base.extend( Thoughtbot::Paperclip::ClassMethods )
-File.send :include, Thoughtbot::Paperclip::Upfile
-URI.send :include, Thoughtbot::Paperclip::Upfile
+File.send :include, Thoughtbot::Paperclip::Upfile
Oops, something went wrong.

0 comments on commit d68a942

Please sign in to comment.