Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Bypassing AR instantiation for cacheable association collections

#11

Chris,

I have a very rough (and ugly) proof of concept for bypassing instantiation of association collection if the target is cacheable.This degrades gracefully with non-cacheable models.

http://pastie.caboo.se/59507

and

http://blog.methodmissing.com/20...

Would a cleaned up and well tested version ( although easily broken and too coupled with AR internals ) be useful as an optional cache_fu extension?

- Lourens

Reported by Lourens Naude · May 29th, 2007 @ 11:30 PM

State: hold
Milestone: none
Assigned to: Chris Wanstrath Chris Wanstrath

Activity

  1. Chris Wanstrath
    Chris Wanstrath
    • State changed from new to hold

    If you could turn this into a patch, I can apply it.

    May 29th, 2007 @ 11:30 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.