The bug of PostgreSQL is on *app/models/person.rb*, on the
*common_connections_with* function.

I'm supposed that the bug is on the next SQL sentence

--------------
sql = %(SELECT connections.*, COUNT(contact_id) FROM `connections`
            INNER JOIN people contact ON connections.contact_id =
contact.id
            WHERE ((person_id = ? OR person_id = ?)
                   AND status = ? AND contact.deactivated = ?)
            GROUP BY contact_id
            HAVING count(contact_id) = 2)
--------------

>From #postgresql , said me that: "you don't want any quotes at all  in
this case."

So, deleting the back quotes(`) from connections solve this issue, but
it shows now another issues...
--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/

You received this message because you are subscribed to the Google
Groups "Insoshi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to