I have a Store model and Inventory model in which Store has_many Inventories.
The her document says
Subsequent calls to #comments, #role and #organization will not trigger extra HTTP requests and will return the cached objects.
But when I tied, Her is making subsequent calls.
@store = Store.find(1)
@products = @store.inventories # Fires first call to inventories which is ok.
@metadata = @products.metadata # Fires another request to inventories which is unexpected
@products. each do | product | # Again fires another request to inventories
# do something with product
end
Any one facing the same issue?
I tried with master branch and v0.6.8 same issue on both.