Closed przbadu closed 10 months ago
So the problem was because of net-protocol
gem not actually directly related with paperclip.
The fix was to downgrade net-protocol
from 0.2.2
to 0.1.1
.
gem 'net-protocol', '~> 0.1.0'
Also note that, it is happening on ruby version 3.0.x
and rails version 6.1.x
combination.
Describe the bug
Model code
Test case:
To Reproduce Steps to reproduce the behavior:
Minitest::UnexpectedError: TypeError: no implicit conversion from nil to integer
Expected behavior It should create uploads
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):