artmotion-attachment_fu 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/init.rb +1 -0
- metadata +1 -1
data/init.rb
CHANGED
@@ -9,6 +9,7 @@ Tempfile.class_eval do
|
|
9
9
|
end
|
10
10
|
|
11
11
|
require 'geometry'
|
12
|
+
require 'technoweenie/attachment_fu'
|
12
13
|
ActiveRecord::Base.send(:extend, Technoweenie::AttachmentFu::ActMethods)
|
13
14
|
Technoweenie::AttachmentFu.tempfile_path = ATTACHMENT_FU_TEMPFILE_PATH if Object.const_defined?(:ATTACHMENT_FU_TEMPFILE_PATH)
|
14
15
|
FileUtils.mkdir_p Technoweenie::AttachmentFu.tempfile_path
|