<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>test/fixtures/docs.yml</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -5,9 +5,10 @@ class DocsController &lt; ApplicationController
   # GET /docs.xml
   # GET /docs.atom
   # GET /docs.js
+  # GET /docs.csv
+  # GET /docs.txt
   def index
     @docs = if params[:q].present?
-      @title = &quot;#{params[:q]} - #{@title}&quot;
       Doc.search(params[:q])
     else
       Doc</diff>
      <filename>app/controllers/docs_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,6 @@
 class Doc &lt; ActiveRecord::Base
   include PaginationScope
+
   @@record_timestamps = false
 
   default_scope :order =&gt; &quot;updated_at DESC&quot;
@@ -12,4 +13,6 @@ class Doc &lt; ActiveRecord::Base
 
   named_scope :search, lambda {|s|
     {:conditions =&gt; [&quot;title LIKE ? OR body LIKE ?&quot;, &quot;%#{s}%&quot;, &quot;%#{s}%&quot;]}}
+
+  validates_presence_of :body, :created_at, :updated_at
 end</diff>
      <filename>app/models/doc.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
+- title params[:q].present? ? &quot;#{params[:q]} - p0t&quot; : &quot;p0t&quot;
 .docs.autopagerize_page_element
   = render :partial =&gt; &quot;doc&quot;, :collection =&gt; @docs
   = paginate @docs</diff>
      <filename>app/views/docs/index.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
+- title @doc.title.present? ? &quot;#{@doc.title} - p0t&quot; : &quot;p0t&quot;
 = render :partial =&gt; 'doc', :locals =&gt; {:doc =&gt; @doc}
 #comment-plnet
 %script{:type =&gt; &quot;text/javascript&quot;,</diff>
      <filename>app/views/docs/show.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -14,11 +14,12 @@
     %link{:href =&gt; &quot;/favicon.ico&quot;, :rel =&gt; &quot;shortcut icon&quot;}
     %link{:href =&gt; &quot;/sitemap.xml&quot;, :rel =&gt; &quot;alternate&quot;, :title =&gt; @title, :type =&gt; &quot;application/rss+xml&quot;}
     = stylesheet_link_tag &quot;application&quot;
-    - if yield :head
-      = yield :head
+    - head_content = yield :head
+    - if head_content
+      = head_content
   %body
     .header
-      %h1.title= link_to @title, root_path
+      %h1.title= link_to &quot;p0t&quot;, root_path
       .description= @description
     %ul.menu
       %li= link_to &quot;Profile&quot;, &quot;http://komagata.org&quot;</diff>
      <filename>app/views/layouts/application.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -15,12 +15,7 @@ Rails::Initializer.run do |config|
   # config.load_paths += %W( #{RAILS_ROOT}/extras )
 
   # Specify gems that this application depends on and have them installed with rake gems:install
-  # config.gem &quot;bj&quot;
-  # config.gem &quot;hpricot&quot;, :version =&gt; '0.6', :source =&gt; &quot;http://code.whytheluckystiff.net&quot;
-  # config.gem &quot;sqlite3-ruby&quot;, :lib =&gt; &quot;sqlite3&quot;
-  # config.gem &quot;aws-s3&quot;, :lib =&gt; &quot;aws/s3&quot;
   config.gem &quot;pagination_scope&quot;
-  config.gem &quot;bluecloth&quot;
 
   # Only load the plugins named here, in the order given (default is alphabetical).
   # :all can be used as a placeholder for all plugins not explicitly named
@@ -50,5 +45,3 @@ CalendarDateSelect::FORMATS[:japanese] = {
 CalendarDateSelect.format = :japanese
 
 ENV['GEM_PATH'] = '/home/komagata/.gems'
-
-require &quot;RedCloth&quot;</diff>
      <filename>config/environment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -21,5 +21,4 @@ config.action_controller.allow_forgery_protection    = false
 # ActionMailer::Base.deliveries array.
 config.action_mailer.delivery_method = :test
 
-config.gem &quot;rspec&quot;, :lib =&gt; &quot;spec&quot;
-config.gem &quot;rspec-rails&quot;, :lib =&gt; &quot;spec/rails&quot;
+config.gem &quot;thoughtbot-shoulda&quot;, :lib =&gt; &quot;shoulda&quot;, :source =&gt; &quot;http://gems.github.com&quot;</diff>
      <filename>config/environments/test.rb</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>db/test.sqlite3</filename>
    </modified>
    <modified>
      <diff>@@ -15168,3 +15168,379 @@ Rendered docs/_doc (2.2ms)
   *[4;36;1mSQL (24.2ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
   *[4;35;1mSQL (19.4ms)*[0m   *[0mSELECT count(DISTINCT docs.id) AS count_docs_id FROM &quot;docs&quot; *[0m
 Completed in 230ms (View: 122, DB: 103) | 200 OK [http://cloister/]
+
+
+Processing DocsController#index (for 127.0.0.1 at 2009-09-23 02:22:29) [GET]
+  Parameters: {&quot;q&quot;=&gt;&quot;ocaml&quot;}
+Rendering template within layouts/application
+Rendering docs/index
+  *[4;36;1mDoc Load (53.3ms)*[0m   *[0;1mSELECT * FROM &quot;docs&quot; WHERE (title LIKE '%ocaml%' OR body LIKE '%ocaml%') ORDER BY updated_at DESC LIMIT 10 OFFSET 0*[0m
+Rendered docs/_doc (93.5ms)
+Rendered docs/_doc (2.2ms)
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mselect sqlite_version(*)*[0m
+  *[4;36;1mSQL (46.4ms)*[0m   *[0;1mSELECT count(DISTINCT docs.id) AS count_docs_id FROM &quot;docs&quot; WHERE (title LIKE '%ocaml%' OR body LIKE '%ocaml%') *[0m
+Completed in 275ms (View: 170, DB: 100) | 200 OK [http://cloister/find?q=ocaml]
+
+
+Processing DocsController#index (for 127.0.0.1 at 2009-09-23 15:51:18) [GET]
+Rendering template within layouts/application
+Rendering docs/index
+  *[4;36;1mDoc Load (420.4ms)*[0m   *[0;1mSELECT * FROM &quot;docs&quot; ORDER BY updated_at DESC LIMIT 10 OFFSET 0*[0m
+Rendered docs/_doc (115.9ms)
+Rendered docs/_doc (2.5ms)
+Rendered docs/_doc (2.2ms)
+Rendered docs/_doc (1.9ms)
+Rendered docs/_doc (1.9ms)
+Rendered docs/_doc (2.2ms)
+Rendered docs/_doc (1.8ms)
+Rendered docs/_doc (2.0ms)
+Rendered docs/_doc (2.0ms)
+Rendered docs/_doc (1.9ms)
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mselect sqlite_version(*)*[0m
+  *[4;36;1mSQL (17.3ms)*[0m   *[0;1mSELECT count(DISTINCT docs.id) AS count_docs_id FROM &quot;docs&quot; *[0m
+Completed in 642ms (View: 199, DB: 438) | 200 OK [http://cloister/]
+  *[4;36;1mSQL (0.9ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM schema_migrations*[0m
+  *[4;36;1mSQL (0.2ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (19.4ms)*[0m   *[0;1mCREATE TABLE &quot;docs&quot; (&quot;id&quot; INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, &quot;title&quot; varchar(255), &quot;body&quot; text, &quot;created_at&quot; datetime, &quot;updated_at&quot; datetime) *[0m
+  *[4;35;1mSQL (0.3ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.2ms)*[0m   *[0;1mCREATE TABLE &quot;schema_migrations&quot; (&quot;version&quot; varchar(255) NOT NULL) *[0m
+  *[4;35;1mSQL (2.4ms)*[0m   *[0mCREATE UNIQUE INDEX &quot;unique_schema_migrations&quot; ON &quot;schema_migrations&quot; (&quot;version&quot;)*[0m
+  *[4;36;1mSQL (0.3ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM &quot;schema_migrations&quot;*[0m
+  *[4;36;1mSQL (2.0ms)*[0m   *[0;1mINSERT INTO &quot;schema_migrations&quot; (version) VALUES ('20081122180707')*[0m
+  *[4;36;1mSQL (0.9ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.3ms)*[0m   *[0mSELECT version FROM schema_migrations*[0m
+  *[4;36;1mSQL (0.2ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.7ms)*[0m   *[0;1mCREATE TABLE &quot;docs&quot; (&quot;id&quot; INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, &quot;title&quot; varchar(255), &quot;body&quot; text, &quot;created_at&quot; datetime, &quot;updated_at&quot; datetime) *[0m
+  *[4;35;1mSQL (0.4ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.2ms)*[0m   *[0;1mCREATE TABLE &quot;schema_migrations&quot; (&quot;version&quot; varchar(255) NOT NULL) *[0m
+  *[4;35;1mSQL (2.6ms)*[0m   *[0mCREATE UNIQUE INDEX &quot;unique_schema_migrations&quot; ON &quot;schema_migrations&quot; (&quot;version&quot;)*[0m
+  *[4;36;1mSQL (0.3ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.1ms)*[0m   *[0mSELECT version FROM &quot;schema_migrations&quot;*[0m
+  *[4;36;1mSQL (1.8ms)*[0m   *[0;1mINSERT INTO &quot;schema_migrations&quot; (version) VALUES ('20081122180707')*[0m
+  *[4;36;1mSQL (1.0ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM schema_migrations*[0m
+  *[4;36;1mSQL (0.2ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (1.5ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.4ms)*[0m   *[0;1mCREATE TABLE &quot;docs&quot; (&quot;id&quot; INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, &quot;title&quot; varchar(255), &quot;body&quot; text, &quot;created_at&quot; datetime, &quot;updated_at&quot; datetime) *[0m
+  *[4;35;1mSQL (0.3ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.3ms)*[0m   *[0;1mCREATE TABLE &quot;schema_migrations&quot; (&quot;version&quot; varchar(255) NOT NULL) *[0m
+  *[4;35;1mSQL (2.7ms)*[0m   *[0mCREATE UNIQUE INDEX &quot;unique_schema_migrations&quot; ON &quot;schema_migrations&quot; (&quot;version&quot;)*[0m
+  *[4;36;1mSQL (0.4ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.1ms)*[0m   *[0mSELECT version FROM &quot;schema_migrations&quot;*[0m
+  *[4;36;1mSQL (2.6ms)*[0m   *[0;1mINSERT INTO &quot;schema_migrations&quot; (version) VALUES ('20081122180707')*[0m
+  *[4;36;1mSQL (0.8ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM schema_migrations*[0m
+  *[4;36;1mSQL (0.2ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.1ms)*[0m   *[0;1mCREATE TABLE &quot;docs&quot; (&quot;id&quot; INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, &quot;title&quot; varchar(255), &quot;body&quot; text, &quot;created_at&quot; datetime, &quot;updated_at&quot; datetime) *[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (1.9ms)*[0m   *[0;1mCREATE TABLE &quot;schema_migrations&quot; (&quot;version&quot; varchar(255) NOT NULL) *[0m
+  *[4;35;1mSQL (2.6ms)*[0m   *[0mCREATE UNIQUE INDEX &quot;unique_schema_migrations&quot; ON &quot;schema_migrations&quot; (&quot;version&quot;)*[0m
+  *[4;36;1mSQL (0.4ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM &quot;schema_migrations&quot;*[0m
+  *[4;36;1mSQL (2.1ms)*[0m   *[0;1mINSERT INTO &quot;schema_migrations&quot; (version) VALUES ('20081122180707')*[0m
+  *[4;36;1mSQL (1.3ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM schema_migrations*[0m
+  *[4;36;1mSQL (0.2ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.5ms)*[0m   *[0;1mCREATE TABLE &quot;docs&quot; (&quot;id&quot; INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, &quot;title&quot; varchar(255), &quot;body&quot; text, &quot;created_at&quot; datetime, &quot;updated_at&quot; datetime) *[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.1ms)*[0m   *[0;1mCREATE TABLE &quot;schema_migrations&quot; (&quot;version&quot; varchar(255) NOT NULL) *[0m
+  *[4;35;1mSQL (2.3ms)*[0m   *[0mCREATE UNIQUE INDEX &quot;unique_schema_migrations&quot; ON &quot;schema_migrations&quot; (&quot;version&quot;)*[0m
+  *[4;36;1mSQL (0.3ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.1ms)*[0m   *[0mSELECT version FROM &quot;schema_migrations&quot;*[0m
+  *[4;36;1mSQL (1.6ms)*[0m   *[0;1mINSERT INTO &quot;schema_migrations&quot; (version) VALUES ('20081122180707')*[0m
+  *[4;36;1mSQL (0.9ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM schema_migrations*[0m
+  *[4;36;1mSQL (0.2ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (0.3ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (3.2ms)*[0m   *[0;1mCREATE TABLE &quot;docs&quot; (&quot;id&quot; INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, &quot;title&quot; varchar(255), &quot;body&quot; text, &quot;created_at&quot; datetime, &quot;updated_at&quot; datetime) *[0m
+  *[4;35;1mSQL (0.4ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (3.2ms)*[0m   *[0;1mCREATE TABLE &quot;schema_migrations&quot; (&quot;version&quot; varchar(255) NOT NULL) *[0m
+  *[4;35;1mSQL (2.5ms)*[0m   *[0mCREATE UNIQUE INDEX &quot;unique_schema_migrations&quot; ON &quot;schema_migrations&quot; (&quot;version&quot;)*[0m
+  *[4;36;1mSQL (0.7ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.1ms)*[0m   *[0mSELECT version FROM &quot;schema_migrations&quot;*[0m
+  *[4;36;1mSQL (2.3ms)*[0m   *[0;1mINSERT INTO &quot;schema_migrations&quot; (version) VALUES ('20081122180707')*[0m
+  *[4;36;1mSQL (0.8ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM schema_migrations*[0m
+  *[4;36;1mSQL (0.2ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (0.3ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.4ms)*[0m   *[0;1mCREATE TABLE &quot;docs&quot; (&quot;id&quot; INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, &quot;title&quot; varchar(255), &quot;body&quot; text, &quot;created_at&quot; datetime, &quot;updated_at&quot; datetime) *[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.3ms)*[0m   *[0;1mCREATE TABLE &quot;schema_migrations&quot; (&quot;version&quot; varchar(255) NOT NULL) *[0m
+  *[4;35;1mSQL (2.7ms)*[0m   *[0mCREATE UNIQUE INDEX &quot;unique_schema_migrations&quot; ON &quot;schema_migrations&quot; (&quot;version&quot;)*[0m
+  *[4;36;1mSQL (0.3ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM &quot;schema_migrations&quot;*[0m
+  *[4;36;1mSQL (2.0ms)*[0m   *[0;1mINSERT INTO &quot;schema_migrations&quot; (version) VALUES ('20081122180707')*[0m
+  *[4;36;1mSQL (0.8ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM schema_migrations*[0m
+  *[4;36;1mSQL (1.5ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (0.3ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (3.1ms)*[0m   *[0;1mCREATE TABLE &quot;docs&quot; (&quot;id&quot; INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, &quot;title&quot; varchar(255), &quot;body&quot; text, &quot;created_at&quot; datetime, &quot;updated_at&quot; datetime) *[0m
+  *[4;35;1mSQL (0.5ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.2ms)*[0m   *[0;1mCREATE TABLE &quot;schema_migrations&quot; (&quot;version&quot; varchar(255) NOT NULL) *[0m
+  *[4;35;1mSQL (2.9ms)*[0m   *[0mCREATE UNIQUE INDEX &quot;unique_schema_migrations&quot; ON &quot;schema_migrations&quot; (&quot;version&quot;)*[0m
+  *[4;36;1mSQL (0.5ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.4ms)*[0m   *[0mSELECT version FROM &quot;schema_migrations&quot;*[0m
+  *[4;36;1mSQL (2.2ms)*[0m   *[0;1mINSERT INTO &quot;schema_migrations&quot; (version) VALUES ('20081122180707')*[0m
+  *[4;36;1mSQL (0.8ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM schema_migrations*[0m
+  *[4;36;1mSQL (0.2ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.7ms)*[0m   *[0;1mCREATE TABLE &quot;docs&quot; (&quot;id&quot; INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, &quot;title&quot; varchar(255), &quot;body&quot; text, &quot;created_at&quot; datetime, &quot;updated_at&quot; datetime) *[0m
+  *[4;35;1mSQL (0.4ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.9ms)*[0m   *[0;1mCREATE TABLE &quot;schema_migrations&quot; (&quot;version&quot; varchar(255) NOT NULL) *[0m
+  *[4;35;1mSQL (2.6ms)*[0m   *[0mCREATE UNIQUE INDEX &quot;unique_schema_migrations&quot; ON &quot;schema_migrations&quot; (&quot;version&quot;)*[0m
+  *[4;36;1mSQL (3.1ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM &quot;schema_migrations&quot;*[0m
+  *[4;36;1mSQL (2.2ms)*[0m   *[0;1mINSERT INTO &quot;schema_migrations&quot; (version) VALUES ('20081122180707')*[0m
+  *[4;36;1mSQL (0.9ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM schema_migrations*[0m
+  *[4;36;1mSQL (0.2ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (0.3ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (3.4ms)*[0m   *[0;1mCREATE TABLE &quot;docs&quot; (&quot;id&quot; INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, &quot;title&quot; varchar(255), &quot;body&quot; text, &quot;created_at&quot; datetime, &quot;updated_at&quot; datetime) *[0m
+  *[4;35;1mSQL (0.4ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.5ms)*[0m   *[0;1mCREATE TABLE &quot;schema_migrations&quot; (&quot;version&quot; varchar(255) NOT NULL) *[0m
+  *[4;35;1mSQL (3.2ms)*[0m   *[0mCREATE UNIQUE INDEX &quot;unique_schema_migrations&quot; ON &quot;schema_migrations&quot; (&quot;version&quot;)*[0m
+  *[4;36;1mSQL (0.7ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.1ms)*[0m   *[0mSELECT version FROM &quot;schema_migrations&quot;*[0m
+  *[4;36;1mSQL (2.1ms)*[0m   *[0;1mINSERT INTO &quot;schema_migrations&quot; (version) VALUES ('20081122180707')*[0m
+  *[4;36;1mSQL (0.8ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM schema_migrations*[0m
+  *[4;36;1mSQL (0.2ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (0.7ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.5ms)*[0m   *[0;1mCREATE TABLE &quot;docs&quot; (&quot;id&quot; INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, &quot;title&quot; varchar(255), &quot;body&quot; text, &quot;created_at&quot; datetime, &quot;updated_at&quot; datetime) *[0m
+  *[4;35;1mSQL (0.3ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.3ms)*[0m   *[0;1mCREATE TABLE &quot;schema_migrations&quot; (&quot;version&quot; varchar(255) NOT NULL) *[0m
+  *[4;35;1mSQL (2.5ms)*[0m   *[0mCREATE UNIQUE INDEX &quot;unique_schema_migrations&quot; ON &quot;schema_migrations&quot; (&quot;version&quot;)*[0m
+  *[4;36;1mSQL (0.6ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM &quot;schema_migrations&quot;*[0m
+  *[4;36;1mSQL (1.7ms)*[0m   *[0;1mINSERT INTO &quot;schema_migrations&quot; (version) VALUES ('20081122180707')*[0m
+  *[4;36;1mSQL (0.9ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM schema_migrations*[0m
+  *[4;36;1mSQL (0.3ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (0.3ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.3ms)*[0m   *[0;1mCREATE TABLE &quot;docs&quot; (&quot;id&quot; INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, &quot;title&quot; varchar(255), &quot;body&quot; text, &quot;created_at&quot; datetime, &quot;updated_at&quot; datetime) *[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.4ms)*[0m   *[0;1mCREATE TABLE &quot;schema_migrations&quot; (&quot;version&quot; varchar(255) NOT NULL) *[0m
+  *[4;35;1mSQL (2.7ms)*[0m   *[0mCREATE UNIQUE INDEX &quot;unique_schema_migrations&quot; ON &quot;schema_migrations&quot; (&quot;version&quot;)*[0m
+  *[4;36;1mSQL (0.4ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.1ms)*[0m   *[0mSELECT version FROM &quot;schema_migrations&quot;*[0m
+  *[4;36;1mSQL (1.8ms)*[0m   *[0;1mINSERT INTO &quot;schema_migrations&quot; (version) VALUES ('20081122180707')*[0m
+  *[4;36;1mSQL (0.9ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM schema_migrations*[0m
+  *[4;36;1mSQL (0.2ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (0.3ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (1.8ms)*[0m   *[0;1mCREATE TABLE &quot;docs&quot; (&quot;id&quot; INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, &quot;title&quot; varchar(255), &quot;body&quot; text, &quot;created_at&quot; datetime, &quot;updated_at&quot; datetime) *[0m
+  *[4;35;1mSQL (0.3ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (1.7ms)*[0m   *[0;1mCREATE TABLE &quot;schema_migrations&quot; (&quot;version&quot; varchar(255) NOT NULL) *[0m
+  *[4;35;1mSQL (2.4ms)*[0m   *[0mCREATE UNIQUE INDEX &quot;unique_schema_migrations&quot; ON &quot;schema_migrations&quot; (&quot;version&quot;)*[0m
+  *[4;36;1mSQL (0.3ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.1ms)*[0m   *[0mSELECT version FROM &quot;schema_migrations&quot;*[0m
+  *[4;36;1mSQL (2.8ms)*[0m   *[0;1mINSERT INTO &quot;schema_migrations&quot; (version) VALUES ('20081122180707')*[0m
+  *[4;36;1mSQL (0.8ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM schema_migrations*[0m
+  *[4;36;1mSQL (0.2ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (0.3ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (3.5ms)*[0m   *[0;1mCREATE TABLE &quot;docs&quot; (&quot;id&quot; INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, &quot;title&quot; varchar(255), &quot;body&quot; text, &quot;created_at&quot; datetime, &quot;updated_at&quot; datetime) *[0m
+  *[4;35;1mSQL (0.4ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.2ms)*[0m   *[0;1mCREATE TABLE &quot;schema_migrations&quot; (&quot;version&quot; varchar(255) NOT NULL) *[0m
+  *[4;35;1mSQL (3.6ms)*[0m   *[0mCREATE UNIQUE INDEX &quot;unique_schema_migrations&quot; ON &quot;schema_migrations&quot; (&quot;version&quot;)*[0m
+  *[4;36;1mSQL (0.4ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.1ms)*[0m   *[0mSELECT version FROM &quot;schema_migrations&quot;*[0m
+  *[4;36;1mSQL (2.2ms)*[0m   *[0;1mINSERT INTO &quot;schema_migrations&quot; (version) VALUES ('20081122180707')*[0m
+  *[4;36;1mSQL (0.8ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM schema_migrations*[0m
+  *[4;36;1mSQL (0.2ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (0.3ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.9ms)*[0m   *[0;1mCREATE TABLE &quot;docs&quot; (&quot;id&quot; INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, &quot;title&quot; varchar(255), &quot;body&quot; text, &quot;created_at&quot; datetime, &quot;updated_at&quot; datetime) *[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (2.5ms)*[0m   *[0;1mCREATE TABLE &quot;schema_migrations&quot; (&quot;version&quot; varchar(255) NOT NULL) *[0m
+  *[4;35;1mSQL (2.9ms)*[0m   *[0mCREATE UNIQUE INDEX &quot;unique_schema_migrations&quot; ON &quot;schema_migrations&quot; (&quot;version&quot;)*[0m
+  *[4;36;1mSQL (0.4ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT version FROM &quot;schema_migrations&quot;*[0m
+  *[4;36;1mSQL (2.2ms)*[0m   *[0;1mINSERT INTO &quot;schema_migrations&quot; (version) VALUES ('20081122180707')*[0m</diff>
      <filename>log/development.log</filename>
    </modified>
    <modified>
      <diff>@@ -4292,3 +4292,191 @@ Processing SettingsController#show (for 0.0.0.0 at 2009-05-25 01:54:58) [GET]
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
 *[0m
   *[4;36;1mSetting Create (0.5ms)*[0m   *[0;1mINSERT INTO &quot;settings&quot; (&quot;created_at&quot;, &quot;title&quot;, &quot;updated_at&quot;, &quot;description&quot;, &quot;flavor&quot;) VALUES('2008-12-03 01:59:08', 'Cloister', '2008-12-03 01:59:08', 'Simple apps for text writing', 'plain')*[0m
+  *[4;36;1mSQL (0.3ms)*[0m   *[0;1mSELECT count(*) AS count_all FROM &quot;docs&quot; *[0m
+
+
+Processing DocsController#create (for 0.0.0.0 at 2009-09-23 16:23:13) [POST]
+  Parameters: {&quot;doc&quot;=&gt;{}}
+Filter chain halted as [:authenticate] rendered_or_redirected.
+Completed in 1ms (View: 0, DB: 2) | 401 Unauthorized [http://test.host/index?]
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT count(*) AS count_all FROM &quot;docs&quot; *[0m
+  *[4;36;1mSQL (0.3ms)*[0m   *[0;1mSELECT count(*) AS count_all FROM &quot;docs&quot; *[0m
+
+
+Processing DocsController#index (for 0.0.0.0 at 2009-09-23 16:23:13) [GET]
+Rendering template within layouts/application
+Rendering docs/index
+  *[4;35;1mDoc Load (0.7ms)*[0m   *[0mSELECT * FROM &quot;docs&quot; ORDER BY updated_at DESC LIMIT 10 OFFSET 0*[0m
+Rendered docs/_doc (64.8ms)
+Rendered docs/_doc (2.8ms)
+Rendered docs/_doc (3.6ms)
+  *[4;36;1mSQL (0.2ms)*[0m   *[0;1mselect sqlite_version(*)*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0mSELECT count(DISTINCT docs.id) AS count_docs_id FROM &quot;docs&quot; *[0m
+Completed in 113ms (View: 109, DB: 2) | 200 OK [http://test.host/]
+
+
+Processing DocsController#new (for 0.0.0.0 at 2009-09-23 16:23:13) [GET]
+Filter chain halted as [:authenticate] rendered_or_redirected.
+Completed in 1ms (View: 0, DB: 0) | 401 Unauthorized [http://test.host/new]
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:26:06) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;36;1mDoc Load (0.2ms)*[0m   *[0;1mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:26:06) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;35;1mDoc Load (0.2ms)*[0m   *[0mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:26:06) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;36;1mDoc Load (0.2ms)*[0m   *[0;1mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:26:06) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;35;1mDoc Load (0.2ms)*[0m   *[0mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:26:06) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;36;1mDoc Load (0.2ms)*[0m   *[0;1mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+
+
+Processing DocsController#create (for 0.0.0.0 at 2009-09-23 16:26:06) [POST]
+  Parameters: {&quot;doc&quot;=&gt;{&quot;title&quot;=&gt;&quot;title 1&quot;, &quot;body&quot;=&gt;&quot;body 1&quot;}}
+Filter chain halted as [:authenticate] rendered_or_redirected.
+Completed in 1ms (View: 0, DB: 3) | 401 Unauthorized [http://test.host/index?doc%5Bbody%5D=body+1&amp;doc%5Btitle%5D=title+1]
+
+
+Processing DocsController#create (for 0.0.0.0 at 2009-09-23 16:26:06) [POST]
+  Parameters: {&quot;doc&quot;=&gt;{&quot;title&quot;=&gt;&quot;title 1&quot;, &quot;body&quot;=&gt;&quot;body 1&quot;}}
+Filter chain halted as [:authenticate] rendered_or_redirected.
+Completed in 1ms (View: 0, DB: 0) | 401 Unauthorized [http://test.host/index?doc%5Bbody%5D=body+1&amp;doc%5Btitle%5D=title+1]
+
+
+Processing DocsController#create (for 0.0.0.0 at 2009-09-23 16:26:06) [POST]
+  Parameters: {&quot;doc&quot;=&gt;{&quot;title&quot;=&gt;&quot;title 1&quot;, &quot;body&quot;=&gt;&quot;body 1&quot;}}
+Filter chain halted as [:authenticate] rendered_or_redirected.
+Completed in 1ms (View: 0, DB: 0) | 401 Unauthorized [http://test.host/index?doc%5Bbody%5D=body+1&amp;doc%5Btitle%5D=title+1]
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:27:42) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;36;1mDoc Load (0.2ms)*[0m   *[0;1mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:27:42) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;35;1mDoc Load (0.2ms)*[0m   *[0mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:27:42) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;36;1mDoc Load (0.2ms)*[0m   *[0;1mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:27:42) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;35;1mDoc Load (0.2ms)*[0m   *[0mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:27:42) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;36;1mDoc Load (0.2ms)*[0m   *[0;1mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+
+
+Processing DocsController#create (for 0.0.0.0 at 2009-09-23 16:27:42) [POST]
+  Parameters: {&quot;doc&quot;=&gt;{&quot;title&quot;=&gt;&quot;title 1&quot;, &quot;body&quot;=&gt;&quot;body 1&quot;}}
+Filter chain halted as [:authenticate] rendered_or_redirected.
+Completed in 1ms (View: 0, DB: 2) | 401 Unauthorized [http://test.host/index?doc%5Bbody%5D=body+1&amp;doc%5Btitle%5D=title+1]
+
+
+Processing DocsController#create (for 0.0.0.0 at 2009-09-23 16:27:42) [POST]
+  Parameters: {&quot;doc&quot;=&gt;{&quot;title&quot;=&gt;&quot;title 1&quot;, &quot;body&quot;=&gt;&quot;body 1&quot;}}
+Filter chain halted as [:authenticate] rendered_or_redirected.
+Completed in 1ms (View: 0, DB: 0) | 401 Unauthorized [http://test.host/index?doc%5Bbody%5D=body+1&amp;doc%5Btitle%5D=title+1]
+
+
+Processing DocsController#create (for 0.0.0.0 at 2009-09-23 16:27:42) [POST]
+  Parameters: {&quot;doc&quot;=&gt;{&quot;title&quot;=&gt;&quot;title 1&quot;, &quot;body&quot;=&gt;&quot;body 1&quot;}}
+Filter chain halted as [:authenticate] rendered_or_redirected.
+Completed in 1ms (View: 0, DB: 0) | 401 Unauthorized [http://test.host/index?doc%5Bbody%5D=body+1&amp;doc%5Btitle%5D=title+1]
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:29:19) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;36;1mDoc Load (0.2ms)*[0m   *[0;1mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:29:19) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;35;1mDoc Load (0.2ms)*[0m   *[0mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:29:19) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;36;1mDoc Load (0.2ms)*[0m   *[0;1mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:29:19) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;35;1mDoc Load (0.2ms)*[0m   *[0mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:29:19) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;36;1mDoc Load (0.2ms)*[0m   *[0;1mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+
+
+Processing DocsController#create (for 0.0.0.0 at 2009-09-23 16:29:19) [POST]
+  Parameters: {&quot;doc&quot;=&gt;{&quot;body&quot;=&gt;&quot;body 1&quot;, &quot;title&quot;=&gt;&quot;title 1&quot;}}
+Filter chain halted as [:authenticate] rendered_or_redirected.
+Completed in 1ms (View: 0, DB: 2) | 401 Unauthorized [http://test.host/index?doc%5Bbody%5D=body+1&amp;doc%5Btitle%5D=title+1]
+
+
+Processing DocsController#create (for 0.0.0.0 at 2009-09-23 16:29:19) [POST]
+  Parameters: {&quot;doc&quot;=&gt;{&quot;body&quot;=&gt;&quot;body 1&quot;, &quot;title&quot;=&gt;&quot;title 1&quot;}}
+Filter chain halted as [:authenticate] rendered_or_redirected.
+Completed in 1ms (View: 0, DB: 0) | 401 Unauthorized [http://test.host/index?doc%5Bbody%5D=body+1&amp;doc%5Btitle%5D=title+1]
+
+
+Processing DocsController#create (for 0.0.0.0 at 2009-09-23 16:29:19) [POST]
+  Parameters: {&quot;doc&quot;=&gt;{&quot;body&quot;=&gt;&quot;body 1&quot;, &quot;title&quot;=&gt;&quot;title 1&quot;}}
+Filter chain halted as [:authenticate] rendered_or_redirected.
+Completed in 1ms (View: 0, DB: 0) | 401 Unauthorized [http://test.host/index?doc%5Bbody%5D=body+1&amp;doc%5Btitle%5D=title+1]
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:30:30) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;36;1mDoc Load (0.2ms)*[0m   *[0;1mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+  *[4;36;1mSQL (0.4ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;35;1mSQL (0.2ms)*[0m   *[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+  *[4;36;1mSQL (0.2ms)*[0m   *[0;1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+*[0m
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:37:35) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;36;1mDoc Load (0.4ms)*[0m   *[0;1mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+Rendering template within layouts/application
+Rendering docs/show
+
+
+Processing DocsController#show (for 0.0.0.0 at 2009-09-23 16:38:22) [GET]
+  Parameters: {&quot;id&quot;=&gt;&quot;1&quot;}
+  *[4;36;1mDoc Load (0.4ms)*[0m   *[0;1mSELECT * FROM &quot;docs&quot; WHERE (&quot;docs&quot;.&quot;id&quot; = 1) ORDER BY updated_at DESC*[0m
+Rendering template within layouts/application
+Rendering docs/show
+Rendered docs/_doc (24.1ms)
+Completed in 95ms (View: 92, DB: 2) | 200 OK [http://test.host/1]</diff>
      <filename>log/test.log</filename>
    </modified>
    <modified>
      <diff>@@ -1,45 +1,13 @@
 require 'test_helper'
 
 class DocsControllerTest &lt; ActionController::TestCase
-  test &quot;should get index&quot; do
-    get :index
-    assert_response :success
-    assert_not_nil assigns(:docs)
-  end
-
-  test &quot;should get new&quot; do
-    get :new
-    assert_response :success
-  end
-
-  test &quot;should create doc&quot; do
-    assert_difference('Doc.count') do
-      post :create, :doc =&gt; { }
-    end
-
-    assert_redirected_to doc_path(assigns(:doc))
-  end
-
-  test &quot;should show doc&quot; do
-    get :show, :id =&gt; docs(:one).id
-    assert_response :success
-  end
-
-  test &quot;should get edit&quot; do
-    get :edit, :id =&gt; docs(:one).id
-    assert_response :success
-  end
-
-  test &quot;should update doc&quot; do
-    put :update, :id =&gt; docs(:one).id, :doc =&gt; { }
-    assert_redirected_to doc_path(assigns(:doc))
-  end
+  fixtures :docs
 
-  test &quot;should destroy doc&quot; do
-    assert_difference('Doc.count', -1) do
-      delete :destroy, :id =&gt; docs(:one).id
-    end
+  context &quot;on GET to :show&quot; do
+    setup {
+      get :show, :id =&gt; 1
+    }
 
-    assert_redirected_to docs_path
+    should_respond_with :success
   end
 end</diff>
      <filename>test/functional/docs_controller_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,8 +1,9 @@
 ENV[&quot;RAILS_ENV&quot;] = &quot;test&quot;
 require File.expand_path(File.dirname(__FILE__) + &quot;/../config/environment&quot;)
 require 'test_help'
+require &quot;shoulda&quot;
 
-class Test::Unit::TestCase
+class ActiveSupport::TestCase
   # Transactional fixtures accelerate your tests by wrapping each test method
   # in a transaction that's rolled back on completion.  This ensures that the
   # test database remains unchanged so your fixtures don't have to be reloaded</diff>
      <filename>test/test_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,8 +1,7 @@
 require 'test_helper'
 
 class DocTest &lt; ActiveSupport::TestCase
-  # Replace this with your real tests.
-  test &quot;the truth&quot; do
-    assert true
-  end
+  fixtures :docs
+
+  should_validate_presence_of :body, :created_at, :updated_at
 end</diff>
      <filename>test/unit/doc_test.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>test/fixtures/docs.csv</filename>
    </removed>
    <removed>
      <filename>test/fixtures/docs.csv_</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>8ce4cfb9c5e5f87d6b7ad715e5f3750830702d57</id>
    </parent>
  </parents>
  <author>
    <name>Masaki Komagata</name>
    <email>komagata@gmail.com</email>
  </author>
  <url>http://github.com/komagata/cloister/commit/d7ac65cfc9ec45cf025962a37c39ddc96990f529</url>
  <id>d7ac65cfc9ec45cf025962a37c39ddc96990f529</id>
  <committed-date>2009-09-23T00:39:27-07:00</committed-date>
  <authored-date>2009-09-23T00:39:27-07:00</authored-date>
  <message>fixed texts</message>
  <tree>0f379b133505d1f4b9a296f55ab6d172c866e49e</tree>
  <committer>
    <name>Masaki Komagata</name>
    <email>komagata@gmail.com</email>
  </committer>
</commit>
