what does this mean for linkedin gem? undefined method `downcase' for nil:NilClass-Collection of common programming errors

If you paste the complete stacktrace I can give a better solution, but basically, one of the parameters you’re passing to one of the methods there, is nil.

Most probably on one of these two lines

@client = LinkedIn::Client.new(ENV["LINKEDIN_KEY"], ENV["LINKEDIN_SECRET"]) 
@client.authorize_from_access(@user.atoken, @user.asecret) 

And if it “just” started happening, without a code change, I would bet my 2 cents that one of the ENV properties is returning nil

Originally posted 2013-11-09 23:05:46.