On Fri, May 2, 2014 at 2:54 PM, Andrei G. <[email protected]> wrote:

> You can use Group.includes(:users)


​Includes didn't work. But I asked on IRC and someone suggested using a
custom serializer.

That worked like a charm

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CALFmRoGONAJ9DCNgtqc79GVF6ijdxo-qtsSAxvZj_%2B7dW08DRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to