Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong exception #95

Closed
wants to merge 1 commit into from
Closed

Fix wrong exception #95

wants to merge 1 commit into from

Commits on Jan 5, 2014

  1. Fix wrong exception

    I'm getting this exception : 
    
    CloudinaryException (Uploader configured for type private but resource of type private given.)
    
    from :
    ./lib/cloudinary/carrier_wave/storage.rb:9:
    
    Because storage_type is a symbol and the type given after the upload is a string. Storage_type
    
    So let's make sure it is a string.
    
    (If I find some time I will write a test case.)
    ombr committed Jan 5, 2014
    Configuration menu
    Copy the full SHA
    5b66685 View commit details
    Browse the repository at this point in the history