display authentication, connection error messages of contacts gem as errors in application. #40

coolsid78 opened this Issue Nov 7, 2011 · 1 comment


None yet

2 participants


I am successfully able to import contacts using contacts gem in rails 3.1. However, I am not able to display contacts authentication or connection error messages in my application. It gives the following error message in new page:-

Contacts::AuthenticationError in SocialContactsController#import_contacts

Username and password do not match

I am using

@contacts = @sites[params[:from]].new(params[:login], params[:password]).contacts

for authenticating username and password


Having similar issue. Successfully imported contacts in localhost, but getting authentication error in Heroku app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment