Commit ce598d61 by Henrik N

Correct Attachment#valid? doc.

parent f8fff43d
......@@ -97,7 +97,7 @@ module Paperclip
url(style)
end
# Returns true if there are any errors on this attachment.
# Returns true if there are no errors on this attachment.
def valid?
validate
errors.length == 0
......
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