lib/paperclip.rb in paperclip-3.0.2 vs lib/paperclip.rb in paperclip-3.0.3

- old
+ new

@@ -44,13 +44,14 @@ require 'paperclip/missing_attachment_styles' require 'paperclip/validators' require 'paperclip/instance_methods' require 'paperclip/logger' require 'paperclip/helpers' -require 'paperclip/railtie' require 'mime/types' require 'logger' require 'cocaine' + +require 'paperclip/railtie' if defined?(Rails) # The base module that gets included in ActiveRecord::Base. See the # documentation for Paperclip::ClassMethods for more useful information. module Paperclip extend Helpers