method

attachments?

attachments?(name)
private

No documentation available.

# File railties/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb, line 50
        def attachments?(name)
          attribute = attributes.find { |attr| attr.name == name }
          attribute&.attachments?
        end