stiki 0.1.6 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +9 -3
 - data/app/assets/javascripts/{project_monster_wiki → stiki}/application.js +0 -0
 - data/app/assets/javascripts/{project_monster_wiki → stiki}/authors.js +0 -0
 - data/app/assets/javascripts/{project_monster_wiki → stiki}/pages.js +0 -0
 - data/app/assets/javascripts/{project_monster_wiki → stiki}/spaces.js +0 -0
 - data/app/controllers/stiki/pages_controller.rb +4 -4
 - data/app/helpers/stiki/application_helper.rb +0 -4
 - data/app/views/stiki/pages/edit.html.erb +53 -0
 - data/app/views/stiki/pages/new.html.erb +53 -0
 - data/app/views/stiki/pages/show.html.erb +1 -56
 - data/lib/stiki/version.rb +1 -1
 - data/lib/tasks/stiki_tasks.rake +1 -1
 - data/spec/helpers/stiki/application_helper_spec.rb +0 -8
 - data/test/dummy/db/development.sqlite3 +0 -0
 - data/test/dummy/db/schema.rb +1 -0
 - data/test/dummy/log/development.log +455 -0
 - data/test/dummy/log/test.log +1011 -0
 - data/test/dummy/tmp/cache/assets/BC6/6C0/sprockets%2F16707c5324767162e81192942b805e91 +0 -0
 - data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
 - data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
 - data/test/dummy/tmp/cache/assets/D4A/4E0/sprockets%2F8a52c7352a5a8a9ac83965c15ed947ce +0 -0
 - data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
 - data/test/dummy/tmp/cache/assets/D59/9B0/sprockets%2Fd795dde5a3ed3cf49572356b868f7e51 +0 -0
 - data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
 - data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
 - data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
 - data/test/dummy/tmp/cache/assets/E13/DB0/sprockets%2F7bdc0e7d6874e996abdf61b93ce8fcd2 +0 -0
 - metadata +31 -11
 
    
        data/README.rdoc
    CHANGED
    
    | 
         @@ -47,10 +47,16 @@ To configure Stiki, create a config in config/initializers/stiki.rb 
     | 
|
| 
       47 
47 
     | 
    
         | 
| 
       48 
48 
     | 
    
         
             
                # Optional, use cancan for authorization
         
     | 
| 
       49 
49 
     | 
    
         
             
                stiki.authorize_by = :cancan
         
     | 
| 
       50 
     | 
    
         
            -
                
         
     | 
| 
       51 
     | 
    
         
            -
                # Optional, disable javascript
         
     | 
| 
       52 
     | 
    
         
            -
                javascript_enabled = false
         
     | 
| 
       53 
50 
     | 
    
         
             
              end
         
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
      
 52 
     | 
    
         
            +
            === Loading Stiki Stylesheets
         
     | 
| 
      
 53 
     | 
    
         
            +
             
     | 
| 
      
 54 
     | 
    
         
            +
            Latest Rails version does not appear to pick up the css from Stiki automatically, so you will likely have
         
     | 
| 
      
 55 
     | 
    
         
            +
            to edit your apps/assets/stylesheets/application.css and add
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
      
 57 
     | 
    
         
            +
              require "stiki/application"
         
     | 
| 
      
 58 
     | 
    
         
            +
             
     | 
| 
      
 59 
     | 
    
         
            +
            To get the Stiki Stylehseets to be included.
         
     | 
| 
       54 
60 
     | 
    
         | 
| 
       55 
61 
     | 
    
         
             
            === Reloading Stiki in the development environment
         
     | 
| 
       56 
62 
     | 
    
         | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
| 
         @@ -1,5 +1,5 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            require_dependency "stiki/application_controller"
         
     | 
| 
       2 
     | 
    
         
            -
            require ' 
     | 
| 
      
 2 
     | 
    
         
            +
            require 'kramdown'
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
       4 
4 
     | 
    
         
             
            module Stiki
         
     | 
| 
       5 
5 
     | 
    
         
             
              class PagesController < ApplicationController
         
     | 
| 
         @@ -20,9 +20,9 @@ module Stiki 
     | 
|
| 
       20 
20 
     | 
    
         
             
                    flash[:error] = "Wiki Pages does not exist: #{params[:id]}"
         
     | 
| 
       21 
21 
     | 
    
         
             
                    redirect_to stiki_routes.space_pages_path(@space)
         
     | 
| 
       22 
22 
     | 
    
         
             
                  else
         
     | 
| 
       23 
     | 
    
         
            -
                    markdown =  
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
                    @markup = markdown. 
     | 
| 
      
 23 
     | 
    
         
            +
                    markdown = Kramdown::Document.new(@page.body)
         
     | 
| 
      
 24 
     | 
    
         
            +
                    
         
     | 
| 
      
 25 
     | 
    
         
            +
                    @markup = markdown.to_html.html_safe
         
     | 
| 
       26 
26 
     | 
    
         
             
                  end
         
     | 
| 
       27 
27 
     | 
    
         
             
                end
         
     | 
| 
       28 
28 
     | 
    
         | 
| 
         @@ -9,5 +9,58 @@ 
     | 
|
| 
       9 
9 
     | 
    
         
             
                    <%= render( :partial => 'stiki/pages/form', :locals => { :f => f, :page => @page } ) %>
         
     | 
| 
       10 
10 
     | 
    
         
             
                  <% end -%>
         
     | 
| 
       11 
11 
     | 
    
         
             
                </div>
         
     | 
| 
      
 12 
     | 
    
         
            +
                <div class="row-fluid well">
         
     | 
| 
      
 13 
     | 
    
         
            +
                <div class="wiki-cheatsheet">
         
     | 
| 
      
 14 
     | 
    
         
            +
                           <h4><a  data-toggle="modal" href="#cheatsheet">Wiki Syntax</a></h4>
         
     | 
| 
      
 15 
     | 
    
         
            +
                           <div id="cheatsheet" class="modal" style="display:none">
         
     | 
| 
      
 16 
     | 
    
         
            +
                              <div class="modal-header">
         
     | 
| 
      
 17 
     | 
    
         
            +
                                <button type="button" class="close" data-dismiss="modal">×</button>
         
     | 
| 
      
 18 
     | 
    
         
            +
                                <h3>Markdown Wiki Syntax</h3>
         
     | 
| 
      
 19 
     | 
    
         
            +
                              </div>
         
     | 
| 
      
 20 
     | 
    
         
            +
                              <div class="modal-body">
         
     | 
| 
      
 21 
     | 
    
         
            +
            <pre>
         
     | 
| 
      
 22 
     | 
    
         
            +
            # Header 1 
         
     | 
| 
      
 23 
     | 
    
         
            +
            ## Header 2 
         
     | 
| 
      
 24 
     | 
    
         
            +
            ### Header 3 
         
     | 
| 
      
 25 
     | 
    
         
            +
            #### Header 4
         
     | 
| 
      
 26 
     | 
    
         
            +
            ##### Header 5
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
            For a link:
         
     | 
