I have a basic active query like so:
m = Movie.includes(:genres)
m.genders is an
CollectionProxy in this case. Is there a way I can
this as an array?
I know that calling to_a will do this, but this becomes impractical for
bunch of includes.
The problem that I am having is that when I cache m in redis after
it the genres query is done again if I don’t iterate the collection.