I'm using carrier wave and i get
NameError: undefined local variable or method `params' for main:Object
when i do u.commentfile = params[:file]
in the console? help!
The error is telling you exactly what's wrong. In the console, you're not in the scope of a request, so the params variable isn't defined unless you've done so manually. What are you trying to do?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With