top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

omnicontacts open in popup for rails app?

+1 vote
453 views

I am using omni_contacts gem in my application. How can I open Facebook in a popup & after login redirect to the app closing the popup with results ?

Please help?

posted Mar 21, 2014 by Parveen

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+2 votes

I have a rails application, in which I am using delayed_job_active_record gem for running background jobs. While using the method .delay with an object, I am getting the following mysql error:

"INCORRECT STRING VALUE: \'XE2X9CX93"X0A ...\' FOR COLUMN \'HANDLER\' AT ROW 1"

I already searched for the above error and found that its because of the difference in encoding in mysql and rails. The solution suggested by many programmers is to alter the encoding in mysql database to utf8. But I also read that MySQL's utf8 charset only partially implements proper UTF-8 encoding. It can only store UTF-8-encoded symbols that consist of one to three bytes; encoded symbols that take up four bytes aren't supported. Which might cause trouble in some other cases. Also, when I tried to insert the value directly in mysql, it worked like a charm. Suggesting that the issue might lie elsewhere. So, can anyone please suggest the right method to rectify this problem?

Any help would be greatly appreciated.

0 votes

I have deployed a ruby on rails app on two instances of production server, now there are two separate log file are being created for different instances. My question is how I can make a single log file for both the instances?

+2 votes

I have found a html template where I some pages need specific css files and of course there are some common css files.

How can I best deal with it ?

0 votes

I am using Eclipse for my Ruby project. Is there a setting I can set to stop eclipse from building all the time? A typical build for my small project takes like 4 hours. so I cant even work when it kicks off a build.

0 votes

I have a server with 20Cores / 40Threads.I used to have only one website app (rails / unicorn / nginx , 40 workers) on it and everything was working well. Recently I added a new website app (rails / unicorn / nginx, 2 workers) and since this, I have much less requests for my first website. htop stats seems to be normal.

How can I find out where is the bottle neck ? Maybe it is link with network, as my second apps is making external requests ? Or maybe IO access as my second apps is also reading and writting in the ssd disk..

...