2
0

Fix Style/SuperArguments cop (#30406)

This commit is contained in:
Matt Jankowski
2024-05-24 04:36:21 -04:00
committed by GitHub
parent 9305caf1fd
commit 9b5055d34d
6 changed files with 6 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ module Attachmentable
included do
def self.has_attached_file(name, options = {}) # rubocop:disable Naming/PredicateName
super(name, options)
super
send(:"before_#{name}_validate", prepend: true) do
attachment = send(name)