thoughtbot/paperclip

View on GitHub
lib/paperclip/io_adapters/uploaded_file_adapter.rb

Summary

Maintainability
A
0 mins
Test Coverage

Use the return of the conditional for variable assignment and comparison.
Open

      if @target.respond_to?(:tempfile)
        @tempfile = copy_to_tempfile(@target.tempfile)
      else
        @tempfile = copy_to_tempfile(@target)
      end

There are no issues that match your filters.

Category
Status