<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -50,7 +50,6 @@ class ApplicationController &lt; ActionController::Base
     if !session
       session :session =&gt; new
     end
-    CachedModel.cache_reset
     @current_user = nil
   end
 </diff>
      <filename>app/controllers/application.rb</filename>
    </modified>
    <modified>
      <diff>@@ -15,7 +15,7 @@ end
 #
 # Typo decides which Blog object to use by searching for a Blog base_url that
 # matches the base_url computed for each request.
-class Blog &lt; CachedModel
+class Blog &lt; ActiveRecord::Base
   include ConfigManager
   extend ActiveSupport::Memoizable
 </diff>
      <filename>app/models/blog.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 require 'net/http'
 
-class TextFilter &lt; CachedModel
+class TextFilter &lt; ActiveRecord::Base
   serialize :filters
   serialize :params
 </diff>
      <filename>app/models/text_filter.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 require 'digest/sha1'
 
-class User &lt; CachedModel
+class User &lt; ActiveRecord::Base
   belongs_to :profile
   belongs_to :text_filter
   has_many :notifications, :foreign_key =&gt; 'notify_user_id'</diff>
      <filename>app/models/user.rb</filename>
    </modified>
    <modified>
      <diff>@@ -44,8 +44,6 @@ Rails::Initializer.run do |config|
     vendor/sparklines/lib
     vendor/uuidtools/lib
     vendor/mocha/lib
-    vendor/memcache-client/lib
-    vendor/cached_model/lib
     vendor/rails/railties
     vendor/rails/railties/lib
     vendor/rails/actionpack/lib
@@ -191,8 +189,3 @@ if RAILS_ENV != 'test'
 end
 
 FLICKR_KEY='84f652422f05b96b29b9a960e0081c50'
-
-#require 'memcache_util'
-require 'cached_model'
-CachedModel.use_local_cache = true
-CachedModel.use_memcache = false</diff>
      <filename>config/environment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -17,7 +17,6 @@ describe 'ArticlesController' do
     IPSocket.stub!(:getaddress).and_return do
       raise SocketError.new(&quot;getaddrinfo: Name or service not known&quot;)
     end
-    CachedModel.cache_reset
     controller.send(:reset_blog_ids)
   end
 </diff>
      <filename>spec/controllers/articles_controller_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -28,7 +28,6 @@ end
 describe &quot;The default blog&quot; do
   it &quot;should pick up updates after a cache clear&quot; do
     a = Blog.default
-    CachedModel.cache_reset
     b = blogs(:default)
     b.blog_name = &quot;some other name&quot;
     c = Blog.default</diff>
      <filename>spec/models/blog_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -11,10 +11,6 @@ describe Comment do
                 :ip =&gt; '1.2.3.4'}.merge(options))
   end
 
-  before(:each) do
-    CachedModel.cache_reset
-  end
-
   describe '#permalink_url' do
     it 'should render permalink to comment in public part' do
       c = feedback(:old_comment)</diff>
      <filename>spec/models/comment_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -15,7 +15,6 @@ Spec::Runner.configure do |config|
         tags text_filters triggers users }
 
   config.before(:each) do
-    CachedModel.cache_reset
     Localization.lang = :default
   end
 </diff>
      <filename>spec/spec_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -22,7 +22,6 @@ class Test::Unit::TestCase
     yield(STARTED, name)
     @_result = result
     begin
-      CachedModel.cache_reset
       setup
       __send__(@method_name)
     rescue Test::Unit::AssertionFailedError =&gt; e</diff>
      <filename>test/test_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>vendor/cached_model/History.txt</filename>
    </removed>
    <removed>
      <filename>vendor/cached_model/LICENSE.txt</filename>
    </removed>
    <removed>
      <filename>vendor/cached_model/Manifest.txt</filename>
    </removed>
    <removed>
      <filename>vendor/cached_model/README.txt</filename>
    </removed>
    <removed>
      <filename>vendor/cached_model/Rakefile</filename>
    </removed>
    <removed>
      <filename>vendor/cached_model/lib/cached_model.rb</filename>
    </removed>
    <removed>
      <filename>vendor/cached_model/test/test_cached_model.rb</filename>
    </removed>
    <removed>
      <filename>vendor/memcache-client/History.txt</filename>
    </removed>
    <removed>
      <filename>vendor/memcache-client/LICENSE.txt</filename>
    </removed>
    <removed>
      <filename>vendor/memcache-client/Manifest.txt</filename>
    </removed>
    <removed>
      <filename>vendor/memcache-client/README.txt</filename>
    </removed>
    <removed>
      <filename>vendor/memcache-client/Rakefile</filename>
    </removed>
    <removed>
      <filename>vendor/memcache-client/lib/memcache.rb</filename>
    </removed>
    <removed>
      <filename>vendor/memcache-client/lib/memcache_util.rb</filename>
    </removed>
    <removed>
      <filename>vendor/memcache-client/test/test_mem_cache.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>ede85f5658455f040dd704425149378f21a3fb65</id>
    </parent>
  </parents>
  <author>
    <name>Fr&#233;d&#233;ric de Villamil</name>
    <email>frederic@de-villamil.com</email>
  </author>
  <url>http://github.com/fdv/typo/commit/e31bcef30dc34005d3c715d2fbd9f20a6d3a5473</url>
  <id>e31bcef30dc34005d3c715d2fbd9f20a6d3a5473</id>
  <committed-date>2009-06-04T10:45:48-07:00</committed-date>
  <authored-date>2009-06-04T10:45:48-07:00</authored-date>
  <message>Removing cached_model + memcache, useless since we're now doing static caching. First step for Typo diet</message>
  <tree>0dc8719ded5cc99d712143835cde96159901ab04</tree>
  <committer>
    <name>Fr&#233;d&#233;ric de Villamil</name>
    <email>frederic@de-villamil.com</email>
  </committer>
</commit>
