redirection forbidden / bad uri (facebook) paperclip image
问题 I'm trying to save a users facebook url into my db, but I get the following error. redirection forbidden: http://graph.facebook.com/1240771104/picture -> https://fbcdn-profile-a.akamaihd.net/hprofile-ak-prn2/t... I've referenced this question but I think he is just calling an image instead of saving it to a db with a create block. Here is my user model... def self.find_for_facebook_oauth(auth, signed_in_resource=nil) user = User.where(:provider => auth.provider, :uid => auth.uid).first if