| 
      
 29 
     | 
    
         
            +
            [text](http://link.com)
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
            Also a link:
         
     | 
| 
      
 32 
     | 
    
         
            +
            <http://link.com/>
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
            _italics_ 
         
     | 
| 
      
 35 
     | 
    
         
            +
            **bold**
         
     | 
| 
      
 36 
     | 
    
         
            +
            `code()`
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
            For an image:
         
     | 
| 
      
 39 
     | 
    
         
            +
            
         
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
            > Blockquotes 
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
            * Bullet lists
         
     | 
| 
      
 44 
     | 
    
         
            +
            - Another one
         
     | 
| 
      
 45 
     | 
    
         
            +
            + Another one
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
            1. A numbered list
         
     | 
| 
      
 48 
     | 
    
         
            +
            2. Which is numbered
         
     | 
| 
      
 49 
     | 
    
         
            +
             
     | 
| 
      
 50 
     | 
    
         
            +
            ### Horizontal rules
         
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
      
 52 
     | 
    
         
            +
            </pre>
         
     | 
| 
      
 53 
     | 
    
         
            +
                                </div>
         
     | 
| 
      
 54 
     | 
    
         
            +
                                <div class="modal-footer">
         
     | 
| 
      
 55 
     | 
    
         
            +
                                  <a href="#" class="btn" data-dismiss="modal">Close</a>
         
     | 
| 
      
 56 
     | 
    
         
            +
                                </div>
         
     | 
| 
      
 57 
     | 
    
         
            +
                           </div>
         
     | 
| 
      
 58 
     | 
    
         
            +
                            <script type="text/javascript">
         
     | 
| 
      
 59 
     | 
    
         
            +
                            
         
     | 
| 
      
 60 
     | 
    
         
            +
                          $('.cheatsheet').modal();
         
     | 
| 
      
 61 
     | 
    
         
            +
                          
         
     | 
| 
      
 62 
     | 
    
         
            +
                            </script>
         
     | 
| 
      
 63 
     | 
    
         
            +
                        </div>
         
     | 
| 
      
 64 
     | 
    
         
            +
                </div>
         
     | 
| 
       12 
65 
     | 
    
         
             
              </div>
         
     | 
| 
       13 
66 
     | 
    
         
             
            </div>
         
     | 
| 
         @@ -8,5 +8,58 @@ 
     | 
|
| 
       8 
8 
     | 
    
         
             
                    <%= render( :partial => 'stiki/pages/form', :locals => { :f => f, :page => @page  } ) %>
         
     | 
| 
       9 
9 
     | 
    
         
             
                  <% end -%>
         
     | 
| 
       10 
10 
     | 
    
         
             
                </div>
         
     | 
| 
      
 11 
     | 
    
         
            +
                <div class="row-fluid well">
         
     | 
| 
      
 12 
     | 
    
         
            +
                <div class="wiki-cheatsheet">
         
     | 
| 
      
 13 
     | 
    
         
            +
                           <h4><a  data-toggle="modal" href="#cheatsheet">Wiki Syntax</a></h4>
         
     | 
| 
      
 14 
     | 
    
         
            +
                           <div id="cheatsheet" class="modal" style="display:none">
         
     | 
| 
      
 15 
     | 
    
         
            +
                              <div class="modal-header">
         
     | 
| 
      
 16 
     | 
    
         
            +
                                <button type="button" class="close" data-dismiss="modal">×</button>
         
     | 
| 
      
 17 
     | 
    
         
            +
                                <h3>Markdown Wiki Syntax</h3>
         
     | 
| 
      
 18 
     | 
    
         
            +
                              </div>
         
     | 
| 
      
 19 
     | 
    
         
            +
                              <div class="modal-body">
         
     | 
| 
      
 20 
     | 
    
         
            +
            <pre>
         
     | 
| 
      
 21 
     | 
    
         
            +
            # Header 1 
         
     | 
| 
      
 22 
     | 
    
         
            +
            ## Header 2 
         
     | 
| 
      
 23 
     | 
    
         
            +
            ### Header 3 
         
     | 
| 
      
 24 
     | 
    
         
            +
            #### Header 4
         
     | 
| 
      
 25 
     | 
    
         
            +
            ##### Header 5
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
            For a link:
         
     | 
| 
      
 28 
     | 
    
         
            +
            [text](http://link.com)
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
            Also a link:
         
     | 
| 
      
 31 
     | 
    
         
            +
            <http://link.com/>
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
            _italics_ 
         
     | 
| 
      
 34 
     | 
    
         
            +
            **bold**
         
     | 
| 
      
 35 
     | 
    
         
            +
            `code()`
         
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
            For an image:
         
     | 
| 
      
 38 
     | 
    
         
            +
            
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
            > Blockquotes 
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
            * Bullet lists
         
     | 
| 
      
 43 
     | 
    
         
            +
            - Another one
         
     | 
| 
      
 44 
     | 
    
         
            +
            + Another one
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
            1. A numbered list
         
     | 
| 
      
 47 
     | 
    
         
            +
            2. Which is numbered
         
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
            ### Horizontal rules
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
            </pre>
         
     | 
| 
      
 52 
     | 
    
         
            +
                                </div>
         
     | 
| 
      
 53 
     | 
    
         
            +
                                <div class="modal-footer">
         
     | 
| 
      
 54 
     | 
    
         
            +
                                  <a href="#" class="btn" data-dismiss="modal">Close</a>
         
     | 
| 
      
 55 
     | 
    
         
            +
                                </div>
         
     | 
| 
      
 56 
     | 
    
         
            +
                           </div>
         
     | 
| 
      
 57 
     | 
    
         
            +
                            <script type="text/javascript">
         
     | 
| 
      
 58 
     | 
    
         
            +
                            
         
     | 
| 
      
 59 
     | 
    
         
            +
                          $('.cheatsheet').modal();
         
     | 
| 
      
 60 
     | 
    
         
            +
                          
         
     | 
| 
      
 61 
     | 
    
         
            +
                            </script>
         
     | 
| 
      
 62 
     | 
    
         
            +
                        </div>
         
     | 
| 
      
 63 
     | 
    
         
            +
                </div>
         
     | 
| 
       11 
64 
     | 
    
         
             
              </div>
         
     | 
| 
       12 
65 
     | 
    
         
             
            </div>
         
     | 
| 
         @@ -81,62 +81,7 @@ 
     | 
|
| 
       81 
81 
     | 
    
         
             
                              </li>
         
     | 
| 
       82 
82 
     | 
    
         
             
                            <% end -%>
         
     | 
| 
       83 
83 
     | 
    
         
             
                          </ul>
         
     | 
| 
       84 
     | 
    
         
            -
                        </div>
         
     | 
| 
       85 
     | 
    
         
            -
                        <div class="wiki-cheatsheet">
         
     | 
| 
       86 
     | 
    
         
            -
                           <h4><a  data-toggle="modal" href="#cheatsheet">Wiki Syntax</a></h4>
         
     | 
| 
       87 
     | 
    
         
            -
                           <div id="cheatsheet" class="modal" style="display:none">
         
     | 
| 
       88 
     | 
    
         
            -
                              <div class="modal-header">
         
     | 
| 
       89 
     | 
    
         
            -
                                <button type="button" class="close" data-dismiss="modal">×</button>
         
     | 
| 
       90 
     | 
    
         
            -
                                <h3>Markdown Wiki Syntax</h3>
         
     | 
| 
       91 
     | 
    
         
            -
                              </div>
         
     | 
| 
       92 
     | 
    
         
            -
                              <div class="modal-body">
         
     | 
| 
       93 
     | 
    
         
            -
            <pre>
         
     | 
| 
       94 
     | 
    
         
            -
            # Header 1 
         
     | 
| 
       95 
     | 
    
         
            -
            ## Header 2 
         
     | 
| 
       96 
     | 
    
         
            -
            ### Header 3 
         
     | 
| 
       97 
     | 
    
         
            -
            #### Header 4
         
     | 
| 
       98 
     | 
    
         
            -
            ##### Header 5
         
     | 
| 
       99 
     | 
    
         
            -
             
     | 
| 
       100 
     | 
    
         
            -
            For a link:
         
     | 
| 
       101 
     | 
    
         
            -
            [text](http://link.com)
         
     | 
| 
       102 
     | 
    
         
            -
             
     | 
| 
       103 
     | 
    
         
            -
            Also a link:
         
     | 
| 
       104 
     | 
    
         
            -
            <http://link.com/>
         
     | 
| 
       105 
     | 
    
         
            -
             
     | 
| 
       106 
     | 
    
         
            -
            _italics_ 
         
     | 
| 
       107 
     | 
    
         
            -
            **bold**
         
     | 
| 
       108 
     | 
    
         
            -
            `code()`
         
     | 
| 
       109 
     | 
    
         
            -
             
     | 
| 
       110 
     | 
    
         
            -
            For an image:
         
     | 
| 
       111 
     | 
    
         
            -
            
         
     | 
| 
       112 
     | 
    
         
            -
             
     | 
| 
       113 
     | 
    
         
            -
            > Blockquotes 
         
     | 
| 
       114 
     | 
    
         
            -
             
     | 
| 
       115 
     | 
    
         
            -
            * Bullet lists
         
     | 
| 
       116 
     | 
    
         
            -
            - Another one
         
     | 
| 
       117 
     | 
    
         
            -
            + Another one
         
     | 
| 
       118 
     | 
    
         
            -
             
     | 
| 
       119 
     | 
    
         
            -
            1. A numbered list
         
     | 
| 
       120 
     | 
    
         
            -
            2. Which is numbered
         
     | 
| 
       121 
     | 
    
         
            -
             
     | 
| 
       122 
     | 
    
         
            -
            ### Horizontal rules
         
     | 
| 
       123 
     | 
    
         
            -
             
     | 
| 
       124 
     | 
    
         
            -
            </pre>
         
     | 
| 
       125 
     | 
    
         
            -
                                </div>
         
     | 
| 
       126 
     | 
    
         
            -
                                <div class="modal-footer">
         
     | 
| 
       127 
     | 
    
         
            -
                                  <a href="#" class="btn" data-dismiss="modal">Close</a>
         
     | 
| 
       128 
     | 
    
         
            -
                                </div>
         
     | 
| 
       129 
     | 
    
         
            -
                           </div>
         
     | 
| 
       130 
     | 
    
         
            -
                            <script type="text/javascript">
         
     | 
| 
       131 
     | 
    
         
            -
                            
         
     | 
| 
       132 
     | 
    
         
            -
                          $('.cheatsheet').modal();
         
     | 
| 
       133 
     | 
    
         
            -
                              jQuery( function() {
         
     | 
| 
       134 
     | 
    
         
            -
                                jQuery( ".wiki-cheatsheet-trigger" ).click( function() {
         
     | 
| 
       135 
     | 
    
         
            -
                                  //jQuery('.cheatsheet').toggle();
         
     | 
| 
       136 
     | 
    
         
            -
                                });
         
     | 
| 
       137 
     | 
    
         
            -
                              });
         
     | 
| 
       138 
     | 
    
         
            -
                            </script>
         
     | 
| 
       139 
     | 
    
         
            -
                        </div>
         
     | 
| 
      
 84 
     | 
    
         
            +
                        </div>  
         
     | 
| 
       140 
85 
     | 
    
         
             
                      <div>
         
     | 
| 
       141 
86 
     | 
    
         
             
                    </div>
         
     | 
| 
       142 
87 
     | 
    
         
             
                  </div>
         
     | 
    
        data/lib/stiki/version.rb
    CHANGED
    
    
    
        data/lib/tasks/stiki_tasks.rake
    CHANGED
    
    
| 
         @@ -7,14 +7,6 @@ describe Stiki::ApplicationHelper do 
     | 
|
| 
       7 
7 
     | 
    
         
             
                helper.stiki_routes.should eql Stiki::Engine.routes.url_helpers
         
     | 
| 
       8 
8 
     | 
    
         
             
              end
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
              it "should expose Stiki#javascript_enabled as javascript_enabled" do
         
     | 
| 
       11 
     | 
    
         
            -
                Stiki.javascript_enabled = false
         
     | 
| 
       12 
     | 
    
         
            -
                helper.javascript_enabled.should be_false
         
     | 
| 
       13 
     | 
    
         
            -
                
         
     | 
| 
       14 
     | 
    
         
            -
                Stiki.javascript_enabled = true
         
     | 
| 
       15 
     | 
    
         
            -
                helper.javascript_enabled.should be_true
         
     | 
| 
       16 
     | 
    
         
            -
              end
         
     | 
| 
       17 
     | 
    
         
            -
              
         
     | 
| 
       18 
10 
     | 
    
         
             
              it "should get user_name for user" do
         
     | 
| 
       19 
11 
     | 
    
         
             
                Stiki.user_name_via = :name
         
     | 
| 
       20 
12 
     | 
    
         | 
| 
         Binary file 
     | 
    
        data/test/dummy/db/schema.rb
    CHANGED
    
    
| 
         @@ -67,3 +67,458 @@ Migrating to CreateStikiAuthors (20120731063721) 
     | 
|
| 
       67 
67 
     | 
    
         
             
              [1m[36m (0.0ms)[0m  [1mPRAGMA index_list("stiki_pages")[0m
         
     | 
| 
       68 
68 
     | 
    
         
             
              [1m[35m (0.0ms)[0m  PRAGMA index_list("stiki_spaces")
         
     | 
| 
       69 
69 
     | 
    
         
             
              [1m[36m (0.1ms)[0m  [1mPRAGMA index_info('index_stiki_spaces_on_slug')[0m
         
     | 
| 
      
 70 
     | 
    
         
            +
             
     | 
| 
      
 71 
     | 
    
         
            +
             
     | 
| 
      
 72 
     | 
    
         
            +
            Started GET "/" for 127.0.0.1 at 2012-09-20 23:50:15 -0400
         
     | 
| 
      
 73 
     | 
    
         
            +
            Connecting to database specified by database.yml
         
     | 
| 
      
 74 
     | 
    
         
            +
             
     | 
| 
      
 75 
     | 
    
         
            +
            ActionController::RoutingError (No route matches [GET] "/"):
         
     | 
| 
      
 76 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
         
     | 
| 
      
 77 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
         
     | 
| 
      
 78 
     | 
    
         
            +
              railties (3.2.7) lib/rails/rack/logger.rb:26:in `call_app'
         
     | 
| 
      
 79 
     | 
    
         
            +
              railties (3.2.7) lib/rails/rack/logger.rb:16:in `call'
         
     | 
| 
      
 80 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/request_id.rb:22:in `call'
         
     | 
| 
      
 81 
     | 
    
         
            +
              rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
         
     | 
| 
      
 82 
     | 
    
         
            +
              rack (1.4.1) lib/rack/runtime.rb:17:in `call'
         
     | 
| 
      
 83 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
         
     | 
| 
      
 84 
     | 
    
         
            +
              rack (1.4.1) lib/rack/lock.rb:15:in `call'
         
     | 
| 
      
 85 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/static.rb:62:in `call'
         
     | 
| 
      
 86 
     | 
    
         
            +
              railties (3.2.7) lib/rails/engine.rb:479:in `call'
         
     | 
| 
      
 87 
     | 
    
         
            +
              railties (3.2.7) lib/rails/application.rb:220:in `call'
         
     | 
| 
      
 88 
     | 
    
         
            +
              rack (1.4.1) lib/rack/content_length.rb:14:in `call'
         
     | 
| 
      
 89 
     | 
    
         
            +
              railties (3.2.7) lib/rails/rack/log_tailer.rb:17:in `call'
         
     | 
| 
      
 90 
     | 
    
         
            +
              rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
         
     | 
| 
      
 91 
     | 
    
         
            +
              /home/zinger/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
         
     | 
| 
      
 92 
     | 
    
         
            +
              /home/zinger/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
         
     | 
| 
      
 93 
     | 
    
         
            +
              /home/zinger/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
         
     | 
| 
      
 94 
     | 
    
         
            +
             
     | 
| 
      
 95 
     | 
    
         
            +
             
     | 
| 
      
 96 
     | 
    
         
            +
              Rendered /home/zinger/.rvm/gems/ruby-1.9.3-p194@stiki/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (29.2ms)
         
     | 
| 
      
 97 
     | 
    
         
            +
             
     | 
| 
      
 98 
     | 
    
         
            +
             
     | 
| 
      
 99 
     | 
    
         
            +
            Started GET "/stiki" for 127.0.0.1 at 2012-09-20 23:50:19 -0400
         
     | 
| 
      
 100 
     | 
    
         
            +
             
     | 
| 
      
 101 
     | 
    
         
            +
            ActionController::RoutingError (No route matches [GET] "/stiki"):
         
     | 
| 
      
 102 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
         
     | 
| 
      
 103 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
         
     | 
| 
      
 104 
     | 
    
         
            +
              railties (3.2.7) lib/rails/rack/logger.rb:26:in `call_app'
         
     | 
| 
      
 105 
     | 
    
         
            +
              railties (3.2.7) lib/rails/rack/logger.rb:16:in `call'
         
     | 
| 
      
 106 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/request_id.rb:22:in `call'
         
     | 
| 
      
 107 
     | 
    
         
            +
              rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
         
     | 
| 
      
 108 
     | 
    
         
            +
              rack (1.4.1) lib/rack/runtime.rb:17:in `call'
         
     | 
| 
      
 109 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
         
     | 
| 
      
 110 
     | 
    
         
            +
              rack (1.4.1) lib/rack/lock.rb:15:in `call'
         
     | 
| 
      
 111 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/static.rb:62:in `call'
         
     | 
| 
      
 112 
     | 
    
         
            +
              railties (3.2.7) lib/rails/engine.rb:479:in `call'
         
     | 
| 
      
 113 
     | 
    
         
            +
              railties (3.2.7) lib/rails/application.rb:220:in `call'
         
     | 
| 
      
 114 
     | 
    
         
            +
              rack (1.4.1) lib/rack/content_length.rb:14:in `call'
         
     | 
| 
      
 115 
     | 
    
         
            +
              railties (3.2.7) lib/rails/rack/log_tailer.rb:17:in `call'
         
     | 
| 
      
 116 
     | 
    
         
            +
              rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
         
     | 
| 
      
 117 
     | 
    
         
            +
              /home/zinger/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
         
     | 
| 
      
 118 
     | 
    
         
            +
              /home/zinger/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
         
     | 
| 
      
 119 
     | 
    
         
            +
              /home/zinger/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
         
     | 
| 
      
 120 
     | 
    
         
            +
             
     | 
| 
      
 121 
     | 
    
         
            +
             
     | 
| 
      
 122 
     | 
    
         
            +
              Rendered /home/zinger/.rvm/gems/ruby-1.9.3-p194@stiki/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
         
     | 
| 
      
 123 
     | 
    
         
            +
             
     | 
| 
      
 124 
     | 
    
         
            +
             
     | 
| 
      
 125 
     | 
    
         
            +
            Started GET "/wiki" for 127.0.0.1 at 2012-09-20 23:50:42 -0400
         
     | 
| 
      
 126 
     | 
    
         
            +
            Connecting to database specified by database.yml
         
     | 
| 
      
 127 
     | 
    
         
            +
            Processing by Stiki::SpacesController#index as HTML
         
     | 
| 
      
 128 
     | 
    
         
            +
              [1m[36mStiki::Space Load (0.1ms)[0m  [1mSELECT "stiki_spaces".* FROM "stiki_spaces" [0m
         
     | 
| 
      
 129 
     | 
    
         
            +
              Rendered /home/zinger/devel/projects/devour/stiki/app/views/stiki/spaces/index.html.erb within layouts/application (4.5ms)
         
     | 
| 
      
 130 
     | 
    
         
            +
            Compiled application.css  (0ms)  (pid 28906)
         
     | 
| 
      
 131 
     | 
    
         
            +
            Compiled jquery.js  (2ms)  (pid 28906)
         
     | 
| 
      
 132 
     | 
    
         
            +
            Compiled jquery_ujs.js  (0ms)  (pid 28906)
         
     | 
| 
      
 133 
     | 
    
         
            +
            Compiled application.js  (120ms)  (pid 28906)
         
     | 
| 
      
 134 
     | 
    
         
            +
            Completed 200 OK in 425ms (Views: 417.2ms | ActiveRecord: 1.7ms)
         
     | 
| 
      
 135 
     | 
    
         
            +
             
     | 
| 
      
 136 
     | 
    
         
            +
             
     | 
| 
      
 137 
     | 
    
         
            +
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-20 23:50:43 -0400
         
     | 
| 
      
 138 
     | 
    
         
            +
            Served asset /application.css - 200 OK (2ms)
         
     | 
| 
      
 139 
     | 
    
         
            +
             
     | 
| 
      
 140 
     | 
    
         
            +
             
     | 
| 
      
 141 
     | 
    
         
            +
            Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-09-20 23:50:43 -0400
         
     | 
| 
      
 142 
     | 
    
         
            +
            Served asset /jquery.js - 200 OK (2ms)
         
     | 
| 
      
 143 
     | 
    
         
            +
             
     | 
| 
      
 144 
     | 
    
         
            +
             
     | 
| 
      
 145 
     | 
    
         
            +
            Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-09-20 23:50:43 -0400
         
     | 
| 
      
 146 
     | 
    
         
            +
            Served asset /jquery_ujs.js - 200 OK (1ms)
         
     | 
| 
      
 147 
     | 
    
         
            +
             
     | 
| 
      
 148 
     | 
    
         
            +
             
     | 
| 
      
 149 
     | 
    
         
            +
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-09-20 23:50:43 -0400
         
     | 
| 
      
 150 
     | 
    
         
            +
            Served asset /application.js - 200 OK (3ms)
         
     | 
| 
      
 151 
     | 
    
         
            +
             
     | 
| 
      
 152 
     | 
    
         
            +
             
     | 
| 
      
 153 
     | 
    
         
            +
            Started POST "/wiki/spaces" for 127.0.0.1 at 2012-09-20 23:50:48 -0400
         
     | 
| 
      
 154 
     | 
    
         
            +
            Processing by Stiki::SpacesController#create as HTML
         
     | 
| 
      
 155 
     | 
    
         
            +
              Parameters: {"utf8"=>"✓", "authenticity_token"=>"Stu4KKGtHoj1jOwjSyHfbs+HFTeLGZRM69xsV3cs3Tg=", "space"=>{"name"=>"test"}, "commit"=>"Create"}
         
     | 
| 
      
 156 
     | 
    
         
            +
              [1m[35m (0.1ms)[0m  begin transaction
         
     | 
| 
      
 157 
     | 
    
         
            +
              [1m[36mStiki::Space Load (0.2ms)[0m  [1mSELECT "stiki_spaces".* FROM "stiki_spaces" WHERE ("slug" = 'test' OR "slug" LIKE 'test--%'ESCAPE '\') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1[0m
         
     | 
| 
      
 158 
     | 
    
         
            +
              [1m[35mStiki::Space Exists (0.1ms)[0m  SELECT 1 AS one FROM "stiki_spaces" WHERE "stiki_spaces"."name" = 'test' LIMIT 1
         
     | 
| 
      
 159 
     | 
    
         
            +
              [1m[36mSQL (1.5ms)[0m  [1mINSERT INTO "stiki_spaces" ("created_at", "name", "slug", "updated_at") VALUES (?, ?, ?, ?)[0m  [["created_at", Fri, 21 Sep 2012 03:50:48 UTC +00:00], ["name", "test"], ["slug", "test"], ["updated_at", Fri, 21 Sep 2012 03:50:48 UTC +00:00]]
         
     | 
| 
      
 160 
     | 
    
         
            +
              [1m[35m (161.1ms)[0m  commit transaction
         
     | 
| 
      
 161 
     | 
    
         
            +
            Redirected to http://localhost:3000/wiki/spaces
         
     | 
| 
      
 162 
     | 
    
         
            +
            Completed 302 Found in 299ms (ActiveRecord: 163.0ms)
         
     | 
| 
      
 163 
     | 
    
         
            +
             
     | 
| 
      
 164 
     | 
    
         
            +
             
     | 
| 
      
 165 
     | 
    
         
            +
            Started GET "/wiki/spaces" for 127.0.0.1 at 2012-09-20 23:50:48 -0400
         
     | 
| 
      
 166 
     | 
    
         
            +
            Processing by Stiki::SpacesController#index as HTML
         
     | 
| 
      
 167 
     | 
    
         
            +
              [1m[36mStiki::Space Load (0.2ms)[0m  [1mSELECT "stiki_spaces".* FROM "stiki_spaces" [0m
         
     | 
| 
      
 168 
     | 
    
         
            +
            DEPRECATION WARNING: :confirm option is deprecated and will be removed from Rails 4.0. Use ':data => { :confirm => 'Text' }' instead. (called from block in __home_zinger_devel_projects_devour_stiki_app_views_stiki_spaces_index_html_erb__3405226823930121697_34341400 at /home/zinger/devel/projects/devour/stiki/app/views/stiki/spaces/index.html.erb:10)
         
     | 
| 
      
 169 
     | 
    
         
            +
              [1m[35mStiki::Author Load (0.3ms)[0m  SELECT "stiki_authors".* FROM "stiki_authors" WHERE "stiki_authors"."authorable_id" = 1 AND "stiki_authors"."authorable_type" = 'Stiki::Space' AND (creator = 't') LIMIT 1
         
     | 
| 
      
 170 
     | 
    
         
            +
            SQLite3::SQLException: no such column: stiki_authors.authorable_id: SELECT  "stiki_authors".* FROM "stiki_authors"  WHERE "stiki_authors"."authorable_id" = 1 AND "stiki_authors"."authorable_type" = 'Stiki::Space' AND (creator = 't') LIMIT 1
         
     | 
| 
      
 171 
     | 
    
         
            +
              Rendered /home/zinger/devel/projects/devour/stiki/app/views/stiki/spaces/index.html.erb within layouts/application (103.7ms)
         
     | 
| 
      
 172 
     | 
    
         
            +
            Completed 500 Internal Server Error in 106ms
         
     | 
| 
      
 173 
     | 
    
         
            +
             
     | 
| 
      
 174 
     | 
    
         
            +
            ActionView::Template::Error (SQLite3::SQLException: no such column: stiki_authors.authorable_id: SELECT  "stiki_authors".* FROM "stiki_authors"  WHERE "stiki_authors"."authorable_id" = 1 AND "stiki_authors"."authorable_type" = 'Stiki::Space' AND (creator = 't') LIMIT 1):
         
     | 
| 
      
 175 
     | 
    
         
            +
                13:           </div>
         
     | 
| 
      
 176 
     | 
    
         
            +
                14:           <div style="title">
         
     | 
| 
      
 177 
     | 
    
         
            +
                15:             <h2 ><%= link_to space.name, stiki_routes.space_pages_path(space) %></h2>
         
     | 
| 
      
 178 
     | 
    
         
            +
                16:             <% if space.creator %>
         
     | 
| 
      
 179 
     | 
    
         
            +
                17:               <h4 >Created by <%= user_name( space.creator ) %></h4>
         
     | 
| 
      
 180 
     | 
    
         
            +
                18:             <% end %>
         
     | 
| 
      
 181 
     | 
    
         
            +
                19:           </div>
         
     | 
| 
      
 182 
     | 
    
         
            +
              sqlite3 (1.3.6) lib/sqlite3/database.rb:91:in `initialize'
         
     | 
| 
      
 183 
     | 
    
         
            +
              sqlite3 (1.3.6) lib/sqlite3/database.rb:91:in `new'
         
     | 
| 
      
 184 
     | 
    
         
            +
              sqlite3 (1.3.6) lib/sqlite3/database.rb:91:in `prepare'
         
     | 
| 
      
 185 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `block in exec_query'
         
     | 
| 
      
 186 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
         
     | 
| 
      
 187 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
         
     | 
| 
      
 188 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
         
     | 
| 
      
 189 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'
         
     | 
| 
      
 190 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'
         
     | 
| 
      
 191 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'
         
     | 
| 
      
 192 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/connection_adapters/abstract/query_cache.rb:61:in `block in select_all'
         
     | 
| 
      
 193 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/connection_adapters/abstract/query_cache.rb:75:in `cache_sql'
         
     | 
| 
      
 194 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/connection_adapters/abstract/query_cache.rb:61:in `select_all'
         
     | 
| 
      
 195 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/querying.rb:38:in `block in find_by_sql'
         
     | 
| 
      
 196 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/explain.rb:40:in `logging_query_plan'
         
     | 
| 
      
 197 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/querying.rb:37:in `find_by_sql'
         
     | 
| 
      
 198 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/relation.rb:171:in `exec_queries'
         
     | 
| 
      
 199 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/relation.rb:160:in `block in to_a'
         
     | 
| 
      
 200 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/explain.rb:33:in `logging_query_plan'
         
     | 
| 
      
 201 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/relation.rb:159:in `to_a'
         
     | 
| 
      
 202 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/relation/finder_methods.rb:378:in `find_first'
         
     | 
| 
      
 203 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/relation/finder_methods.rb:122:in `first'
         
     | 
| 
      
 204 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/associations/singular_association.rb:42:in `find_target'
         
     | 
| 
      
 205 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/associations/association.rb:145:in `load_target'
         
     | 
| 
      
 206 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/associations/association.rb:55:in `reload'
         
     | 
| 
      
 207 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/associations/singular_association.rb:9:in `reader'
         
     | 
| 
      
 208 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/associations/builder/association.rb:44:in `block in define_readers'
         
     | 
| 
      
 209 
     | 
    
         
            +
              /home/zinger/devel/projects/devour/stiki/app/views/stiki/spaces/index.html.erb:16:in `block in __home_zinger_devel_projects_devour_stiki_app_views_stiki_spaces_index_html_erb__3405226823930121697_34341400'
         
     | 
| 
      
 210 
     | 
    
         
            +
              /home/zinger/devel/projects/devour/stiki/app/views/stiki/spaces/index.html.erb:2:in `each'
         
     | 
| 
      
 211 
     | 
    
         
            +
              /home/zinger/devel/projects/devour/stiki/app/views/stiki/spaces/index.html.erb:2:in `__home_zinger_devel_projects_devour_stiki_app_views_stiki_spaces_index_html_erb__3405226823930121697_34341400'
         
     | 
| 
      
 212 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_view/template.rb:145:in `block in render'
         
     | 
| 
      
 213 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/notifications.rb:125:in `instrument'
         
     | 
| 
      
 214 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_view/template.rb:143:in `render'
         
     | 
| 
      
 215 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
         
     | 
| 
      
 216 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
         
     | 
| 
      
 217 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/notifications.rb:123:in `block in instrument'
         
     | 
| 
      
 218 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
         
     | 
| 
      
 219 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/notifications.rb:123:in `instrument'
         
     | 
| 
      
 220 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
         
     | 
| 
      
 221 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
         
     | 
| 
      
 222 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
         
     | 
| 
      
 223 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
         
     | 
| 
      
 224 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_view/renderer/template_renderer.rb:18:in `render'
         
     | 
| 
      
 225 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_view/renderer/renderer.rb:36:in `render_template'
         
     | 
| 
      
 226 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_view/renderer/renderer.rb:17:in `render'
         
     | 
| 
      
 227 
     | 
    
         
            +
              actionpack (3.2.7) lib/abstract_controller/rendering.rb:110:in `_render_template'
         
     | 
| 
      
 228 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/streaming.rb:225:in `_render_template'
         
     | 
| 
      
 229 
     | 
    
         
            +
              actionpack (3.2.7) lib/abstract_controller/rendering.rb:103:in `render_to_body'
         
     | 
| 
      
 230 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
         
     | 
| 
      
 231 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
         
     | 
| 
      
 232 
     | 
    
         
            +
              actionpack (3.2.7) lib/abstract_controller/rendering.rb:88:in `render'
         
     | 
| 
      
 233 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/rendering.rb:16:in `render'
         
     | 
| 
      
 234 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
         
     | 
| 
      
 235 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
         
     | 
| 
      
 236 
     | 
    
         
            +
              /home/zinger/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
         
     | 
| 
      
 237 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/core_ext/benchmark.rb:5:in `ms'
         
     | 
| 
      
 238 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
         
     | 
| 
      
 239 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
         
     | 
| 
      
 240 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
         
     | 
| 
      
 241 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/instrumentation.rb:39:in `render'
         
     | 
| 
      
 242 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
         
     | 
| 
      
 243 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
         
     | 
| 
      
 244 
     | 
    
         
            +
              actionpack (3.2.7) lib/abstract_controller/base.rb:167:in `process_action'
         
     | 
| 
      
 245 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/rendering.rb:10:in `process_action'
         
     | 
| 
      
 246 
     | 
    
         
            +
              actionpack (3.2.7) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
         
     | 
| 
      
 247 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/callbacks.rb:403:in `_run__3058829704907197302__process_action__2077319767697647226__callbacks'
         
     | 
| 
      
 248 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/callbacks.rb:405:in `__run_callback'
         
     | 
| 
      
 249 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
         
     | 
| 
      
 250 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/callbacks.rb:81:in `run_callbacks'
         
     | 
| 
      
 251 
     | 
    
         
            +
              actionpack (3.2.7) lib/abstract_controller/callbacks.rb:17:in `process_action'
         
     | 
| 
      
 252 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/rescue.rb:29:in `process_action'
         
     | 
| 
      
 253 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
         
     | 
| 
      
 254 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/notifications.rb:123:in `block in instrument'
         
     | 
| 
      
 255 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
         
     | 
| 
      
 256 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/notifications.rb:123:in `instrument'
         
     | 
| 
      
 257 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
         
     | 
| 
      
 258 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
         
     | 
| 
      
 259 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
         
     | 
| 
      
 260 
     | 
    
         
            +
              actionpack (3.2.7) lib/abstract_controller/base.rb:121:in `process'
         
     | 
| 
      
 261 
     | 
    
         
            +
              actionpack (3.2.7) lib/abstract_controller/rendering.rb:45:in `process'
         
     | 
| 
      
 262 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal.rb:203:in `dispatch'
         
     | 
| 
      
 263 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
         
     | 
| 
      
 264 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_controller/metal.rb:246:in `block in action'
         
     | 
| 
      
 265 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/routing/route_set.rb:73:in `call'
         
     | 
| 
      
 266 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
         
     | 
| 
      
 267 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/routing/route_set.rb:36:in `call'
         
     | 
| 
      
 268 
     | 
    
         
            +
              journey (1.0.4) lib/journey/router.rb:68:in `block in call'
         
     | 
| 
      
 269 
     | 
    
         
            +
              journey (1.0.4) lib/journey/router.rb:56:in `each'
         
     | 
| 
      
 270 
     | 
    
         
            +
              journey (1.0.4) lib/journey/router.rb:56:in `call'
         
     | 
| 
      
 271 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/routing/route_set.rb:600:in `call'
         
     | 
| 
      
 272 
     | 
    
         
            +
              railties (3.2.7) lib/rails/engine.rb:479:in `call'
         
     | 
| 
      
 273 
     | 
    
         
            +
              railties (3.2.7) lib/rails/railtie/configurable.rb:30:in `method_missing'
         
     | 
| 
      
 274 
     | 
    
         
            +
              journey (1.0.4) lib/journey/router.rb:68:in `block in call'
         
     | 
| 
      
 275 
     | 
    
         
            +
              journey (1.0.4) lib/journey/router.rb:56:in `each'
         
     | 
| 
      
 276 
     | 
    
         
            +
              journey (1.0.4) lib/journey/router.rb:56:in `call'
         
     | 
| 
      
 277 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/routing/route_set.rb:600:in `call'
         
     | 
| 
      
 278 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
         
     | 
| 
      
 279 
     | 
    
         
            +
              rack (1.4.1) lib/rack/etag.rb:23:in `call'
         
     | 
| 
      
 280 
     | 
    
         
            +
              rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
         
     | 
| 
      
 281 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/head.rb:14:in `call'
         
     | 
| 
      
 282 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
         
     | 
| 
      
 283 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/flash.rb:242:in `call'
         
     | 
| 
      
 284 
     | 
    
         
            +
              rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
         
     | 
| 
      
 285 
     | 
    
         
            +
              rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
         
     | 
| 
      
 286 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/cookies.rb:338:in `call'
         
     | 
| 
      
 287 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/query_cache.rb:64:in `call'
         
     | 
| 
      
 288 
     | 
    
         
            +
              activerecord (3.2.7) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
         
     | 
| 
      
 289 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
         
     | 
| 
      
 290 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/callbacks.rb:405:in `_run__1683182926778585223__call__1349513479180299984__callbacks'
         
     | 
| 
      
 291 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/callbacks.rb:405:in `__run_callback'
         
     | 
| 
      
 292 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
         
     | 
| 
      
 293 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/callbacks.rb:81:in `run_callbacks'
         
     | 
| 
      
 294 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
         
     | 
| 
      
 295 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/reloader.rb:65:in `call'
         
     | 
| 
      
 296 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
         
     | 
| 
      
 297 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
         
     | 
| 
      
 298 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
         
     | 
| 
      
 299 
     | 
    
         
            +
              railties (3.2.7) lib/rails/rack/logger.rb:26:in `call_app'
         
     | 
| 
      
 300 
     | 
    
         
            +
              railties (3.2.7) lib/rails/rack/logger.rb:16:in `call'
         
     | 
| 
      
 301 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/request_id.rb:22:in `call'
         
     | 
| 
      
 302 
     | 
    
         
            +
              rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
         
     | 
| 
      
 303 
     | 
    
         
            +
              rack (1.4.1) lib/rack/runtime.rb:17:in `call'
         
     | 
| 
      
 304 
     | 
    
         
            +
              activesupport (3.2.7) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
         
     | 
| 
      
 305 
     | 
    
         
            +
              rack (1.4.1) lib/rack/lock.rb:15:in `call'
         
     | 
| 
      
 306 
     | 
    
         
            +
              actionpack (3.2.7) lib/action_dispatch/middleware/static.rb:62:in `call'
         
     | 
| 
      
 307 
     | 
    
         
            +
              railties (3.2.7) lib/rails/engine.rb:479:in `call'
         
     | 
| 
      
 308 
     | 
    
         
            +
              railties (3.2.7) lib/rails/application.rb:220:in `call'
         
     | 
| 
      
 309 
     | 
    
         
            +
              rack (1.4.1) lib/rack/content_length.rb:14:in `call'
         
     | 
| 
      
 310 
     | 
    
         
            +
              railties (3.2.7) lib/rails/rack/log_tailer.rb:17:in `call'
         
     | 
| 
      
 311 
     | 
    
         
            +
              rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
         
     | 
| 
      
 312 
     | 
    
         
            +
              /home/zinger/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
         
     | 
| 
      
 313 
     | 
    
         
            +
              /home/zinger/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
         
     | 
| 
      
 314 
     | 
    
         
            +
              /home/zinger/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
         
     | 
| 
      
 315 
     | 
    
         
            +
             
     | 
| 
      
 316 
     | 
    
         
            +
             
     | 
| 
      
 317 
     | 
    
         
            +
              Rendered /home/zinger/.rvm/gems/ruby-1.9.3-p194@stiki/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.5ms)
         
     | 
| 
      
 318 
     | 
    
         
            +
              Rendered /home/zinger/.rvm/gems/ruby-1.9.3-p194@stiki/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
         
     | 
| 
      
 319 
     | 
    
         
            +
              Rendered /home/zinger/.rvm/gems/ruby-1.9.3-p194@stiki/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (21.1ms)
         
     | 
| 
      
 320 
     | 
    
         
            +
            Connecting to database specified by database.yml
         
     | 
| 
      
 321 
     | 
    
         
            +
              [1m[36m (0.2ms)[0m  [1mselect sqlite_version(*)[0m
         
     | 
| 
      
 322 
     | 
    
         
            +
              [1m[35m (0.1ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations" 
         
     | 
| 
      
 323 
     | 
    
         
            +
              [1m[36m (0.0ms)[0m  [1mPRAGMA index_list("stiki_authors")[0m
         
     | 
| 
      
 324 
     | 
    
         
            +
              [1m[35m (0.0ms)[0m  PRAGMA index_list("stiki_pages")
         
     | 
| 
      
 325 
     | 
    
         
            +
              [1m[36m (0.0ms)[0m  [1mPRAGMA index_list("stiki_spaces")[0m
         
     | 
| 
      
 326 
     | 
    
         
            +
              [1m[35m (0.1ms)[0m  PRAGMA index_info('index_stiki_spaces_on_slug')
         
     | 
| 
      
 327 
     | 
    
         
            +
            Connecting to database specified by database.yml
         
     | 
| 
      
 328 
     | 
    
         
            +
              [1m[36m (0.1ms)[0m  [1mselect sqlite_version(*)[0m
         
     | 
| 
      
 329 
     | 
    
         
            +
              [1m[35m (278.6ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
         
     | 
| 
      
 330 
     | 
    
         
            +
              [1m[36m (0.1ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
         
     | 
| 
      
 331 
     | 
    
         
            +
              [1m[35m (115.7ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
         
     | 
| 
      
 332 
     | 
    
         
            +
              [1m[36m (0.2ms)[0m  [1mselect sqlite_version(*)[0m
         
     | 
| 
      
 333 
     | 
    
         
            +
              [1m[35m (0.1ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations" 
         
     | 
| 
      
 334 
     | 
    
         
            +
            Connecting to database specified by database.yml
         
     | 
| 
      
 335 
     | 
    
         
            +
              [1m[36m (0.1ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
         
     | 
| 
      
 336 
     | 
    
         
            +
            Migrating to CreateStikiSpaces (20120731063610)
         
     | 
| 
      
 337 
     | 
    
         
            +
              [1m[35m (0.0ms)[0m  select sqlite_version(*)
         
     | 
| 
      
 338 
     | 
    
         
            +
              [1m[36m (0.0ms)[0m  [1mbegin transaction[0m
         
     | 
| 
      
 339 
     | 
    
         
            +
              [1m[35m (0.5ms)[0m  CREATE TABLE "stiki_spaces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "slug" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
         
     | 
| 
      
 340 
     | 
    
         
            +
              [1m[36m (0.0ms)[0m  [1mPRAGMA index_list("stiki_spaces")[0m
         
     | 
| 
      
 341 
     | 
    
         
            +
              [1m[35m (0.2ms)[0m  CREATE UNIQUE INDEX "index_stiki_spaces_on_slug" ON "stiki_spaces" ("slug")
         
     | 
| 
      
 342 
     | 
    
         
            +
              [1m[36m (0.1ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120731063610')[0m
         
     | 
| 
      
 343 
     | 
    
         
            +
              [1m[35m (253.1ms)[0m  commit transaction
         
     | 
| 
      
 344 
     | 
    
         
            +
            Migrating to CreateStikiPages (20120731063657)
         
     | 
| 
      
 345 
     | 
    
         
            +
              [1m[36m (0.1ms)[0m  [1mbegin transaction[0m
         
     | 
| 
      
 346 
     | 
    
         
            +
              [1m[35m (0.3ms)[0m  CREATE TABLE "stiki_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "body" text, "parent_id" integer, "space_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
         
     | 
| 
      
 347 
     | 
    
         
            +
              [1m[36m (0.1ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120731063657')[0m
         
     | 
| 
      
 348 
     | 
    
         
            +
              [1m[35m (196.3ms)[0m  commit transaction
         
     | 
| 
      
 349 
     | 
    
         
            +
            Migrating to CreateStikiAuthors (20120731063721)
         
     | 
| 
      
 350 
     | 
    
         
            +
              [1m[36m (0.1ms)[0m  [1mbegin transaction[0m
         
     | 
| 
      
 351 
     | 
    
         
            +
              [1m[35m (0.3ms)[0m  CREATE TABLE "stiki_authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "authorable_id" integer, "authorable_type" varchar(255), "creator" boolean, "last_edit" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
         
     | 
| 
      
 352 
     | 
    
         
            +
              [1m[36m (0.0ms)[0m  [1mPRAGMA index_list("stiki_authors")[0m
         
     | 
| 
      
 353 
     | 
    
         
            +
              [1m[35m (0.1ms)[0m  CREATE INDEX "index_stiki_authors_on_authorable_id_and_authorable_type" ON "stiki_authors" ("authorable_id", "authorable_type")
         
     | 
| 
      
 354 
     | 
    
         
            +
              [1m[36m (0.1ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120731063721')[0m
         
     | 
| 
      
 355 
     | 
    
         
            +
              [1m[35m (146.7ms)[0m  commit transaction
         
     | 
| 
      
 356 
     | 
    
         
            +
              [1m[36m (0.3ms)[0m  [1mselect sqlite_version(*)[0m
         
     | 
| 
      
 357 
     | 
    
         
            +
              [1m[35m (0.1ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations" 
         
     | 
| 
      
 358 
     | 
    
         
            +
              [1m[36m (0.0ms)[0m  [1mPRAGMA index_list("stiki_authors")[0m
         
     | 
| 
      
 359 
     | 
    
         
            +
              [1m[35m (0.0ms)[0m  PRAGMA index_info('index_stiki_authors_on_authorable_id_and_authorable_type')
         
     | 
| 
      
 360 
     | 
    
         
            +
              [1m[36m (0.0ms)[0m  [1mPRAGMA index_list("stiki_pages")[0m
         
     | 
| 
      
 361 
     | 
    
         
            +
              [1m[35m (0.0ms)[0m  PRAGMA index_list("stiki_spaces")
         
     | 
| 
      
 362 
     | 
    
         
            +
              [1m[36m (0.0ms)[0m  [1mPRAGMA index_info('index_stiki_spaces_on_slug')[0m
         
     | 
| 
      
 363 
     | 
    
         
            +
             
     | 
| 
      
 364 
     | 
    
         
            +
             
     | 
| 
      
 365 
     | 
    
         
            +
            Started GET "/wiki/spaces" for 127.0.0.1 at 2012-09-20 23:53:26 -0400
         
     | 
| 
      
 366 
     | 
    
         
            +
            Connecting to database specified by database.yml
         
     | 
| 
      
 367 
     | 
    
         
            +
            Processing by Stiki::SpacesController#index as HTML
         
     | 
| 
      
 368 
     | 
    
         
            +
              [1m[36mStiki::Space Load (0.1ms)[0m  [1mSELECT "stiki_spaces".* FROM "stiki_spaces" [0m
         
     | 
| 
      
 369 
     | 
    
         
            +
              Rendered /home/zinger/devel/projects/devour/stiki/app/views/stiki/spaces/index.html.erb within layouts/application (5.6ms)
         
     | 
| 
      
 370 
     | 
    
         
            +
            Completed 200 OK in 73ms (Views: 65.7ms | ActiveRecord: 1.4ms)
         
     | 
| 
      
 371 
     | 
    
         
            +
             
     | 
| 
      
 372 
     | 
    
         
            +
             
     | 
| 
      
 373 
     | 
    
         
            +
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-20 23:53:27 -0400
         
     | 
| 
      
 374 
     | 
    
         
            +
            Served asset /application.css - 304 Not Modified (1ms)
         
     | 
| 
      
 375 
     | 
    
         
            +
             
     | 
| 
      
 376 
     | 
    
         
            +
             
     | 
| 
      
 377 
     | 
    
         
            +
            Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-09-20 23:53:27 -0400
         
     | 
| 
      
 378 
     | 
    
         
            +
            Served asset /jquery.js - 304 Not Modified (5ms)
         
     | 
| 
      
 379 
     | 
    
         
            +
             
     | 
| 
      
 380 
     | 
    
         
            +
             
     | 
| 
      
 381 
     | 
    
         
            +
            Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-09-20 23:53:27 -0400
         
     | 
| 
      
 382 
     | 
    
         
            +
            Served asset /jquery_ujs.js - 304 Not Modified (1ms)
         
     | 
| 
      
 383 
     | 
    
         
            +
             
     | 
| 
      
 384 
     | 
    
         
            +
             
     | 
| 
      
 385 
     | 
    
         
            +
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-09-20 23:53:27 -0400
         
     | 
| 
      
 386 
     | 
    
         
            +
            Served asset /application.js - 304 Not Modified (3ms)
         
     | 
| 
      
 387 
     | 
    
         
            +
             
     | 
| 
      
 388 
     | 
    
         
            +
             
     | 
| 
      
 389 
     | 
    
         
            +
            Started POST "/wiki/spaces" for 127.0.0.1 at 2012-09-20 23:53:32 -0400
         
     | 
| 
      
 390 
     | 
    
         
            +
            Processing by Stiki::SpacesController#create as HTML
         
     | 
| 
      
 391 
     | 
    
         
            +
              Parameters: {"utf8"=>"✓", "authenticity_token"=>"Stu4KKGtHoj1jOwjSyHfbs+HFTeLGZRM69xsV3cs3Tg=", "space"=>{"name"=>"test"}, "commit"=>"Create"}
         
     | 
| 
      
 392 
     | 
    
         
            +
              [1m[35m (0.1ms)[0m  begin transaction
         
     | 
| 
      
 393 
     | 
    
         
            +
              [1m[36mStiki::Space Load (0.2ms)[0m  [1mSELECT "stiki_spaces".* FROM "stiki_spaces" WHERE ("slug" = 'test' OR "slug" LIKE 'test--%'ESCAPE '\') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1[0m
         
     | 
| 
      
 394 
     | 
    
         
            +
              [1m[35mStiki::Space Exists (0.1ms)[0m  SELECT 1 AS one FROM "stiki_spaces" WHERE "stiki_spaces"."name" = 'test' LIMIT 1
         
     | 
| 
      
 395 
     | 
    
         
            +
              [1m[36mSQL (1.3ms)[0m  [1mINSERT INTO "stiki_spaces" ("created_at", "name", "slug", "updated_at") VALUES (?, ?, ?, ?)[0m  [["created_at", Fri, 21 Sep 2012 03:53:32 UTC +00:00], ["name", "test"], ["slug", "test"], ["updated_at", Fri, 21 Sep 2012 03:53:32 UTC +00:00]]
         
     | 
| 
      
 396 
     | 
    
         
            +
              [1m[35m (537.4ms)[0m  commit transaction
         
     | 
| 
      
 397 
     | 
    
         
            +
            Redirected to http://localhost:3000/wiki/spaces
         
     | 
| 
      
 398 
     | 
    
         
            +
            Completed 302 Found in 678ms (ActiveRecord: 539.1ms)
         
     | 
| 
      
 399 
     | 
    
         
            +
             
     | 
| 
      
 400 
     | 
    
         
            +
             
     | 
| 
      
 401 
     | 
    
         
            +
            Started GET "/wiki/spaces" for 127.0.0.1 at 2012-09-20 23:53:33 -0400
         
     | 
| 
      
 402 
     | 
    
         
            +
            Processing by Stiki::SpacesController#index as HTML
         
     | 
| 
      
 403 
     | 
    
         
            +
              [1m[36mStiki::Space Load (0.2ms)[0m  [1mSELECT "stiki_spaces".* FROM "stiki_spaces" [0m
         
     | 
| 
      
 404 
     | 
    
         
            +
            DEPRECATION WARNING: :confirm option is deprecated and will be removed from Rails 4.0. Use ':data => { :confirm => 'Text' }' instead. (called from block in __home_zinger_devel_projects_devour_stiki_app_views_stiki_spaces_index_html_erb___1240564032653305316_70160006265660 at /home/zinger/devel/projects/devour/stiki/app/views/stiki/spaces/index.html.erb:10)
         
     | 
| 
      
 405 
     | 
    
         
            +
              [1m[35mStiki::Author Load (0.1ms)[0m  SELECT "stiki_authors".* FROM "stiki_authors" WHERE "stiki_authors"."authorable_id" = 1 AND "stiki_authors"."authorable_type" = 'Stiki::Space' AND (creator = 't') LIMIT 1
         
     | 
| 
      
 406 
     | 
    
         
            +
              Rendered /home/zinger/devel/projects/devour/stiki/app/views/stiki/spaces/index.html.erb within layouts/application (43.4ms)
         
     | 
| 
      
 407 
     | 
    
         
            +
            Completed 200 OK in 49ms (Views: 47.1ms | ActiveRecord: 0.6ms)
         
     | 
| 
      
 408 
     | 
    
         
            +
             
     | 
| 
      
 409 
     | 
    
         
            +
             
     | 
| 
      
 410 
     | 
    
         
            +
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-20 23:53:33 -0400
         
     | 
| 
      
 411 
     | 
    
         
            +
            Served asset /application.css - 304 Not Modified (0ms)
         
     | 
| 
      
 412 
     | 
    
         
            +
             
     | 
| 
      
 413 
     | 
    
         
            +
             
     | 
| 
      
 414 
     | 
    
         
            +
            Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-09-20 23:53:33 -0400
         
     | 
| 
      
 415 
     | 
    
         
            +
            Served asset /jquery.js - 304 Not Modified (0ms)
         
     | 
| 
      
 416 
     | 
    
         
            +
             
     | 
| 
      
 417 
     | 
    
         
            +
             
     | 
| 
      
 418 
     | 
    
         
            +
            Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-09-20 23:53:33 -0400
         
     | 
| 
      
 419 
     | 
    
         
            +
            Served asset /jquery_ujs.js - 304 Not Modified (0ms)
         
     | 
| 
      
 420 
     | 
    
         
            +
             
     | 
| 
      
 421 
     | 
    
         
            +
             
     | 
| 
      
 422 
     | 
    
         
            +
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-09-20 23:53:33 -0400
         
     | 
| 
      
 423 
     | 
    
         
            +
            Served asset /application.js - 304 Not Modified (1ms)
         
     | 
| 
      
 424 
     | 
    
         
            +
             
     | 
| 
      
 425 
     | 
    
         
            +
             
     | 
| 
      
 426 
     | 
    
         
            +
            Started GET "/wiki/spaces/test/pages" for 127.0.0.1 at 2012-09-20 23:53:35 -0400
         
     | 
| 
      
 427 
     | 
    
         
            +
            Processing by Stiki::PagesController#index as HTML
         
     | 
| 
      
 428 
     | 
    
         
            +
              Parameters: {"space_id"=>"test"}
         
     | 
| 
      
 429 
     | 
    
         
            +
              [1m[36mStiki::Space Load (0.2ms)[0m  [1mSELECT "stiki_spaces".* FROM "stiki_spaces" WHERE "stiki_spaces"."slug" = 'test' LIMIT 1[0m
         
     | 
| 
      
 430 
     | 
    
         
            +
              [1m[35mStiki::Space Load (0.1ms)[0m  SELECT "stiki_spaces".* FROM "stiki_spaces" 
         
     | 
| 
      
 431 
     | 
    
         
            +
              [1m[36mStiki::Page Load (0.1ms)[0m  [1mSELECT "stiki_pages".* FROM "stiki_pages" WHERE "stiki_pages"."space_id" = 1[0m
         
     | 
| 
      
 432 
     | 
    
         
            +
              Rendered /home/zinger/devel/projects/devour/stiki/app/views/stiki/pages/index.html.erb within layouts/application (4.4ms)
         
     | 
| 
      
 433 
     | 
    
         
            +
            Completed 200 OK in 20ms (Views: 8.6ms | ActiveRecord: 0.6ms)
         
     | 
| 
      
 434 
     | 
    
         
            +
             
     | 
| 
      
 435 
     | 
    
         
            +
             
     | 
| 
      
 436 
     | 
    
         
            +
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-20 23:53:35 -0400
         
     | 
| 
      
 437 
     | 
    
         
            +
            Served asset /application.css - 304 Not Modified (0ms)
         
     | 
| 
      
 438 
     | 
    
         
            +
             
     | 
| 
      
 439 
     | 
    
         
            +
             
     | 
| 
      
 440 
     | 
    
         
            +
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-09-20 23:53:35 -0400
         
     | 
| 
      
 441 
     | 
    
         
            +
            Served asset /application.js - 304 Not Modified (1ms)
         
     | 
| 
      
 442 
     | 
    
         
            +
             
     | 
| 
      
 443 
     | 
    
         
            +
             
     | 
| 
      
 444 
     | 
    
         
            +
            Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-09-20 23:53:35 -0400
         
     | 
| 
      
 445 
     | 
    
         
            +
            Served asset /jquery.js - 304 Not Modified (0ms)
         
     | 
| 
      
 446 
     | 
    
         
            +
             
     | 
| 
      
 447 
     | 
    
         
            +
             
     | 
| 
      
 448 
     | 
    
         
            +
            Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-09-20 23:53:35 -0400
         
     | 
| 
      
 449 
     | 
    
         
            +
            Served asset /jquery_ujs.js - 304 Not Modified (0ms)
         
     | 
| 
      
 450 
     | 
    
         
            +
             
     | 
| 
      
 451 
     | 
    
         
            +
             
     | 
| 
      
 452 
     | 
    
         
            +
            Started GET "/wiki/spaces/test/pages/new" for 127.0.0.1 at 2012-09-20 23:53:41 -0400
         
     | 
| 
      
 453 
     | 
    
         
            +
            Processing by Stiki::PagesController#new as HTML
         
     | 
| 
      
 454 
     | 
    
         
            +
              Parameters: {"space_id"=>"test"}
         
     | 
| 
      
 455 
     | 
    
         
            +
              [1m[35mStiki::Space Load (0.2ms)[0m  SELECT "stiki_spaces".* FROM "stiki_spaces" WHERE "stiki_spaces"."slug" = 'test' LIMIT 1
         
     | 
| 
      
 456 
     | 
    
         
            +
              Rendered /home/zinger/devel/projects/devour/stiki/app/views/stiki/pages/_form.html.erb (1.2ms)
         
     | 
| 
      
 457 
     | 
    
         
            +
              Rendered /home/zinger/devel/projects/devour/stiki/app/views/stiki/pages/new.html.erb within layouts/application (19.0ms)
         
     | 
| 
      
 458 
     | 
    
         
            +
            Completed 200 OK in 32ms (Views: 23.0ms | ActiveRecord: 0.2ms)
         
     | 
| 
      
 459 
     | 
    
         
            +
             
     | 
| 
      
 460 
     | 
    
         
            +
             
     | 
| 
      
 461 
     | 
    
         
            +
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-20 23:53:41 -0400
         
     | 
| 
      
 462 
     | 
    
         
            +
            Served asset /application.css - 304 Not Modified (0ms)
         
     | 
| 
      
 463 
     | 
    
         
            +
             
     | 
| 
      
 464 
     | 
    
         
            +
             
     | 
| 
      
 465 
     | 
    
         
            +
            Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-09-20 23:53:41 -0400
         
     | 
| 
      
 466 
     | 
    
         
            +
            Served asset /jquery.js - 304 Not Modified (0ms)
         
     | 
| 
      
 467 
     | 
    
         
            +
             
     | 
| 
      
 468 
     | 
    
         
            +
             
     | 
| 
      
 469 
     | 
    
         
            +
            Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-09-20 23:53:41 -0400
         
     | 
| 
      
 470 
     | 
    
         
            +
            Served asset /jquery_ujs.js - 304 Not Modified (0ms)
         
     | 
| 
      
 471 
     | 
    
         
            +
             
     | 
| 
      
 472 
     | 
    
         
            +
             
     | 
| 
      
 473 
     | 
    
         
            +
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-09-20 23:53:41 -0400
         
     | 
| 
      
 474 
     | 
    
         
            +
            Served asset /application.js - 304 Not Modified (1ms)
         
     | 
| 
      
 475 
     | 
    
         
            +
             
     | 
| 
      
 476 
     | 
    
         
            +
             
     | 
| 
      
 477 
     | 
    
         
            +
            Started GET "/wiki/spaces/test/pages/new" for 127.0.0.1 at 2012-09-20 23:54:02 -0400
         
     | 
| 
      
 478 
     | 
    
         
            +
            Processing by Stiki::PagesController#new as HTML
         
     | 
| 
      
 479 
     | 
    
         
            +
              Parameters: {"space_id"=>"test"}
         
     | 
| 
      
 480 
     | 
    
         
            +
              [1m[36mStiki::Space Load (0.2ms)[0m  [1mSELECT "stiki_spaces".* FROM "stiki_spaces" WHERE "stiki_spaces"."slug" = 'test' LIMIT 1[0m
         
     | 
| 
      
 481 
     | 
    
         
            +
              Rendered /home/zinger/devel/projects/devour/stiki/app/views/stiki/pages/_form.html.erb (0.5ms)
         
     | 
| 
      
 482 
     | 
    
         
            +
              Rendered /home/zinger/devel/projects/devour/stiki/app/views/stiki/pages/new.html.erb within layouts/application (1.6ms)
         
     | 
| 
      
 483 
     | 
    
         
            +
            Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.2ms)
         
     | 
| 
      
 484 
     | 
    
         
            +
             
     | 
| 
      
 485 
     | 
    
         
            +
             
     | 
| 
      
 486 
     | 
    
         
            +
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-20 23:54:02 -0400
         
     | 
| 
      
 487 
     | 
    
         
            +
            Served asset /application.css - 304 Not Modified (0ms)
         
     | 
| 
      
 488 
     | 
    
         
            +
             
     | 
| 
      
 489 
     | 
    
         
            +
             
     | 
| 
      
 490 
     | 
    
         
            +
            Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-09-20 23:54:02 -0400
         
     | 
| 
      
 491 
     | 
    
         
            +
            Served asset /jquery.js - 304 Not Modified (2ms)
         
     | 
| 
      
 492 
     | 
    
         
            +
             
     | 
| 
      
 493 
     | 
    
         
            +
             
     | 
| 
      
 494 
     | 
    
         
            +
            Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-09-20 23:54:02 -0400
         
     | 
| 
      
 495 
     | 
    
         
            +
            Served asset /jquery_ujs.js - 304 Not Modified (0ms)
         
     | 
| 
      
 496 
     | 
    
         
            +
             
     | 
| 
      
 497 
     | 
    
         
            +
             
     | 
| 
      
 498 
     | 
    
         
            +
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-09-20 23:54:02 -0400
         
     | 
| 
      
 499 
     | 
    
         
            +
            Served asset /application.js - 304 Not Modified (5ms)
         
     | 
| 
      
 500 
     | 
    
         
            +
             
     | 
| 
      
 501 
     | 
    
         
            +
             
     | 
| 
      
 502 
     | 
    
         
            +
            Started GET "/wiki/spaces/test/pages/new" for 127.0.0.1 at 2012-09-20 23:54:33 -0400
         
     | 
| 
      
 503 
     | 
    
         
            +
            Processing by Stiki::PagesController#new as HTML
         
     | 
| 
      
 504 
     | 
    
         
            +
              Parameters: {"space_id"=>"test"}
         
     | 
| 
      
 505 
     | 
    
         
            +
              [1m[35mStiki::Space Load (0.2ms)[0m  SELECT "stiki_spaces".* FROM "stiki_spaces" WHERE "stiki_spaces"."slug" = 'test' LIMIT 1
         
     | 
| 
      
 506 
     | 
    
         
            +
              Rendered /home/zinger/devel/projects/devour/stiki/app/views/stiki/pages/_form.html.erb (0.5ms)
         
     | 
| 
      
 507 
     | 
    
         
            +
              Rendered /home/zinger/devel/projects/devour/stiki/app/views/stiki/pages/new.html.erb within layouts/application (2.5ms)
         
     | 
| 
      
 508 
     | 
    
         
            +
            Completed 200 OK in 10ms (Views: 6.7ms | ActiveRecord: 0.2ms)
         
     | 
| 
      
 509 
     | 
    
         
            +
             
     | 
| 
      
 510 
     | 
    
         
            +
             
     | 
| 
      
 511 
     | 
    
         
            +
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-20 23:54:33 -0400
         
     | 
| 
      
 512 
     | 
    
         
            +
            Served asset /application.css - 304 Not Modified (0ms)
         
     | 
| 
      
 513 
     | 
    
         
            +
             
     | 
| 
      
 514 
     | 
    
         
            +
             
     | 
| 
      
 515 
     | 
    
         
            +
            Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-09-20 23:54:33 -0400
         
     | 
| 
      
 516 
     | 
    
         
            +
            Served asset /jquery.js - 304 Not Modified (0ms)
         
     | 
| 
      
 517 
     | 
    
         
            +
             
     | 
| 
      
 518 
     | 
    
         
            +
             
     | 
| 
      
 519 
     | 
    
         
            +
            Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-09-20 23:54:33 -0400
         
     | 
| 
      
 520 
     | 
    
         
            +
            Served asset /jquery_ujs.js - 304 Not Modified (1ms)
         
     | 
| 
      
 521 
     | 
    
         
            +
             
     | 
| 
      
 522 
     | 
    
         
            +
             
     | 
| 
      
 523 
     | 
    
         
            +
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-09-20 23:54:34 -0400
         
     | 
| 
      
 524 
     | 
    
         
            +
            Served asset /application.js - 304 Not Modified (1ms)
         
     |