Is rails providing a generic lowest-common-denominator caching interface to 
many caching stores, memcached being only one of them?  If so, then it 
would make sense to provide a consistent semantic to all of them, rather 
than make each one behave quite differently based on what semantic each one 
internally uses.  This way you can easily switch between them without 
modifying all your code.

Of course if one is using memcached directly then it makes sense to use 
memcached semantics, and be more optimal about it too.

Dave


On Saturday, September 22, 2012 1:55:54 PM UTC-7, Michael Koziarski wrote:
>
> I disagree very strongly with this line of reasoning.  If you're using 
> memcached as a cache store, you should be relying on its semantics,  which 
> is that nil and 'no value' are identical.  
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-core/-/qN2qIHbNgccJ.
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