make forum post quoting regexp nongreedy
This commit is contained in:
@@ -16,7 +16,7 @@ class Upload < ActiveRecord::Base
|
||||
module ValidationMethods
|
||||
def uploader_is_not_limited
|
||||
if !uploader.can_upload?
|
||||
raise "uploader has reached their daily limit"
|
||||
raise Error.new("uploader has reached their daily limit")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user