mercredi 13 janvier 2016

TypeError (no implicit conversion of nil into String):

The log indicates the error is in this line in one of my controllers

    original_cloudinary = Cloudinary::Uploader.upload(params[:original_image], :public_id => params[:band_name].gsub(/[^0-9a-z]/i, '_')+"-"+params[:shirt_name].gsub(/[^0-9a-z]/i, '_')+"-"+"#{Time.now.to_i}", :discard_original_filename => true)

Is this enough info? If you need more, please let let me know what you need. Any help would be very helpful. I'm a hack programmer at best and just feeling my way through this. Thanks!

Aucun commentaire:

Enregistrer un commentaire