lib/dm-paperclip.rb in dm-paperclip-2.3.1 vs lib/dm-paperclip.rb in dm-paperclip-2.4.0
- old
+ new
@@ -23,10 +23,11 @@
# user.avatar.url(:thumb)
# # => "/users/avatars/4/thumb_me.jpg"
#
# See the +has_attached_file+ documentation for more details.
+require 'erb'
require 'tempfile'
require 'dm-core'
require 'dm-paperclip/upfile'
@@ -40,10 +41,10 @@
# The base module that gets included in ActiveRecord::Base. See the
# documentation for Paperclip::ClassMethods for more useful information.
module Paperclip
- VERSION = "2.3.1"
+ VERSION = "2.4.0"
# To configure Paperclip, put this code in an initializer, Rake task, or wherever:
#
# Paperclip.configure do |config|
# config.root = Rails.root # the application root to anchor relative urls (defaults to Dir.pwd)