Commit cfe406bf by Jeremy Walker

Fixed bug in including paperclip storage modules with underscores.

parent f5851f1d
......@@ -323,7 +323,7 @@ module Paperclip
end
def initialize_storage #:nodoc:
storage_class_name = @storage.to_s.capitalize
storage_class_name = @storage.to_s.camelize
begin
@storage_module = Paperclip::Storage.const_get(storage_class_name)
rescue NameError
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment