On 10 Sep 2008, at 11:58, Hongli Lai wrote:

>
> On Sep 10, 12:57 pm, Hongli Lai <[EMAIL PROTECTED]> wrote:
>> On Sep 9, 7:53 pm, Frederick Cheung <[EMAIL PROTECTED]>
>> wrote:
>>
>>> Just to follow up on this (not that I've had time to touch this  
>>> since
>>> last week), what do people think we could do with this that would be
>>> useful ?
>>
>>> Fred
>>
>> It might be useful for lazy loading from the database inside cached
>> view fragments. One would normally only want to hit the database if
>> the data inside a view fragment isn't in the cache.
>>
>> Have you had any feedback on RailsConf?

Yeah, I chatted to Koz about it. I'm planning to play around with  
identity maps and stuff like that in conjunction with that (not that I  
have very definite plans - more of a lets toss all these things in the  
air and see what happens :-) )
>>
>
> Ah wait, I just realized that such a proxy could be useful in very
> large result sets. The proxy could only fetch a small amount into
> memory at a time, e.g. by using cursors.

That's certainly a thought (but I have to confess ignorance as far as  
cursors go, beyond the dictionary definition)

Fred
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to