kjohnston/s3_relay

View on GitHub

Showing 1 of 1 total issue

Method s3_relay has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def s3_relay(attribute, has_many=false)
      upload_type = attribute.to_s.classify

      if has_many
        has_many attribute, as: :parent, class_name: "S3Relay::Upload"
Severity: Minor
Found in lib/s3_relay/model.rb - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language