ActionDispatch MemCacheStore violates encapsulation principle

When pass :cache param to ActionDispatch::Session::MemCacheStore, it should be removed from options, otherwise it remains “published”. This violates the OOP encapsulation principle.

I created a LH ticket with a patch

http://bit.ly/cGDaWs

Luca