title: how to retrieve facebook, twitter, and google profile images without error using paperclip in rails 3.2
body: <p>i have setup devise to handle my authentication and am also using omniauth to do the third party authentication which also works well for me.
  i can retrieve the name, nickname, by setting this method in my user model</p>
  
  <pre><code>def self.from_omniauth(auth)
      where(auth.slice(:provider, :uid)).first_or_create do |user|
        user.provider = auth.provider
        user.uid = auth.uid
        user.username = auth.info.nickname
        user.username = auth.info.first_name
        user.email = auth.info.email
        user.photo = auth.info.image
  
      end
    end
  </code></pre>
  
  <p>and i use paperclip to handle my image processing 
  whenever i try to authenticate a user with </p>
  
  <p>user.photo = auth.info.image</p>
  
  <p>i get an error like this </p>
  
  <pre><code>Paperclip::AdapterRegistry::NoHandlerError in OmniauthCallbacksController#facebook
  
  No handler found for "http://graph.facebook.com/100006033401739/picture?type=square"
  </code></pre>
  
  <p>anyway around this or is there something am not doing right?</p>
  
  <p>my OmniauthCallbacksController controller is as thus:</p>
  
  <pre><code>class OmniauthCallbacksController &lt; Devise::OmniauthCallbacksController
    def all
      user = User.from_omniauth(request.env["omniauth.auth"])
      if user.persisted?
        flash.notice = "Signed in!"
        sign_in_and_redirect user
      else
        session["devise.user_attributes"] = user.attributes
        redirect_to new_user_registration_url
      end
    end
    alias_method :twitter, :all
    alias_method :facebook, :all
    alias_method :google_oauth2, :all
  end
  </code></pre>