Ruby on Rails Friday, May 2, 2014


On Fri, May 2, 2014 at 2:54 PM, Andrei G. <lists@ruby-forum.com> 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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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.

No comments:

Post a Comment