noosfero | Api proposal (#521)

Aurélio A. Heckert gitlab at gitlab.com
Wed Mar 25 13:34:02 BRT 2015


New comment for Merge Request 521

https://gitlab.com/noosfero/noosfero/merge_requests/521#note_1012544


Aurélio A. Heckert

Use `.select('DISTINCT profiles.*')` or `.select('DISTINCT ON (profiles.id) profiles.*')` in place of `.uniq` to do not run the SQL and allow more scope filter appending.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150325/f24ac91a/attachment-0001.html>


More information about the Noosfero-dev mailing list