gregschmit/rails-rest-framework

View on GitHub

Showing 3 of 8 total issues

Avoid deeply nested control flow statements.
Open

        subcfg = subcfg.in?(fields) ? subcfg : []
Severity: Major
Found in lib/rest_framework/serializers/native_serializer.rb - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

            subcfg = subcfg.in?(fields) ? [] : subcfg
    Severity: Major
    Found in lib/rest_framework/serializers/native_serializer.rb - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                    if v[:io].is_a?(String)
                      v[:io] = StringIO.new(Base64.decode64(v[:io]))
                    end
      Severity: Major
      Found in lib/rest_framework/mixins/model_controller_mixin.rb - About 45 mins to fix
        Severity
        Category
        Status
        Source
        Language