Showing 1 of 1 total issue
Method s3_relay
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
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"