Skip to content
Browse files

Removed ActiveSupport req from deprecation

  • Loading branch information...
1 parent f78528a commit f4834d66871c3b3c8144397c7bf4d3e8b62b7bee @jyurek jyurek committed Feb 7, 2009
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/paperclip.rb
View
4 lib/paperclip.rb
@@ -67,9 +67,7 @@ def options
def path_for_command command #:nodoc:
if options[:image_magick_path]
- ActiveSupport::Deprecation.warn(":image_magick_path is deprecated and "+
- "will be removed. Use :command_path "+
- "instead")
+ warn("[DEPRECATION] :image_magick_path is deprecated and will be removed. Use :command_path instead")
end
path = [options[:command_path] || options[:image_magick_path], command].compact
File.join(*path)

0 comments on commit f4834d6

Please sign in to comment.
Something went wrong with that request. Please try again.