Commit c015fb88 by jyurek

Dumb arguments error

git-svn-id: https://svn.thoughtbot.com/plugins/paperclip/trunk@184 7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
parent eb83d16a
......@@ -45,7 +45,7 @@ module Thoughtbot #:nodoc:
class PaperclipError < StandardError #:nodoc:
attr_accessor :attachment, :reason, :exception
def initialize attachment, reason, exception
def initialize attachment, reason, exception = nil
@attachment, @reason, @exception = *args
end
end
......
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