newbie but I have one question:
If I have a Model ‘parent’ and it contains has_many associations to 5
Now once parent object is loaded, all the other has_many associated
model also get retrieved which slows down the ‘parent’ model load.
What do you recommend this in these kinds of scenario?
Should disabling has_many option is the only way?
Can we avoid this? what would be the best way?
On 1/29/07, Rails junkie [email protected] wrote:
Auto-loading associations does not happen by default. So unless you
are using the :include directive you should be fine. Use
./script/console and development.log to verify what is happening.
Hope this helps.
Great. Will post the findings.
Appreciate the response