Jezek Jezek Mon Jan 17 01:35:23 -0500 2011

Subject: Disable Associations by default

How would I disable associations by default. Meaning say I have User Has Many posts, I don't want to pull in the posts every time I try to access a user, only when I specify it to. So how would I do this?


Kien La Mon Jan 17 21:20:43 -0500 2011

Associations are lazy loaded. So they aren't actually queried for until you call $user->posts

(1-1/1)