Has_many association

Hello All, newbie but I have one question: If I have a Model 'parent' and it contains has_many associations to 5 tables. 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? Thanks

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