Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Remove byebug
Browse files Browse the repository at this point in the history
  • Loading branch information
vtamara committed Feb 25, 2021
1 parent 928feb6 commit 2e1cd11
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/paperclip/validators/attachment_presence_validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ class AttachmentPresenceValidator < ActiveModel::EachValidator
def validate_each(record, attribute, value)
if record.send("#{attribute}_file_name").blank?
record.errors.add(attribute, :blank, **options)
byebug
end
end

Expand Down

0 comments on commit 2e1cd11

Please sign in to comment.