From 45139d032caf460780f4adb313526bcb3f59a8ed Mon Sep 17 00:00:00 2001 From: universaL Date: Fri, 2 May 2008 11:38:44 +0200 Subject: [PATCH] added authentication and a bit of styling to code pastes --- app/controllers/application.rb | 4 + app/controllers/application.rb~ | 12 + app/controllers/pastes_controller.rb | 2 +- app/controllers/pastes_controller.rb~ | 85 + app/controllers/sessions_controller.rb | 30 + app/controllers/sessions_controller.rb~ | 29 + app/helpers/sessions_helper.rb | 2 + app/helpers/users_helper.rb | 2 + app/models/paste.rb | 2 + app/models/paste.rb~ | 2 + app/models/user.rb | 83 + app/views/pastes/_code.html.erb~ | 10 + app/views/pastes/_form.html.erb | 22 + app/views/pastes/_form.html.erb~ | 22 + app/views/pastes/_paste.html.erb | 10 + app/views/pastes/edit.html.erb | 32 +- app/views/pastes/edit.html.erb~ | 20 + app/views/pastes/index.html.erb | 37 +- app/views/pastes/index.html.erb~ | 23 + app/views/pastes/new.html.erb | 32 +- app/views/pastes/new.html.erb~ | 13 + app/views/pastes/show.html.erb | 35 +- app/views/pastes/show.html.erb~ | 26 + app/views/sessions/new.html.erb | 14 + config/routes.rb | 5 + config/routes.rb~ | 43 + db/development.sqlite3 | Bin 4096 -> 25600 bytes db/migrate/002_create_users.rb | 20 + db/schema.rb | 13 +- lib/authenticated_system.rb | 115 + lib/authenticated_test_helper.rb | 10 + log/development.log | 5331 +++++++++++++++++ log/production.log | 0 log/server.log | 0 log/test.log | 0 public/stylesheets/scaffold.css | 4 +- public/stylesheets/scaffold.css~ | 103 + test/fixtures/users.yml | 19 + test/functional/sessions_controller_test.rb | 85 + test/functional/users_controller_test.rb | 67 + test/unit/user_test.rb | 103 + vendor/plugins/restful_authentication/README | 51 + .../plugins/restful_authentication/Rakefile | 22 + .../generators/authenticated/USAGE | 1 + .../authenticated/authenticated_generator.rb | 263 + .../templates/activation.html.erb | 3 + .../templates/authenticated_system.rb | 115 + .../templates/authenticated_test_helper.rb | 10 + .../authenticated/templates/controller.rb | 31 + .../authenticated/templates/fixtures.yml | 19 + .../templates/functional_spec.rb | 74 + .../templates/functional_test.rb | 85 + .../authenticated/templates/helper.rb | 2 + .../authenticated/templates/login.html.erb | 14 + .../authenticated/templates/mailer.rb | 25 + .../authenticated/templates/mailer_test.rb | 31 + .../authenticated/templates/migration.rb | 22 + .../authenticated/templates/model.rb | 142 + .../templates/model_controller.rb | 65 + .../templates/model_functional_spec.rb | 86 + .../templates/model_functional_test.rb | 99 + .../authenticated/templates/model_helper.rb | 2 + .../authenticated/templates/observer.rb | 11 + .../authenticated/templates/signup.html.erb | 16 + .../templates/signup_notification.html.erb | 8 + .../authenticated/templates/unit_spec.rb | 174 + .../authenticated/templates/unit_test.rb | 164 + .../plugins/restful_authentication/install.rb | 1 + .../restful_authentication/rails_commands.rb | 29 + 69 files changed, 7959 insertions(+), 73 deletions(-) create mode 100644 app/controllers/application.rb~ create mode 100644 app/controllers/pastes_controller.rb~ create mode 100644 app/controllers/sessions_controller.rb create mode 100644 app/controllers/sessions_controller.rb~ create mode 100644 app/helpers/sessions_helper.rb create mode 100644 app/helpers/users_helper.rb create mode 100644 app/models/paste.rb~ create mode 100644 app/models/user.rb create mode 100644 app/views/pastes/_code.html.erb~ create mode 100644 app/views/pastes/_form.html.erb create mode 100644 app/views/pastes/_form.html.erb~ create mode 100644 app/views/pastes/_paste.html.erb create mode 100644 app/views/pastes/edit.html.erb~ create mode 100644 app/views/pastes/index.html.erb~ create mode 100644 app/views/pastes/new.html.erb~ create mode 100644 app/views/pastes/show.html.erb~ create mode 100644 app/views/sessions/new.html.erb create mode 100644 config/routes.rb~ create mode 100644 db/migrate/002_create_users.rb create mode 100644 lib/authenticated_system.rb create mode 100644 lib/authenticated_test_helper.rb create mode 100644 log/development.log create mode 100644 log/production.log create mode 100644 log/server.log create mode 100644 log/test.log create mode 100644 public/stylesheets/scaffold.css~ create mode 100644 test/fixtures/users.yml create mode 100644 test/functional/sessions_controller_test.rb create mode 100644 test/functional/users_controller_test.rb create mode 100644 test/unit/user_test.rb create mode 100644 vendor/plugins/restful_authentication/README create mode 100644 vendor/plugins/restful_authentication/Rakefile create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/USAGE create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/authenticated_generator.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/activation.html.erb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/authenticated_system.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/authenticated_test_helper.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/controller.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/fixtures.yml create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/functional_spec.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/functional_test.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/helper.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/login.html.erb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/mailer.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/mailer_test.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/migration.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/model.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/model_controller.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/model_functional_spec.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/model_functional_test.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/model_helper.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/observer.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/signup.html.erb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/signup_notification.html.erb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/unit_spec.rb create mode 100644 vendor/plugins/restful_authentication/generators/authenticated/templates/unit_test.rb create mode 100644 vendor/plugins/restful_authentication/install.rb create mode 100644 vendor/plugins/restful_authentication/lib/restful_authentication/rails_commands.rb diff --git a/app/controllers/application.rb b/app/controllers/application.rb index 63a9a70..473c2c1 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -2,9 +2,13 @@ # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base + include AuthenticatedSystem + helper :all # include all helpers, all the time # See ActionController::RequestForgeryProtection for details # Uncomment the :secret if you're not using the cookie session store protect_from_forgery # :secret => '381c0a61fe231551469ee3a6d6e66a1e' + + before_filter :login_required end diff --git a/app/controllers/application.rb~ b/app/controllers/application.rb~ new file mode 100644 index 0000000..7c32c26 --- /dev/null +++ b/app/controllers/application.rb~ @@ -0,0 +1,12 @@ +# Filters added to this controller apply to all controllers in the application. +# Likewise, all the methods added will be available for all controllers. + +class ApplicationController < ActionController::Base + include AuthenticatedSystem + + helper :all # include all helpers, all the time + + # See ActionController::RequestForgeryProtection for details + # Uncomment the :secret if you're not using the cookie session store + protect_from_forgery # :secret => '381c0a61fe231551469ee3a6d6e66a1e' +end diff --git a/app/controllers/pastes_controller.rb b/app/controllers/pastes_controller.rb index aa02d44..914fa5f 100644 --- a/app/controllers/pastes_controller.rb +++ b/app/controllers/pastes_controller.rb @@ -2,7 +2,7 @@ class PastesController < ApplicationController # GET /pastes # GET /pastes.xml def index - @pastes = Paste.find(:all) + @pastes = Paste.find(:all, :order => "id DESC") respond_to do |format| format.html # index.html.erb diff --git a/app/controllers/pastes_controller.rb~ b/app/controllers/pastes_controller.rb~ new file mode 100644 index 0000000..aa02d44 --- /dev/null +++ b/app/controllers/pastes_controller.rb~ @@ -0,0 +1,85 @@ +class PastesController < ApplicationController + # GET /pastes + # GET /pastes.xml + def index + @pastes = Paste.find(:all) + + respond_to do |format| + format.html # index.html.erb + format.xml { render :xml => @pastes } + end + end + + # GET /pastes/1 + # GET /pastes/1.xml + def show + @paste = Paste.find(params[:id]) + + respond_to do |format| + format.html # show.html.erb + format.xml { render :xml => @paste } + end + end + + # GET /pastes/new + # GET /pastes/new.xml + def new + @paste = Paste.new + + respond_to do |format| + format.html # new.html.erb + format.xml { render :xml => @paste } + end + end + + # GET /pastes/1/edit + def edit + @paste = Paste.find(params[:id]) + end + + # POST /pastes + # POST /pastes.xml + def create + @paste = Paste.new(params[:paste]) + + respond_to do |format| + if @paste.save + flash[:notice] = 'Paste was successfully created.' + format.html { redirect_to(@paste) } + format.xml { render :xml => @paste, :status => :created, :location => @paste } + else + format.html { render :action => "new" } + format.xml { render :xml => @paste.errors, :status => :unprocessable_entity } + end + end + end + + # PUT /pastes/1 + # PUT /pastes/1.xml + def update + @paste = Paste.find(params[:id]) + + respond_to do |format| + if @paste.update_attributes(params[:paste]) + flash[:notice] = 'Paste was successfully updated.' + format.html { redirect_to(@paste) } + format.xml { head :ok } + else + format.html { render :action => "edit" } + format.xml { render :xml => @paste.errors, :status => :unprocessable_entity } + end + end + end + + # DELETE /pastes/1 + # DELETE /pastes/1.xml + def destroy + @paste = Paste.find(params[:id]) + @paste.destroy + + respond_to do |format| + format.html { redirect_to(pastes_url) } + format.xml { head :ok } + end + end +end diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb new file mode 100644 index 0000000..29cb1bd --- /dev/null +++ b/app/controllers/sessions_controller.rb @@ -0,0 +1,30 @@ +# This controller handles the login/logout function of the site. +class SessionsController < ApplicationController + skip_before_filter :login_required + + # render new.rhtml + def new + end + + def create + self.current_user = User.authenticate(params[:login], params[:password]) + if logged_in? + if params[:remember_me] == "1" + current_user.remember_me unless current_user.remember_token? + cookies[:auth_token] = { :value => self.current_user.remember_token , :expires => self.current_user.remember_token_expires_at } + end + redirect_back_or_default('/') + flash[:notice] = "Logged in successfully" + else + render :action => 'new' + end + end + + def destroy + self.current_user.forget_me if logged_in? + cookies.delete :auth_token + reset_session + flash[:notice] = "You have been logged out." + redirect_back_or_default('/') + end +end diff --git a/app/controllers/sessions_controller.rb~ b/app/controllers/sessions_controller.rb~ new file mode 100644 index 0000000..77637c1 --- /dev/null +++ b/app/controllers/sessions_controller.rb~ @@ -0,0 +1,29 @@ +# This controller handles the login/logout function of the site. +class SessionsController < ApplicationController + skip_before_filter :login_required + # render new.rhtml + def new + end + + def create + self.current_user = User.authenticate(params[:login], params[:password]) + if logged_in? + if params[:remember_me] == "1" + current_user.remember_me unless current_user.remember_token? + cookies[:auth_token] = { :value => self.current_user.remember_token , :expires => self.current_user.remember_token_expires_at } + end + redirect_back_or_default('/') + flash[:notice] = "Logged in successfully" + else + render :action => 'new' + end + end + + def destroy + self.current_user.forget_me if logged_in? + cookies.delete :auth_token + reset_session + flash[:notice] = "You have been logged out." + redirect_back_or_default('/') + end +end diff --git a/app/helpers/sessions_helper.rb b/app/helpers/sessions_helper.rb new file mode 100644 index 0000000..f54a8fc --- /dev/null +++ b/app/helpers/sessions_helper.rb @@ -0,0 +1,2 @@ +module SessionsHelper +end \ No newline at end of file diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb new file mode 100644 index 0000000..476a5ae --- /dev/null +++ b/app/helpers/users_helper.rb @@ -0,0 +1,2 @@ +module UsersHelper +end \ No newline at end of file diff --git a/app/models/paste.rb b/app/models/paste.rb index 722d35d..bc4f2ca 100644 --- a/app/models/paste.rb +++ b/app/models/paste.rb @@ -1,2 +1,4 @@ class Paste < ActiveRecord::Base + validates_presence_of :language, :code + end diff --git a/app/models/paste.rb~ b/app/models/paste.rb~ new file mode 100644 index 0000000..722d35d --- /dev/null +++ b/app/models/paste.rb~ @@ -0,0 +1,2 @@ +class Paste < ActiveRecord::Base +end diff --git a/app/models/user.rb b/app/models/user.rb new file mode 100644 index 0000000..1dc9ada --- /dev/null +++ b/app/models/user.rb @@ -0,0 +1,83 @@ +require 'digest/sha1' +class User < ActiveRecord::Base + # Virtual attribute for the unencrypted password + attr_accessor :password + + validates_presence_of :login, :email + validates_presence_of :password, :if => :password_required? + validates_presence_of :password_confirmation, :if => :password_required? + validates_length_of :password, :within => 4..40, :if => :password_required? + validates_confirmation_of :password, :if => :password_required? + validates_length_of :login, :within => 3..40 + validates_length_of :email, :within => 3..100 + validates_uniqueness_of :login, :email, :case_sensitive => false + before_save :encrypt_password + + # prevents a user from submitting a crafted form that bypasses activation + # anything else you want your user to change should be added here. + attr_accessible :login, :email, :password, :password_confirmation + + # Authenticates a user by their login name and unencrypted password. Returns the user or nil. + def self.authenticate(login, password) + u = find_by_login(login) # need to get the salt + u && u.authenticated?(password) ? u : nil + end + + # Encrypts some data with the salt. + def self.encrypt(password, salt) + Digest::SHA1.hexdigest("--#{salt}--#{password}--") + end + + # Encrypts the password with the user salt + def encrypt(password) + self.class.encrypt(password, salt) + end + + def authenticated?(password) + crypted_password == encrypt(password) + end + + def remember_token? + remember_token_expires_at && Time.now.utc < remember_token_expires_at + end + + # These create and unset the fields required for remembering users between browser closes + def remember_me + remember_me_for 2.weeks + end + + def remember_me_for(time) + remember_me_until time.from_now.utc + end + + def remember_me_until(time) + self.remember_token_expires_at = time + self.remember_token = encrypt("#{email}--#{remember_token_expires_at}") + save(false) + end + + def forget_me + self.remember_token_expires_at = nil + self.remember_token = nil + save(false) + end + + # Returns true if the user has just been activated. + def recently_activated? + @activated + end + + protected + # before filter + def encrypt_password + return if password.blank? + self.salt = Digest::SHA1.hexdigest("--#{Time.now.to_s}--#{login}--") if new_record? + self.crypted_password = encrypt(password) + end + + def password_required? + crypted_password.blank? || !password.blank? + end + + +end diff --git a/app/views/pastes/_code.html.erb~ b/app/views/pastes/_code.html.erb~ new file mode 100644 index 0000000..2e3bcb1 --- /dev/null +++ b/app/views/pastes/_code.html.erb~ @@ -0,0 +1,10 @@ + + + <%=h paste.code[0, 25] %> + <%=h paste.language %> + <%= link_to 'Show', paste %> + <%= link_to 'Edit', edit_paste_path(paste) %> + <%= link_to 'Destroy', paste, :confirm => 'Are you sure?', :method => :delete %> + + + diff --git a/app/views/pastes/_form.html.erb b/app/views/pastes/_form.html.erb new file mode 100644 index 0000000..3125fb5 --- /dev/null +++ b/app/views/pastes/_form.html.erb @@ -0,0 +1,22 @@ +<%- unless @paste.errors.empty? -%> + + <%= error_messages_for :paste %> + +<%- end -%> + + + <% form_for(@paste) do |f| %> +

+ <%= f.label :language %>
+ <%= f.select :language, SYNTAXES, :include_blank => true %> +

+

+ <%= f.label :code %>
+ <%= f.text_area :code, :cols => 80, :rows => 25 %> +

+

+ <%= f.submit (@paste.new_record? ? "Create" : "Update") %> +

+ <% end %> + + diff --git a/app/views/pastes/_form.html.erb~ b/app/views/pastes/_form.html.erb~ new file mode 100644 index 0000000..f650389 --- /dev/null +++ b/app/views/pastes/_form.html.erb~ @@ -0,0 +1,22 @@ +<%- unless @paste.errors.empty? -%> + + <%= error_messages_for :paste %> + +<%- end -%> + + + <% form_for(@paste) do |f| %> +

+ <%= f.label :language %>
+ <%= f.select :language, SYNTAXES, :include_blank => true %> +

+

+ <%= f.label :code %>
+ <%= f.text_area :code, :cols => 80, :rows => 25 %> +

+

+ <%= f.submit "Create" %> +

+ <% end %> + + diff --git a/app/views/pastes/_paste.html.erb b/app/views/pastes/_paste.html.erb new file mode 100644 index 0000000..fa0c064 --- /dev/null +++ b/app/views/pastes/_paste.html.erb @@ -0,0 +1,10 @@ + + + <%=h paste.code[0, 25] %> + <%=h paste.language %> + <%= link_to 'Show', paste %> + <%= link_to 'Edit', edit_paste_path(paste) %> + <%= link_to 'Destroy', paste, :confirm => 'Are you sure?', :method => :delete %> + + + diff --git a/app/views/pastes/edit.html.erb b/app/views/pastes/edit.html.erb index 383918c..6685c04 100644 --- a/app/views/pastes/edit.html.erb +++ b/app/views/pastes/edit.html.erb @@ -1,20 +1,14 @@ -

Editing paste

+ + + + + + + + <%= render :partial => 'form' %> + + + + +

Editing paste

<%= link_to 'Show', @paste %> | <%= link_to 'Back', pastes_path %>
-<%= error_messages_for :paste %> - -<% form_for(@paste) do |f| %> -

- Language
- <%= f.select :language, SYNTAXES %> -

-

- Code
- <%= f.text_area :code %> -

-

- <%= f.submit "Update" %> -

-<% end %> - -<%= link_to 'Show', @paste %> | -<%= link_to 'Back', pastes_path %> diff --git a/app/views/pastes/edit.html.erb~ b/app/views/pastes/edit.html.erb~ new file mode 100644 index 0000000..383918c --- /dev/null +++ b/app/views/pastes/edit.html.erb~ @@ -0,0 +1,20 @@ +

Editing paste

+ +<%= error_messages_for :paste %> + +<% form_for(@paste) do |f| %> +

+ Language
+ <%= f.select :language, SYNTAXES %> +

+

+ Code
+ <%= f.text_area :code %> +

+

+ <%= f.submit "Update" %> +

+<% end %> + +<%= link_to 'Show', @paste %> | +<%= link_to 'Back', pastes_path %> diff --git a/app/views/pastes/index.html.erb b/app/views/pastes/index.html.erb index a779dfd..97cdf12 100644 --- a/app/views/pastes/index.html.erb +++ b/app/views/pastes/index.html.erb @@ -1,22 +1,23 @@ -

Listing pastes

- - - - - - -<% for paste in @pastes %> - - - - - - - -<% end %> + + + + + + + + + + + + + + <%= render :partial => 'paste', :collection => @pastes %> + + + + +
CodeLanguage
<%=h paste.code[0, 25] %><%=h paste.language %><%= link_to 'Show', paste %><%= link_to 'Edit', edit_paste_path(paste) %><%= link_to 'Destroy', paste, :confirm => 'Are you sure?', :method => :delete %>

Pastes

<%= link_to 'New paste', new_paste_path %>
CodeLanguage
<%= link_to 'New paste', new_paste_path %>
-
-<%= link_to 'New paste', new_paste_path %> diff --git a/app/views/pastes/index.html.erb~ b/app/views/pastes/index.html.erb~ new file mode 100644 index 0000000..4d0de9e --- /dev/null +++ b/app/views/pastes/index.html.erb~ @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + <% render :partial => 'paste', :collection => @pastes %> + + + + + +

Pastes

<%= link_to 'New paste', new_paste_path %>
CodeLanguage
<%= link_to 'New paste', new_paste_path %>
+ + diff --git a/app/views/pastes/new.html.erb b/app/views/pastes/new.html.erb index e8aa106..512dae8 100644 --- a/app/views/pastes/new.html.erb +++ b/app/views/pastes/new.html.erb @@ -1,19 +1,13 @@ -

New paste

- -<%= error_messages_for :paste %> - -<% form_for(@paste) do |f| %> -

- Language
- <%= f.select :language, SYNTAXES %> -

-

- Code
- <%= f.text_area :code %> -

-

- <%= f.submit "Create" %> -

-<% end %> - -<%= link_to 'Back', pastes_path %> + + + + + + + + <%= render :partial => 'form' %> + + + + +

New paste

<%= link_to 'Back', pastes_path %>
diff --git a/app/views/pastes/new.html.erb~ b/app/views/pastes/new.html.erb~ new file mode 100644 index 0000000..f6b313f --- /dev/null +++ b/app/views/pastes/new.html.erb~ @@ -0,0 +1,13 @@ + + + + + + + + <%= render_partial 'form' %> + + + + +

New paste

<%= link_to 'Back', pastes_path %>
diff --git a/app/views/pastes/show.html.erb b/app/views/pastes/show.html.erb index ab5d044..6104937 100644 --- a/app/views/pastes/show.html.erb +++ b/app/views/pastes/show.html.erb @@ -1,16 +1,25 @@ -Theme: <%= select_tag :themes, options_for_select(%w{active4d all_hallows_eve amy blackboard brilliance_black brilliance_dull cobalt dawn eiffel espresso_libre idle iplastic lazy mac_classic magicwb_amiga pastels_on_dark spacecadet sunburst twilight zenburnesque}), :onChange => "changeStyle(this.value)", :id => "theme_picker" %>
-

- Language: - <%=h @paste.language %> -

-
-

- Code: - <%=c @paste.code, :syntax => @paste.language %> -

-
+ + + + + + + + + + + + + + + + +
Language: <%=h @paste.language %>Theme: <%= select_tag :themes, options_for_select(%w{active4d all_hallows_eve amy blackboard brilliance_black brilliance_dull cobalt dawn eiffel espresso_libre idle iplastic lazy mac_classic magicwb_amiga pastels_on_dark spacecadet sunburst twilight zenburnesque}), :onChange => "changeStyle(this.value)", :id => "theme_picker" %>
+
+ <%=c @paste.code, :syntax => @paste.language %> +
+
<%= link_to 'Edit', edit_paste_path(@paste) %><%= link_to 'Back', pastes_path %>
+ -<%= link_to 'Edit', edit_paste_path(@paste) %> | -<%= link_to 'Back', pastes_path %> diff --git a/app/views/pastes/show.html.erb~ b/app/views/pastes/show.html.erb~ new file mode 100644 index 0000000..db609b9 --- /dev/null +++ b/app/views/pastes/show.html.erb~ @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + +
Language: <%=h @paste.language %>Theme: <%= select_tag :themes, options_for_select(%w{active4d all_hallows_eve amy blackboard brilliance_black brilliance_dull cobalt dawn eiffel espresso_libre idle iplastic lazy mac_classic magicwb_amiga pastels_on_dark spacecadet sunburst twilight zenburnesque}), :onChange => "changeStyle(this.value)", :id => "theme_picker" %>
+
+ <%=c @paste.code, :syntax => @paste.language %> +
+
<%= link_to 'Edit', edit_paste_path(@paste) %><%= link_to 'Back', pastes_path %>
+ + + + diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb new file mode 100644 index 0000000..3f333eb --- /dev/null +++ b/app/views/sessions/new.html.erb @@ -0,0 +1,14 @@ +<% form_tag session_path do -%> +


+<%= text_field_tag 'login' %>

+ +


+<%= password_field_tag 'password' %>

+ + + +

<%= submit_tag 'Log in' %>

+<% end -%> diff --git a/config/routes.rb b/config/routes.rb index eaa1024..1e3c139 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,11 @@ ActionController::Routing::Routes.draw do |map| + map.login '/login', :controller => 'sessions', :action => 'new' + + map.resource :session + map.resources :pastes map.root :controller => "pastes" + # The priority is based upon order of creation: first created -> highest priority. # Sample of regular route: diff --git a/config/routes.rb~ b/config/routes.rb~ new file mode 100644 index 0000000..1b1310f --- /dev/null +++ b/config/routes.rb~ @@ -0,0 +1,43 @@ +ActionController::Routing::Routes.draw do |map| + map.resources :users + map.login '/login', :controller => 'sessions', :action => 'new' + + map.resource :session + + map.resources :pastes + map.root :controller => "pastes" + + # The priority is based upon order of creation: first created -> highest priority. + + # Sample of regular route: + # map.connect 'products/:id', :controller => 'catalog', :action => 'view' + # Keep in mind you can assign values other than :controller and :action + + # Sample of named route: + # map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase' + # This route can be invoked with purchase_url(:id => product.id) + + # Sample resource route (maps HTTP verbs to controller actions automatically): + # map.resources :products + + # Sample resource route with options: + # map.resources :products, :member => { :short => :get, :toggle => :post }, :collection => { :sold => :get } + + # Sample resource route with sub-resources: + # map.resources :products, :has_many => [ :comments, :sales ], :has_one => :seller + + # Sample resource route within a namespace: + # map.namespace :admin do |admin| + # # Directs /admin/products/* to Admin::ProductsController (app/controllers/admin/products_controller.rb) + # admin.resources :products + # end + + # You can have the root of your site routed with map.root -- just remember to delete public/index.html. + # map.root :controller => "welcome" + + # See how all your routes lay out with "rake routes" + + # Install the default routes as the lowest priority. + #map.connect ':controller/:action/:id' + #map.connect ':controller/:action/:id.:format' +end diff --git a/db/development.sqlite3 b/db/development.sqlite3 index 4dba2afd7232addfdb099b7077aa74e82aa98f8c..e8cc1cc52d96bb6b86a899205427bb76fb91940f 100644 GIT binary patch literal 25600 zcmeHQTXP)8bp{C8GT|_Hn^EPZwXT$R%>{&A03-ngDuW^@F(f601nII7hBdp}*d6ce z3^W(qY(FTfN`6QFK`Q?sdCQ;3d*1Vwmweyp?%BEEN`rLDA!GtOGpGBUK7H<|XZ`GN zAN#3RyHPyxQnftu-puUm%ukh?nVFf#zv9mvE@lfiik}O&>mP66)_XJmIWzaK*Z$+$ z0Y1F7pKpKo-upLi-kkl%@26fb&{?A6M1Fne)2CaT+goaT^WNhvCAU;TPLm zpKU!=Up;;JWb^6I)uXMStIg-zUq1W-L!NAXv8}%N691k*e%w}#AR78%L+yKUf8@o@ z?&@kw-QRk!`TTJXq9>jooDI^CkM>eMc(vyx$w3r@2sh!%QfnKVB;>xbQ$V z_n`rP6e>SV^-#wx>gMd+|IFZj?|$BK;2j74|8QV#_S)<<>i^u#w=;7uW_R)Dck%Ph zKYxGjdo%y=Z)<(g{z|!x2JGu7$%s+kS2g}Qz z+E9&=4uVLfBOU9;jd^dU^HSA+ezft4>MV8Sd3(7I!RHN3WM)`gtb>#w7M9!H+9U=d zmMIoi78e()AOZk74U#S(s)ngxZl@J$+8t7QP zc+8;&VtrlhcrVq$Cxt)mnc8`&juJ#cM@fFGdANR#)(n`mAA$&>>Bc<3N+ie~BHq9+xj?A2u84C(SzJxd%{x1XFO}f~ z(uIMqRS9X&%Tht6Hse$^o_Z;mfV#?o7ali+Gh{~M_eaW~Oz`nQqoNhFtePe|Jx&+Z zeJ}Lz_`r_`oFA1)eAXQ1^@f@V2$QI<;s}+>2}*Z8?F;|G@is0Ka2#}5!gn1%EIvCG z@*Ev!yI{?MjtBTN$uKUn+xI96lQho8DEJcb0~CD=JKWqEx5o<|{OjT$(utihqWRXM zdQNH*a2`waBcC5s<_ihcv;HXd!5f7Y#a`AQf%1b03sIpEzZo8Tqd<_`O#`>F zzD4ycn)s=q7MnWp0);|VDv%{^li5Q(4#0*qUn53hyMPK*8h(VgI#Xg2KOD#gfNHYe zts)i193Obtx~MIj;5r2{h;S3Akslss<7hIGeF#I<<$mDra(i)c(R>USAwF0Pw{WEW zgtTL~9)sLt$b#zWH1_l`T~{P+FQES5`Lhh-qV`#k+vupCpMX(vwV2N~CZ>r;orC;j z6PD`1f9wYL@Pr94znMZcKZBg5$C|(b7(%Tqk>ENcPecE|7h}6(Z=h9EHA8hvby~5SqPyo zu;lB^8^m7fLyy#lx$fN~qaZk0I5fKtkrT~N04Kt=PFSo0TfWn2ciYSDmG)};cKc5I zZhH-ijz^z3HKBg*R6(Haohn?x9_*AS1a$Z1Swo6Li*jczO)>yER1Xp5!G+WLy|% z37aJBVJNA#5aq$BVlBtnQ15yDar%+HSZEMkV}a2V;)xIhOIRb6bYOsKhaEx*D<$+q zWHv%5^)nyq%XE@}J_*l4x?>wvk!V!I5hIFs{T%u~?*~a9P9_neQalPlFydDHwLU>e z^9Jw+i2h8lltdDhR{eT-tIL?K9Qh$oX5=T!54Bmkme9|7^Yi__LJWjeAU3{-0Bg_J zK_L==aJpc?xppgC`E3zgv5dKYaIE;;4|a1NSo7(IOZ4zkH9PC@vi4a%K?N3(10cKW z2KYQ^!Y;2*!Ow#S_{w^D#A!oz#AdYfFefKiZ6+C8Ar;H<1P=U(cZ3!RG7&|2oj{5h z1(4&pMM2yv(Le~fpbX!OqJR;GP4Hk*bmWz#E$Q=OJ)- zBOpW!nM8;{MY9Wu4#=4z7K!{Bu&9NO&6|dPk1|H2jM|+#8Dp>?#Ul@@jJO(-D7!T9 zNIcS*#e0jS=~IdR_aR1rA}q5SWM9L@g=c#VL2*gC1uG4NVFeSw2YM9f_@f72043CF z%MYcy1XNg?pA2G555s5}`VcyfoEU%dXJ14q;;kXf>H_*Zc0luQG6czoOimBo?m${$ zz=A+8xcv8Hu?Eb=C&+3v%^NZn?2%C^#%V4`ALv~_gt{67_K+D#olnsJ?>k<#xe+}r znT})}%>|?aSR~XWF+yXg!P@MqcJNnHep#M*sw^$W^t;uWXRt%o?7=T|AiY-mOA2VD z%t%@ucOvtqNd{ds_LQCx#28$l9DyAmAOZ2Tim4c4F znkkw2xjFKkd6q(&htN@oo6!KH$V@Rm#i1wjgo>Dqyr3rr!dUre&-zA)r1LN0J&=oA z;J|~MN~LgObQIRbNxI2*ab5-0GFS)7I2^MmBJQ9Nf=xGwV6zgLnEJkbglZKw!wObD zn;-V0uuoJm9wlPhe0~vnVFAL-aTJbml#g~EFik3jm1HVK zvZ&gscYGk4DmM_mq7n%`@(=-2^W^NO#JPguDO`$O0qKP~^+xbOsPIT#6Nb;0Hd(8Z zHGHMxNtQ|wtV1Dd>U>S*jhrM4%L-RiKKI$cp`|T4<*b`rKuFQ_hH6-zAoV*H%m!NZg8>?X~B(o`E!w#3!n-* zD(C{a%U9)^4CH@Te>#QjKiRWQdqQUQysImx!7NPO^K>?$eZ4V{v#B0JOZa4;oY+S?32>__N@zt3o@`D_#&h&@Eu#ONX4iX@wC$J+SzEtH5M;?s(j8X`BL zXWK<&vB>;Q0e)f>iqkNNH6e*avJ>?vjHu_dJf?(fD(-oL$w8(r%gl?lZ1Gz3P7*EP zFLf*MLmaGC+u9EhbWiBeg!$W0C={Lk-vz1m?blEGCtCB1|f^(ri)bV1Izpk9#?U|!H^xeUlbk=4e%U6BvMc0nfU}gMn+_sJ=qar^%-RvY9jU7K2pfF;9fF<8>@b*+W;vR?u+6W4} zj3`Efo3BPXK%iK73Q?0e%K+7>3xZk(v?9xmf?OH7tw0nd7%rCf1$mAczy=6Eo! z9a z%^&AVEGsQNu`ANMDd|FP$rJx7_J9&sL}-ICvYk%^481kyUu^xd3Q)%i39Dnbvl;7$ zVA{ma)yb@+7%0mlD`rv;-7)t{^xK*3j?g#c22u>G^&R=mmdUSOpkNFrD%~|&%9a$P z7{53u=>H!jsl{C}tOT_}=)kc(#as>nWQ1A(>=n(Z$*Uz%t5_>BZLo;OoUjsV%Rw-% z@QsK>5tgzkUKs}$>%+nh>1YvpBCs_5r3bD8JGFrbP!U5wm!uwwOqzzwHrp*SJfvAR z?i)M6MmRY%MYunBTO6~kQGV>;p70V95w=9q~Jq%Vsat!S$;{aA=Z=>P=nCg!&W zQ$5#IG5Qh)9-tC#J=>LLtSvFw;583lNOV508)Slq5HXRFC6tL-<`usKE#e4^n9jq- z9YUfBI2a9x^@f-DEbB88Vd#Tmu8W0GYC#tsj$+S4hdl540niIw<+UgmMsm$>Bl(?@ z9&|cgYinETZt2Nd`D)F9LHa=5Csk#(&{v9SS{!ygCe@V2(R78PBqj>I7;4EBrmAMu zti0Cp)pX^c$F06Xkh|>Eb=_J<)*}ikeiGh%FQET_%-$Q4nwEN#w34XY>YPc^TO(%& zTmV&PlXa?Wp1VUl*8j#)wBPg^as*E9qSqt+;F;Y5(k_87oPu;^vgklHJ;O8lqaUmt?ZPgqYDi9)4&af+5%IZap!JZ z_-CHFNDMgPXQ!EQ3jP0+JQC}cBQX>c3u$3J7P98N76ak9ki?9;-f$S1z*3^+fj>r$ z0c;E_OKR6e{NP}v{<*^eFIny>>_r#e&CO7ZOH3HqMM^aac}7KAB+&?&uQXj<>q*=w zPmdwwM*hOsfGG}~CEzfOZ7WpNTuqTa4($3IuSGMVW9Wi>i4g`O5e}kX-3${Phbm`d z>*`C=phrlziSr8+X%H8?yl67xCfuq7Lnch%Gs)c~QMEFGYz%$1JgzYziB0R$NDAlX zSlF)GdcqP(4=w4;B$;wr5ZxXDFsKk7q1lgx!GI5Iw3_eE{#PqTg z9iZDH%V$_%cr&#EZp$y`7%%1hMF89uUub?KK{!|9#OI{Zr`mO+n9UMe8@ppZ8uhcL z%^fQ(9N~XUGGOiAC|2nIpHg;m^X%+MvyAyvcEE+!7-HDa7%*(?M1=SB#QS&NS*Jws)`Ur-z#NCo+yO}%;5a+ z{S3$~J)E!7ffP9Dd3odmN73^xSAH-(Vi${!l|3XB_F0Y;r*of8E(8zg?C~^Im^bt7 zF;&Bq0Iqoxo*ZYoKK$@Q9NflCavGZzSDt3ErF;6n$0$SK*fAFL=!LE2OPT(WK2k5d zAVY=y(TiuAU+uAtn8mn!w$4ai;XW@h#+$;~d3!~7T(Al#WI98*H888>VZNP;`Vfc16g|DRX)xg?17O*`W;4?PHD z^9_*N4ffL9XRW_k6B{`_f$rROH=JN6ZZ?Q1XkMAL76s}|fa3IOyl?bx!|9)BqrF>& zY+4-+pp-Ei#@Bz%mnE!dW3HC^>*-|=;XytvPHvDRToQ2x)N7Oq>l5GzPd;I3hJfSD z5S$xBZPG`1F`u6#RdC>2UBvA0H}qU$`zRV`dt%3&%&Qk)K7ID^)6cinhboZAV&Wik zILrX^i!boeF}hk%6CQ7{Zq;!G{`EU>G3V>E*FLbJWBg zDTXEcSr#9|Dv3FQZ9pa0IbAt5f}=7%-{gY+{{V+OY~z!DQ4(mT!#3r8hIiNi=mocCP0XyYmG%@dj%S)R zxFcsSi2z8E8s7}HPQ!a0mK3mMEtW~!r zKh3_Of;7QbJ>YDKwG|?_hhk(zANl+>=(~Vb6U-o5Bz{BwfK-xW569RCIfd3p=kkn0 zr}EjzB(69hHzL-A46re9RL*?hK$VgV$PidXl z*C5e-hA<6tS+uo>W3+l8OmvDkyZ}+kDG&kcnh;c4Pk<4hhyEo{Vk$^F$Dt>LP!xeA zp7S6C5JQxDJU%4vT!F;j<3=L$rekZ@|JyqgCvO@){pICqfL( zUSeETL1D`>c)nx0z#dPr8MkGvBL5Ug$)yh`F+G^QR>jHL+tVS?{~y9KIHAplS|s&NGNVZrBkr2wHkM}ReP=SpJ>zNa)+5H-sa zVAD%ui$2HV7~kVL-Icgo#@!Kd=i^g*5x@O}7Q_p&wK*FjSi-UoKU zv_-d3(Uu0TyitMgdJNSDrX57;SNJ2dT)*y8_Z41W?uR3;U*E$?BOF8rEA~-=bnm=k zxgVeOocFH_?#jq6-;iyu;3ZWD!t;MOt0-{%E_0%S+XNMX*YHU zy8|Gs3Rz(k8l1wImuJ8fnX=RHdUDLVXXh=`V~)UHnxNva0!5X*Dniw1YV-_A!dCYS z263vqax(UE$_wLClY4U%)pp1()Xuo*VTsyCxucY(0bAW7^A!637kKf%aHO-^oXIP! zur;SIXcIQW%u<}|w>|)J+M0;&tYzsbJqGNoRh5OXaM0~-EU19)Ok& z_GsN(*`gx8lb2M4xagXy4sANe8|gjP1h0tiyj3}h&J#Vc4rXBmLn8(LOB))oS!GGK zXvZD4#Q3zC?INlC3MgZ_U|a86RZt-P4t_QEqoEEQJi_+6D>b+~ZwYsqRfUkaMm-jLfHx9&Tw5n@1^FUt z;A>aG8|-E=S~`oo&hnY`<$HG7?YRsI*tECJqN-!HNf6rl#rg~7vbG`hNYW05oYqGF zmTarfT*FYK??h#)4eNmEU!lS>+4Cly4-0Y$O)ThJeH`TF`SvgD2#aPm%-c>yLDtt&AHr(-T`izDG`QJ0miu;x2&dd*n0#8gFPuVt@p(eCdRF23gG z&P84$Vx?^Fc=ELDA!;Kk0*}*eGUQU4CWKe^ty-ML5sHtMt>Jki7WZ)W3B^BFsXq(w zExFNwYir;Y&&i&Tm-=1p4;|rH<6ZIdP;jkqmy-zpKM<{Yu2d@+OKk)LkfkYRYOOYB zxXl@43b_#X7Bc|=O4Jia diff --git a/db/migrate/002_create_users.rb b/db/migrate/002_create_users.rb new file mode 100644 index 0000000..fac8ba3 --- /dev/null +++ b/db/migrate/002_create_users.rb @@ -0,0 +1,20 @@ +class CreateUsers < ActiveRecord::Migration + def self.up + create_table "users", :force => true do |t| + t.column :login, :string + t.column :email, :string + t.column :crypted_password, :string, :limit => 40 + t.column :salt, :string, :limit => 40 + t.column :created_at, :datetime + t.column :updated_at, :datetime + t.column :remember_token, :string + t.column :remember_token_expires_at, :datetime + + + end + end + + def self.down + drop_table "users" + end +end diff --git a/db/schema.rb b/db/schema.rb index fb6801f..04a2eac 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -9,7 +9,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 1) do +ActiveRecord::Schema.define(:version => 2) do create_table "pastes", :force => true do |t| t.text "code" @@ -18,4 +18,15 @@ t.datetime "updated_at" end + create_table "users", :force => true do |t| + t.string "login" + t.string "email" + t.string "crypted_password", :limit => 40 + t.string "salt", :limit => 40 + t.datetime "created_at" + t.datetime "updated_at" + t.string "remember_token" + t.datetime "remember_token_expires_at" + end + end diff --git a/lib/authenticated_system.rb b/lib/authenticated_system.rb new file mode 100644 index 0000000..487c94a --- /dev/null +++ b/lib/authenticated_system.rb @@ -0,0 +1,115 @@ +module AuthenticatedSystem + protected + # Returns true or false if the user is logged in. + # Preloads @current_user with the user model if they're logged in. + def logged_in? + !!current_user + end + + # Accesses the current user from the session. + # Future calls avoid the database because nil is not equal to false. + def current_user + @current_user ||= (login_from_session || login_from_basic_auth || login_from_cookie) unless @current_user == false + end + + # Store the given user id in the session. + def current_user=(new_user) + session[:user_id] = new_user ? new_user.id : nil + @current_user = new_user || false + end + + # Check if the user is authorized + # + # Override this method in your controllers if you want to restrict access + # to only a few actions or if you want to check if the user + # has the correct rights. + # + # Example: + # + # # only allow nonbobs + # def authorized? + # current_user.login != "bob" + # end + def authorized? + logged_in? + end + + # Filter method to enforce a login requirement. + # + # To require logins for all actions, use this in your controllers: + # + # before_filter :login_required + # + # To require logins for specific actions, use this in your controllers: + # + # before_filter :login_required, :only => [ :edit, :update ] + # + # To skip this in a subclassed controller: + # + # skip_before_filter :login_required + # + def login_required + authorized? || access_denied + end + + # Redirect as appropriate when an access request fails. + # + # The default action is to redirect to the login screen. + # + # Override this method in your controllers if you want to have special + # behavior in case the user is not authorized + # to access the requested action. For example, a popup window might + # simply close itself. + def access_denied + respond_to do |format| + format.html do + store_location + redirect_to new_session_path + end + format.any do + request_http_basic_authentication 'Web Password' + end + end + end + + # Store the URI of the current request in the session. + # + # We can return to this location by calling #redirect_back_or_default. + def store_location + session[:return_to] = request.request_uri + end + + # Redirect to the URI stored by the most recent store_location call or + # to the passed default. + def redirect_back_or_default(default) + redirect_to(session[:return_to] || default) + session[:return_to] = nil + end + + # Inclusion hook to make #current_user and #logged_in? + # available as ActionView helper methods. + def self.included(base) + base.send :helper_method, :current_user, :logged_in? + end + + # Called from #current_user. First attempt to login by the user id stored in the session. + def login_from_session + self.current_user = User.find_by_id(session[:user_id]) if session[:user_id] + end + + # Called from #current_user. Now, attempt to login by basic authentication information. + def login_from_basic_auth + authenticate_with_http_basic do |username, password| + self.current_user = User.authenticate(username, password) + end + end + + # Called from #current_user. Finaly, attempt to login by an expiring token in the cookie. + def login_from_cookie + user = cookies[:auth_token] && User.find_by_remember_token(cookies[:auth_token]) + if user && user.remember_token? + cookies[:auth_token] = { :value => user.remember_token, :expires => user.remember_token_expires_at } + self.current_user = user + end + end +end diff --git a/lib/authenticated_test_helper.rb b/lib/authenticated_test_helper.rb new file mode 100644 index 0000000..780597d --- /dev/null +++ b/lib/authenticated_test_helper.rb @@ -0,0 +1,10 @@ +module AuthenticatedTestHelper + # Sets the current user in the session from the user fixtures. + def login_as(user) + @request.session[:user_id] = user ? users(user).id : nil + end + + def authorize_as(user) + @request.env["HTTP_AUTHORIZATION"] = user ? ActionController::HttpAuthentication::Basic.encode_credentials(users(user).login, 'test') : nil + end +end diff --git a/log/development.log b/log/development.log new file mode 100644 index 0000000..6c026b9 --- /dev/null +++ b/log/development.log @@ -0,0 +1,5331 @@ + SQL (0.016000) select sqlite_version(*) + SQL (0.000000) CREATE TABLE schema_info (version integer) + SQL (0.000000) INSERT INTO schema_info (version) VALUES(0) + SQL (0.000000) SQLite3::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer) + SQL (0.000000) SELECT version FROM schema_info +Migrating to CreatePasties (1) + SQL (0.000000) CREATE TABLE pasties ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" text DEFAULT NULL, "language" varchar(255) DEFAULT NULL, "created_at" datetime DEFAULT NULL, "updated_at" datetime DEFAULT NULL)  + SQL (0.000000) UPDATE schema_info SET version = 1 + SQL (0.000000) SELECT * FROM schema_info + SQL (0.000000)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000000) PRAGMA index_list(pasties) + + +Processing PastiesController#index (for 127.0.0.1 at 2008-04-20 15:28:38) [GET] + Session ID: be2e838b7641e24903a8715e8ef02e35 + Parameters: {"action"=>"index", "controller"=>"pasties"} + Pastie Load (0.000000) SELECT * FROM pasties  +Rendering template within layouts/pasties +Rendering pasties/index + + +ActionView::TemplateError (undefined local variable or method `new_pastie_path' for #) on line #22 of pasties/index.html.erb: +19: +20:
+21: +22: <%= link_to 'New pastie', new_pastie_path %> + + app/views/pasties/index.html.erb:22:in `_run_erb_47app47views47pasties47index46html46erb' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `compile_and_render_template' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:365:in `render_template' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:316:in `render_file' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1100:in `render_for_file' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:858:in `render_with_no_layout' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:872:in `render_with_no_layout' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/layout.rb:262:in `render_without_benchmark' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render' + D:/Entwicklung/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:131:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:131:in `custom' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:156:in `call' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:156:in `respond' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:150:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:150:in `respond' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:107:in `respond_to' + app/controllers/pasties_controller.rb:7:in `index' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `perform_action_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/rails.rb:76:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/rails.rb:74:in `synchronize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/rails.rb:74:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:159:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:128:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/command.rb:212:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:281 + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (internal_server_error) + + +Processing PastiesController#index (for 127.0.0.1 at 2008-04-20 15:29:09) [GET] + Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--181ee5bf4131cb537c43e3be10e11df314f75952 + Parameters: {"action"=>"index", "controller"=>"pasties"} + Pastie Load (0.000000) SELECT * FROM pasties  +Rendering template within layouts/pasties +Rendering pasties/index + + +ActionView::TemplateError (undefined local variable or method `new_pastie_path' for #) on line #22 of pasties/index.html.erb: +19: +20:
+21: +22: <%= link_to 'New pastie', new_pastie_path %> + + app/views/pasties/index.html.erb:22:in `_run_erb_47app47views47pasties47index46html46erb' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `compile_and_render_template' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:365:in `render_template' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:316:in `render_file' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1100:in `render_for_file' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:858:in `render_with_no_layout' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:872:in `render_with_no_layout' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/layout.rb:262:in `render_without_benchmark' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render' + D:/Entwicklung/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:131:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:131:in `custom' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:156:in `call' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:156:in `respond' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:150:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:150:in `respond' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:107:in `respond_to' + app/controllers/pasties_controller.rb:7:in `index' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `perform_action_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/rails.rb:76:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/rails.rb:74:in `synchronize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/rails.rb:74:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:159:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:128:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/command.rb:212:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:281 + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (internal_server_error) + + +Processing PastiesController#index (for 127.0.0.1 at 2008-04-20 15:32:47) [GET] + Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--181ee5bf4131cb537c43e3be10e11df314f75952 + Parameters: {"action"=>"index", "controller"=>"pasties"} + Pastie Load (0.000000) SELECT * FROM pasties  +Rendering template within layouts/pasties +Rendering pasties/index +Completed in 0.01500 (66 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/] + + +Processing PastiesController#new (for 127.0.0.1 at 2008-04-20 15:32:50) [GET] + Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--181ee5bf4131cb537c43e3be10e11df314f75952 + Parameters: {"action"=>"new", "controller"=>"pasties"} +Rendering template within layouts/pasties +Rendering pasties/new +Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pasties/new] + + +Processing PastiesController#create (for 127.0.0.1 at 2008-04-20 15:33:19) [POST] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"commit"=>"Create", "authenticity_token"=>"8e37b1d42e89d385af3757a6d39d90da8725dcfe", "action"=>"create", "controller"=>"pasties", "pastie"=>{"language"=>"haskell", "code"=>"ggT x y = if (mod x y) > 0\r\n then ggT y (mod x y)\r\n else y\r\n\r\nkgV x y = div (x * y) (ggT x y)"}} + Pastie Create (0.000000) INSERT INTO pasties ("updated_at", "code", "language", "created_at") VALUES('2008-04-20 15:33:19', 'ggT x y = if (mod x y) > 0 + then ggT y (mod x y) + else y + +kgV x y = div (x * y) (ggT x y)', 'haskell', '2008-04-20 15:33:19') + + +NoMethodError (undefined method `pastie_url' for #): + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/polymorphic_routes.rb:27:in `send!' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/polymorphic_routes.rb:27:in `polymorphic_url' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:618:in `url_for' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1060:in `redirect_to' + /app/controllers/pasties_controller.rb:48:in `create' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:131:in `call' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:131:in `custom' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:156:in `call' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:156:in `respond' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:150:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:150:in `respond' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:107:in `respond_to' + /app/controllers/pasties_controller.rb:45:in `create' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `perform_action_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:76:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `synchronize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:159:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:128:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/command.rb:212:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:281 + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (internal_server_error) + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 15:36:17) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7BjoLbm90aWNlIiVQYXN0aWUgd2FzIHN1Y2Nlc3NmdWxseSBjcmVhdGVk%0ALgY6CkB1c2VkewY7B1Q%3D--62d6fad0d3e2eb54ca5fbfd5edeefa16c45bc5ef + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SQLite3::SQLException: no such table: pastes: SELECT * FROM pastes  + + +ActiveRecord::StatementInvalid (SQLite3::SQLException: no such table: pastes: SELECT * FROM pastes ): + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract_adapter.rb:150:in `log' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite_adapter.rb:345:in `catch_schema_changes' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite_adapter.rb:256:in `select' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `select_all_without_query_cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:53:in `select_all' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:74:in `cache_sql' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:53:in `select_all' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:532:in `find_by_sql' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1233:in `find_every' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:503:in `find' + /app/controllers/pastes_controller.rb:5:in `index' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `perform_action_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:76:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `synchronize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:159:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:128:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/command.rb:212:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:281 + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (internal_server_error) + SQL (0.000000) select sqlite_version(*) + SQL (0.000000) SQLite3::SQLException: no such table: pasties: DROP TABLE pasties + SQL (0.015000) CREATE TABLE pasties ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" text DEFAULT NULL, "language" varchar(255) DEFAULT NULL, "created_at" datetime DEFAULT NULL, "updated_at" datetime DEFAULT NULL)  + SQL (0.000000) CREATE TABLE schema_info (version integer) + SQL (0.000000) INSERT INTO schema_info (version) VALUES(0) + SQL (0.000000) UPDATE schema_info SET version = 1 + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 15:36:41) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SQLite3::SQLException: no such table: pastes: SELECT * FROM pastes  + + +ActiveRecord::StatementInvalid (SQLite3::SQLException: no such table: pastes: SELECT * FROM pastes ): + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract_adapter.rb:150:in `log' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite_adapter.rb:345:in `catch_schema_changes' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite_adapter.rb:256:in `select' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `select_all_without_query_cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:53:in `select_all' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:74:in `cache_sql' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:53:in `select_all' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:532:in `find_by_sql' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1233:in `find_every' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:503:in `find' + /app/controllers/pastes_controller.rb:5:in `index' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `perform_action_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:76:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `synchronize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:159:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:128:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/command.rb:212:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:281 + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (internal_server_error) + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 15:36:44) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SQLite3::SQLException: no such table: pastes: SELECT * FROM pastes  + + +ActiveRecord::StatementInvalid (SQLite3::SQLException: no such table: pastes: SELECT * FROM pastes ): + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract_adapter.rb:150:in `log' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite_adapter.rb:345:in `catch_schema_changes' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite_adapter.rb:256:in `select' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `select_all_without_query_cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:53:in `select_all' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:74:in `cache_sql' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:53:in `select_all' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:532:in `find_by_sql' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1233:in `find_every' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:503:in `find' + /app/controllers/pastes_controller.rb:5:in `index' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `perform_action_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:76:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `synchronize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:159:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:128:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/command.rb:212:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:281 + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (internal_server_error) + SQL (0.000000) select sqlite_version(*) + SQL (0.000000) CREATE TABLE schema_info (version integer) + SQL (0.031000) INSERT INTO schema_info (version) VALUES(0) + SQL (0.000000) SQLite3::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer) + SQL (0.000000) SELECT version FROM schema_info +Migrating to CreatePastes (1) + SQL (0.000000) CREATE TABLE pastes ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" text DEFAULT NULL, "language" varchar(255) DEFAULT NULL, "created_at" datetime DEFAULT NULL, "updated_at" datetime DEFAULT NULL)  + SQL (0.000000) UPDATE schema_info SET version = 1 + SQL (0.000000) SELECT * FROM schema_info + SQL (0.000000)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000000) PRAGMA index_list(pastes) + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 15:38:12) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes] + + +Processing PastesController#new (for 127.0.0.1 at 2008-04-20 15:38:13) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"new", "controller"=>"pastes"} +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/new] + + +Processing PastesController#create (for 127.0.0.1 at 2008-04-20 15:38:25) [POST] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"commit"=>"Create", "paste"=>{"language"=>"haskell", "code"=>"ggT x y = if (mod x y) > 0\r\n then ggT y (mod x y)\r\n else y\r\n\r\nkgV x y = div (x * y) (ggT x y)"}, "authenticity_token"=>"8e37b1d42e89d385af3757a6d39d90da8725dcfe", "action"=>"create", "controller"=>"pastes"} + Paste Create (0.000000) INSERT INTO pastes ("updated_at", "code", "language", "created_at") VALUES('2008-04-20 15:38:25', 'ggT x y = if (mod x y) > 0 + then ggT y (mod x y) + else y + +kgV x y = div (x * y) (ggT x y)', 'haskell', '2008-04-20 15:38:25') +Redirected to http://localhost:3000/pastes/1 +Completed in 0.03100 (32 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/pastes] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 15:38:25) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7BjoLbm90aWNlIiRQYXN0ZSB3YXMgc3VjY2Vzc2Z1bGx5IGNyZWF0ZWQu%0ABjoKQHVzZWR7BjsHVA%3D%3D--2f5870af406a66c275eb5dcff630c8d884ca78c0 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.07800 (12 reqs/sec) | Rendering: 0.01500 (19%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 15:40:45) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show + + +ActionView::TemplateError (undefined method `c' for #) on line #7 of pastes/show.html.erb: +4:

+5:

+6: Code: +7: <%=c @paste.code, :syntax => @paste.language %> +8:

+9: +10: + + app/views/pastes/show.html.erb:7:in `_run_erb_47app47views47pastes47show46html46erb' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `compile_and_render_template' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:365:in `render_template' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:316:in `render_file' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1100:in `render_for_file' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:858:in `render_with_no_layout' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:872:in `render_with_no_layout' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/layout.rb:262:in `render_without_benchmark' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render' + D:/Entwicklung/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:131:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:131:in `custom' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:156:in `call' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:156:in `respond' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:150:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:150:in `respond' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:107:in `respond_to' + app/controllers/pastes_controller.rb:18:in `show' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `perform_action_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/rails.rb:76:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/rails.rb:74:in `synchronize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/rails.rb:74:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:159:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:128:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/command.rb:212:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:281 + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (internal_server_error) + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 15:44:36) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show + + +ActionView::TemplateError (undefined method `c' for #) on line #7 of pastes/show.html.erb: +4:

+5:

+6: Code: +7: <%=c @paste.code, :syntax => @paste.language %> +8:

+9: +10: + + app/views/pastes/show.html.erb:7:in `_run_erb_47app47views47pastes47show46html46erb' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `compile_and_render_template' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:365:in `render_template' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:316:in `render_file' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1100:in `render_for_file' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:858:in `render_with_no_layout' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:872:in `render_with_no_layout' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/layout.rb:262:in `render_without_benchmark' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render' + D:/Entwicklung/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:131:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:131:in `custom' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:156:in `call' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:156:in `respond' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:150:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:150:in `respond' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:107:in `respond_to' + app/controllers/pastes_controller.rb:18:in `show' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `perform_action_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/rails.rb:76:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/rails.rb:74:in `synchronize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/rails.rb:74:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:159:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:128:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/command.rb:212:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:281 + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (internal_server_error) + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 15:44:52) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 2.87500 (0 reqs/sec) | Rendering: 2.85900 (99%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 15:45:05) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.04600 (21 reqs/sec) | Rendering: 0.01500 (32%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes] + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 15:49:17) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.04700 (21 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 15:49:21) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 15:49:36) [GET] + Session ID: d45a768dfe83c86866377f6708374b5a + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 15:50:36) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 15:50:42) [GET] + Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--181ee5bf4131cb537c43e3be10e11df314f75952 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 15:50:44) [GET] + Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--181ee5bf4131cb537c43e3be10e11df314f75952 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 15:51:18) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.04700 (21 reqs/sec) | Rendering: 0.03100 (65%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 15:51:21) [GET] + Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--181ee5bf4131cb537c43e3be10e11df314f75952 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 15:51:58) [GET] + Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--181ee5bf4131cb537c43e3be10e11df314f75952 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 15:51:58) [GET] + Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--181ee5bf4131cb537c43e3be10e11df314f75952 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 15:52:18) [GET] + Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--181ee5bf4131cb537c43e3be10e11df314f75952 + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes] + + +Processing PastesController#edit (for 127.0.0.1 at 2008-04-20 15:52:24) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/edit +Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1/edit] + Paste Load (0.000000) SELECT * FROM pastes LIMIT 1 + Paste Load (0.000000) SELECT * FROM pastes LIMIT 1 + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 15:55:39) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes] + + +Processing PastesController#new (for 127.0.0.1 at 2008-04-20 15:55:44) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"new", "controller"=>"pastes"} +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.07800 (12 reqs/sec) | Rendering: 0.01500 (19%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/new] + + +Processing PastesController#create (for 127.0.0.1 at 2008-04-20 15:55:59) [POST] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"commit"=>"Create", "paste"=>{"language"=>"ruby", "code"=>"a = \"hello there\"\r\na[1] #=> 101\r\na[1,3] #=> \"ell\"\r\na[1..3] #=> \"ell\"\r\na[-3,2] #=> \"er\"\r\na[-4..-2] #=> \"her\"\r\na[12..-1] #=> nil\r\na[-2..-4] #=> \"\"\r\na[/[aeiou](.)\\1/] #=> \"ell\"\r\na[/[aeiou](.)\\1/, 0] #=> \"ell\"\r\na[/[aeiou](.)\\1/, 1] #=> \"l\"\r\na[/[aeiou](.)\\1/, 2] #=> nil\r\na[\"lo\"] #=> \"lo\"\r\na[\"bye\"] #=> nil"}, "authenticity_token"=>"8e37b1d42e89d385af3757a6d39d90da8725dcfe", "action"=>"create", "controller"=>"pastes"} + Paste Create (0.000000) INSERT INTO pastes ("updated_at", "code", "language", "created_at") VALUES('2008-04-20 15:55:59', 'a = "hello there" +a[1] #=> 101 +a[1,3] #=> "ell" +a[1..3] #=> "ell" +a[-3,2] #=> "er" +a[-4..-2] #=> "her" +a[12..-1] #=> nil +a[-2..-4] #=> "" +a[/[aeiou](.)\1/] #=> "ell" +a[/[aeiou](.)\1/, 0] #=> "ell" +a[/[aeiou](.)\1/, 1] #=> "l" +a[/[aeiou](.)\1/, 2] #=> nil +a["lo"] #=> "lo" +a["bye"] #=> nil', 'ruby', '2008-04-20 15:55:59') +Redirected to http://localhost:3000/pastes/2 +Completed in 0.10900 (9 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/pastes] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 15:55:59) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7BjoLbm90aWNlIiRQYXN0ZSB3YXMgc3VjY2Vzc2Z1bGx5IGNyZWF0ZWQu%0ABjoKQHVzZWR7BjsHVA%3D%3D--2f5870af406a66c275eb5dcff630c8d884ca78c0 + Parameters: {"action"=>"show", "id"=>"2", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 2)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.07900 (12 reqs/sec) | Rendering: 0.07900 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/2] + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 15:56:16) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 15:56:18) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:07:26) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:24:51) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.09400 (10 reqs/sec) | Rendering: 0.04700 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:24:56) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.06300 (15 reqs/sec) | Rendering: 0.01600 (25%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 16:24:59) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:25:01) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"2", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 2)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.09400 (10 reqs/sec) | Rendering: 0.07800 (82%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/2] + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 16:25:03) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:25:04) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:25:42) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:25:47) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"2", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 2)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.21900 (4 reqs/sec) | Rendering: 0.15600 (71%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/2] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:25:54) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:26:03) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 16:26:10) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:26:11) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"2", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 2)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.09400 (10 reqs/sec) | Rendering: 0.07800 (82%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/2] + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 16:26:14) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.01500 (66 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:26:15) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"2", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 2)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.21900 (4 reqs/sec) | Rendering: 0.15600 (71%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/2] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:27:11) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"2", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 2)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.06300 (15 reqs/sec) | Rendering: 0.06300 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/2] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:27:21) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:28:24) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:30:15) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:30:15) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 16:30:28) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlNTUyMTAyMzQ5MWNlYjQzNDIyZGQxOTA2MDVjOTQ5%0AYzEiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--b142bbf58d3d382ae14a84d48e88ce895707dd32 + Parameters: {"action"=>"show", "id"=>"2", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 2)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.17200 (5 reqs/sec) | Rendering: 0.17200 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/2] + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 17:39:40) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/] + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 17:39:47) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 1.18800 (0 reqs/sec) | Rendering: 1.17200 (98%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 17:39:52) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/] + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 17:40:35) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-04-20 17:40:36) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:76:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `synchronize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:159:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:128:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/command.rb:212:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:281 + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 17:40:40) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.016000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (100%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 17:41:52) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-04-20 17:41:52) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:76:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `synchronize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:159:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:128:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/command.rb:212:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:281 + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-04-20 17:41:55) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"new", "controller"=>"pastes"} +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/new] + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 17:42:16) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.015000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.01500 (66 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01500 (100%) | 200 OK [http://localhost/] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-04-20 17:42:17) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:76:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `synchronize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:159:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:128:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/command.rb:212:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:281 + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#show (for 127.0.0.1 at 2008-04-20 17:42:19) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.12500 (8 reqs/sec) | Rendering: 0.01600 (12%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#index (for 127.0.0.1 at 2008-04-20 17:42:39) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {"action"=>"index", "controller"=>"pastes"} + Paste Load (0.000000) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/pastes] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-04-20 17:42:39) [GET] + Session ID: BAh7BzoMY3NyZl9pZCIlMDg5MDMxY2Y3MWQ1Y2Q1Y2FiYzQzNGIxMDFlZTI0%0AMzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh%0Ac2h7AAY6CkB1c2VkewA%3D--2a7cdca4510e0d870ba8a703b4eb314d6051ed6b + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:76:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `synchronize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/../lib/mongrel/rails.rb:74:in `process' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:159:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:158:in `process_client' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:285:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `initialize' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `new' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel.rb:268:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:128:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/lib/mongrel/command.rb:212:in `run' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.4-x86-mswin32-60/bin/mongrel_rails:281 + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + D:/Entwicklung/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering D:/Entwicklung/ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 10:37:43) [GET] + Session ID: 25f17a320d7e9e8bb6efff466af9176b + Parameters: {"action"=>"index", "controller"=>"pastes"} + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 10:37:43) [GET] + Session ID: 25f17a320d7e9e8bb6efff466af9176b + Parameters: {"action"=>"index", "controller"=>"pastes"} + + +MissingSourceFile (no such file to load -- sqlite3): + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/kernel/requires.rb:7:in `require_library_or_gem' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/kernel/requires.rb:5:in `require_library_or_gem' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite3_adapter.rb:10:in `sqlite3_connection' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:291:in `send' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:291:in `connection=' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:259:in `retrieve_connection' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:78:in `connection' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (internal_server_error) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 10:41:21) [GET] + Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--181ee5bf4131cb537c43e3be10e11df314f75952 + Parameters: {"action"=>"index", "controller"=>"pastes"} + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 10:41:21) [GET] + Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--181ee5bf4131cb537c43e3be10e11df314f75952 + Parameters: {"action"=>"index", "controller"=>"pastes"} + + +MissingSourceFile (no such file to load -- sqlite3): + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/kernel/requires.rb:7:in `require_library_or_gem' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/kernel/requires.rb:5:in `require_library_or_gem' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite3_adapter.rb:10:in `sqlite3_connection' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:291:in `send' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:291:in `connection=' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:259:in `retrieve_connection' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:78:in `connection' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (internal_server_error) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--181ee5bf4131cb537c43e3be10e11df314f75952 + Parameters: {"action"=>"index", "controller"=>"pastes"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00094 (1066 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIgYvIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%0AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--7ab8aa4de15b36e028cc21f42429f5196a410366 + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00085 (1176 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00075 (1329 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00077 (1302 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00074 (1351 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00075 (1326 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00126 (794 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00077 (1303 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00075 (1329 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00075 (1324 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00088 (1140 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00076 (1317 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00093 (1072 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00077 (1300 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00076 (1315 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00074 (1349 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00076 (1319 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00074 (1356 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00081 (1237 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00077 (1290 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:21) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00089 (1119 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 10:42:27) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"index", "controller"=>"pastes"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00138 (726 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:27) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIgYvIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%0AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--7ab8aa4de15b36e028cc21f42429f5196a410366 + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00073 (1364 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:27) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00074 (1347 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:27) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00082 (1221 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:27) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00079 (1265 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:27) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00076 (1322 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:27) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00075 (1337 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:27) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00077 (1305 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:27) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00075 (1331 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:27) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00080 (1253 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:27) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00077 (1293 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:27) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00076 (1321 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:28) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00114 (880 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:28) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00074 (1346 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:28) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00079 (1261 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:28) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00081 (1231 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:28) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00080 (1256 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:28) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00075 (1328 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:28) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00074 (1351 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:28) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00074 (1347 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:28) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00074 (1345 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 10:42:29) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"index", "controller"=>"pastes"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00080 (1243 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:29) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIgYvIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%0AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--7ab8aa4de15b36e028cc21f42429f5196a410366 + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00077 (1298 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:29) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00077 (1303 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:29) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00080 (1251 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:29) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00075 (1336 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:29) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00073 (1366 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:29) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00082 (1226 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:29) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00078 (1277 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:29) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00075 (1333 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:29) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00074 (1347 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:29) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00074 (1351 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:29) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00075 (1337 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:29) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00079 (1262 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:30) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00080 (1256 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:30) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00075 (1331 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:30) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00074 (1351 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:30) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00074 (1356 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:30) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00075 (1336 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:30) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00079 (1269 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:30) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00077 (1305 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:42:30) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"new", "controller"=>"sessions"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00075 (1333 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/session/new] + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 10:43:55) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv%0AbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA%3D--cc747239396ca25acdbbcd4a3a47b93a6f9cd7ef + Parameters: {"action"=>"index", "controller"=>"pastes"} +Redirected to http://localhost:3000/session/new +Filter chain halted as [#] rendered_or_redirected. +Completed in 0.00086 (1164 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/] + + +Processing SessionsController#new (for 127.0.0.1 at 2008-05-02 10:43:55) [GET] + Session ID: BAh7BzoOcmV0dXJuX3RvIgYvIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%0AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--7ab8aa4de15b36e028cc21f42429f5196a410366 + Parameters: {"action"=>"new", "controller"=>"sessions"} +Rendering sessions/new +Completed in 0.00629 (158 reqs/sec) | Rendering: 0.00294 (46%) | DB: 0.00000 (0%) | 200 OK [http://localhost/session/new] + SQL (0.000464) select sqlite_version(*) + SQL (0.000000) SQLite3::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer) + SQL (0.000000) SQLite3::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer) + SQL (0.000310) SELECT version FROM schema_info + SQL (0.000246) SELECT version FROM schema_info +Migrating to CreateUsers (2) + SQL (0.000000) SQLite3::SQLException: no such table: users: DROP TABLE users + SQL (0.008594) CREATE TABLE users ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) DEFAULT NULL, "email" varchar(255) DEFAULT NULL, "crypted_password" varchar(40) DEFAULT NULL, "salt" varchar(40) DEFAULT NULL, "created_at" datetime DEFAULT NULL, "updated_at" datetime DEFAULT NULL, "remember_token" varchar(255) DEFAULT NULL, "remember_token_expires_at" datetime DEFAULT NULL)  + SQL (0.004476) UPDATE schema_info SET version = 2 + SQL (0.000334) SELECT * FROM schema_info + SQL (0.000430)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.000100) PRAGMA index_list(pastes) + SQL (0.000128) PRAGMA index_list(users) + User Load (0.000440) SELECT * FROM users WHERE (LOWER(users.login) = 'ballat') LIMIT 1 + User Load (0.000275) SELECT * FROM users WHERE (LOWER(users.email) = 'muuhhh@muhhh.muh') LIMIT 1 + User Create (0.000891) INSERT INTO users ("salt", "updated_at", "crypted_password", "remember_token_expires_at", "remember_token", "login", "created_at", "email") VALUES('3b11cc6aad1708b6132f8da1de2c9cbab77c2d7a', '2008-05-02 10:45:33', '1c79a26b5e949ac0ba4592ceab9c30c44e5954d4', NULL, NULL, 'ballat', '2008-05-02 10:45:33', 'muuhhh@muhhh.muh') + + +Processing SessionsController#create (for 127.0.0.1 at 2008-05-02 10:45:42) [POST] + Session ID: BAh7CDoOcmV0dXJuX3RvIgYvOgxjc3JmX2lkIiU3YjJlNTgxYTYxNmJhOWVm%0AMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6%0ARmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--06e9e26bfa1804a8fcf09570a5d27e986682e290 + Parameters: {"commit"=>"Log in", "authenticity_token"=>"f88cebb7e28db52fcaa4175bc4cbfb4c7e1c1800", "action"=>"create", "controller"=>"sessions", "password"=>"figur", "login"=>"ballat"} + User Load (0.000802) SELECT * FROM users WHERE (users."login" = 'ballat') LIMIT 1 +Redirected to http://localhost:3000/ +Completed in 0.02379 (42 reqs/sec) | DB: 0.00080 (3%) | 302 Found [http://localhost/session] + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 10:45:42) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiG0xvZ2dlZCBp%0AbiBzdWNjZXNzZnVsbHkGOgpAdXNlZHsGOwlU--63fe3f3793d2bf068cd2210e3f85a0167ab7f855 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000702) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.001473) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.06884 (14 reqs/sec) | Rendering: 0.01438 (20%) | DB: 0.00217 (3%) | 200 OK [http://localhost/] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 10:45:42) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#show (for 127.0.0.1 at 2008-05-02 10:45:51) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + User Load (0.000503) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000412) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show + + +ActionView::TemplateError (no such file to load -- uv) on line #9 of pastes/show.html.erb: +6:
+7:

+8: Code: +9: <%=c @paste.code, :syntax => @paste.language %> +10:

+11:
+12: + + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + vendor/plugins/radiograph/lib/radiograph.rb:3 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:203:in `load_file' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:202:in `load_file' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:94:in `require_or_load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:248:in `load_missing_constant' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:453:in `const_missing' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:465:in `const_missing' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:260:in `load_missing_constant' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:453:in `const_missing' + vendor/plugins/radiograph/lib/radiograph_helper.rb:31:in `c' + app/views/pastes/show.html.erb:9:in `_run_erb_47app47views47pastes47show46html46erb' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `send' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `compile_and_render_template' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:365:in `render_template' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:316:in `render_file' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1100:in `render_for_file' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:858:in `render_with_no_layout' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:872:in `render_with_no_layout' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/layout.rb:262:in `render_without_benchmark' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render' + /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:131:in `send' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:131:in `custom' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:156:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:156:in `respond' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:150:in `each' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:150:in `respond' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:107:in `respond_to' + app/controllers/pastes_controller.rb:18:in `show' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `send' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `perform_action_without_filters' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (internal_server_error) + + +Processing PastesController#show (for 127.0.0.1 at 2008-05-02 10:51:34) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + User Load (0.000598) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000541) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 1.15521 (0 reqs/sec) | Rendering: 1.13030 (97%) | DB: 0.00114 (0%) | 200 OK [http://localhost/pastes/1] + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 10:51:44) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000574) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000691) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.02989 (33 reqs/sec) | Rendering: 0.00842 (28%) | DB: 0.00127 (4%) | 200 OK [http://localhost/pastes] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 10:51:44) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#show (for 127.0.0.1 at 2008-05-02 10:55:46) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"show", "id"=>"2", "controller"=>"pastes"} + User Load (0.000522) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000445) SELECT * FROM pastes WHERE (pastes."id" = 2)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.09940 (10 reqs/sec) | Rendering: 0.07841 (78%) | DB: 0.00097 (0%) | 200 OK [http://localhost/pastes/2] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 10:55:46) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 10:55:59) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000566) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000691) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.02876 (34 reqs/sec) | Rendering: 0.00702 (24%) | DB: 0.00126 (4%) | 200 OK [http://localhost/pastes] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 10:55:59) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#show (for 127.0.0.1 at 2008-05-02 10:56:00) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + User Load (0.000533) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000432) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.03114 (32 reqs/sec) | Rendering: 0.00975 (31%) | DB: 0.00097 (3%) | 200 OK [http://localhost/pastes/1] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 10:56:00) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 10:56:13) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000511) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000625) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.02595 (38 reqs/sec) | Rendering: 0.00687 (26%) | DB: 0.00114 (4%) | 200 OK [http://localhost/pastes] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 10:56:13) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#show (for 127.0.0.1 at 2008-05-02 10:56:29) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + User Load (0.000559) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000454) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.03890 (25 reqs/sec) | Rendering: 0.01159 (29%) | DB: 0.00101 (2%) | 200 OK [http://localhost/pastes/1] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 10:56:29) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 10:56:40) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000527) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000629) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.02647 (37 reqs/sec) | Rendering: 0.00683 (25%) | DB: 0.00116 (4%) | 200 OK [http://localhost/pastes] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 10:56:40) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-05-02 10:57:37) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"new", "controller"=>"pastes"} + User Load (0.000565) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.03154 (31 reqs/sec) | Rendering: 0.00939 (29%) | DB: 0.00057 (1%) | 200 OK [http://localhost/pastes/new] + + +Processing PastesController#create (for 127.0.0.1 at 2008-05-02 10:57:46) [POST] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {"commit"=>"Create", "paste"=>{"language"=>"haskell", "code"=>"----------------------------------------------------------------------------------\r\n-- Aufgabe 4\r\n-- Aufgabe 4\r\n-- Aufgabe 4\r\n-------------------------------------------------------------------------------------\r\n\r\n\r\nmodule Main where\r\n\t\r\n-- append auf 2 Listen aus der VL\r\n\r\nappend:: [a] -> [a] -> [a]\r\nappend [] ys = ys\r\nappend (x:xs) ys = x : (append xs ys)\r\n\t\r\n\t\r\n-- rev Funktion zum umdrehen einer Liste\r\nrev:: [a] -> [a]\r\nrev [] = []\r\nrev(x : xs) = append (rev xs) [x] \r\n\r\n\r\n-- die rev Funktion baut eine Art \"Rattenschwanz\" auf der sich immer weiter fortsetzt. Danach wird dieser wieder abgebaut. Das Problem dabei\r\n-- ist, dass die append funktion immer wieder aufgerufen werden muss und auf Konstrukte der Form\r\n-- append([k,k-1,k-2,k-3] [k-4]). Um das zu reduzieren werden aber wieder n Schritte gebraucht, wobei n die Anzahl der Liste\r\n-- ist. Somit muss einmal erst der Rattenschwanz aufgeklappt werden mit rev, was immer n+1 Schritte sind. Dann wird reduziert und zwar so,\r\n-- das erst ein Schritt hinzukommt, dann 2, dann 3,... dann n. \r\n-- Das heisst die Laufzeit betraegt: n+1 plus die Summe von i=1 bis n von i.\r\n-- Das kann man auch umformen zu der Summe von i=1 bis n+1 von i. (Gesetze zu Summen)\r\n-- Das ist aber gerade ( (n + 1) * (n + 2) ) / 2 (Mathebuch Satz)\r\n-- Dies liegt in O(n**2) (n hoch 2)\r\n-- Somit ist unsere Laufzeit quadratisch !\r\n\r\n\r\n-- Betrachtung der Reduktionsschritte:\r\n\r\n-- rev[1,2,3,4,5,6,7,8,9]\r\n-- > append (rev[2,3,4,5,6,7,8,9]) [1]\r\n-- > append (append (rev[3,4,5,6,7,8,9]) [2]) [1]\r\n-- > append (append (append (rev[4,5,6,7,8,9]) [3]) [2]) [1]\r\n-- > ...\r\n-- > append (append (append (append (append (append (append (append (append (rev[]) [9]) [8]) [7]) [6]) [5]) [4]) [3]) [2]) [1]\r\n-- > ... bis hierhin n Schritte nun kommen die eigentlichen Reduktionsschritte mit append:\r\n-- > append (append (append (append (append (append (append (append (append [] [9]) [8]) [7]) [6]) [5]) [4]) [3]) [2]) [1] \r\n-- > 1 Schritt\r\n-- > append (append (append (append (append (append (append (append [9] [8]) [7]) [6]) [5]) [4]) [3]) [2]) [1]\r\n-- > append (append (append (append (append (append (append (9 : (append [] [8] ) [7]) [6]) [5]) [4]) [3]) [2]) [1]\r\n-- > 2 Schritte\r\n-- > append (append (append (append (append (append (append [9,8] [7]) [6]) [5]) [4]) [3]) [2]) [1]\r\n-- > append (append (append (append (append (append (9 : ( append [8] [7])) [6]) [5]) [4]) [3]) [2]) [1]\r\n-- > append (append (append (append (append (append (9 : (8 : ( append [] [7]))) [6]) [5]) [4]) [3]) [2]) [1]\r\n-- > 3 Schritte\r\n-- > append (append (append (append (append (append [9,8,7] [6]) [5]) [4]) [3]) [2]) [1]\r\n-- > ...\r\n-- > append [9,8,7,6,5,4,3,2][1]\r\n-- > n Schritte\r\n\r\n\r\n\r\n\r\n\r\n-- revakk Funktion zum umdrehen einer Liste mit Akkumulator\r\nrevakk:: [a] -> [a]\r\nrevakk xs = revakkh xs []\r\n\r\nrevakkh:: [a] -> [a] -> [a]\r\nrevakkh [] xs = xs\r\nrevakkh(x : xs) ys = revakkh xs (x : ys) \r\n\r\n\r\n-- Die revakk Funktion macht das Anhaengen nicht mehr mit append auf listen, was rekursiv zur mehrberechnung fuerhrte sondern arbeitet mit\r\n-- Cons (\":\"). Fuer jeden Iterationsschritt wird zu der anfaenlgich leeren Liste ein Element dazugepackt/ dazuge-\"Cons\"-t, was nur immer\r\n-- 1 Rechenschritt nach sich zieht. Wir muessen aber noch einmal den Aufruf der Hilsfunktion sowie den letzten Schritt dazuaddieren,\r\n-- sodass unsere Laufzeit n+2 ist, wobei n die anzahl Listenelemente ist.\r\n\r\n-- Betrachtung der Reduktionsschritte an einem Beispiel:\r\n\r\n-- revakk[1,2,3,4]\r\n-- > revakkh[1,2,3,4] []\r\n-- > 1 Schritt Aufruf Hilfsfunktion\r\n-- > revakkh[2,3,4] (1:[])\r\n-- > 1 Schritt\r\n-- > revakkh[3,4] (2:(1:[]))\r\n-- > 1 Schritt\r\n-- > revakkh[4] (3:(2:(1:[])))\r\n-- > 1 Schritt\r\n-- > revakkh[] (4:(3:(2:(1:[]))))\r\n-- > 1 Schritt\r\n-- > [4,3,2,1]\r\n-- > 1 Schritt Asugabe\r\n\r\n\r\n\r\n\r\n\r\n-- Mit Maybe bau ich mir nun eine Funktion, die einen ein Bool liefert,wenn spaeter meine Zahl in der Liste lag.\r\n-- Ich ahbe es so gemacht, dass die Maye Funktion den Wert -1 wiedergibt, wenn das Element nicht vorhanden ist,\r\n-- da dies z.B. in C und vielen anderen Prog.-Sprachen der Wert fuer eine Art Fehler/Falsche Eingabe ist.\r\nisdrin :: Maybe Int -> Int\r\nisdrin Nothing = -1\r\nisdrin (Just x) = x\r\n\r\n\r\n\r\n-- stelle-Funktion; nur auf mindestens einelementigen Listen definiert\r\n-- Ist das Element nicht vorhanden, so bekommt man (-1) als Ausgabe\r\nstelle:: Int -> [Int] -> Int\r\nstelle element xs = isdrin (stelleh element xs 1)\r\n\r\n\r\n-- Hilfsfunktion, die die eigentliche Arbeit macht Ich habe mich auf Ints beschraenkt, da ich staendig Konflikte mit der Aequivalenzabfrage\r\n-- hatte und mit (Eq a -> ...) oder so nicht zurechtkam.\r\nstelleh:: Int -> [Int] -> Int -> Maybe Int\r\nstelleh element [] count = Nothing\r\nstelleh element (x:xs) count = if (element == x)\r\n\t\t\t\t\t\tthen (Just count)\r\n\t\t\t\t\t\telse stelleh element xs (count + 1)\r\n\t\t\t\t\t\t\r\n\r\n\r\n-- Strings sind eine Liste von Chars sind, weshalb die Listenoperationen funktionieren. Deshalb laesst sich\r\n-- die Funktion auch verallgemeinern fuer alle auf Listen basierenden Typen.\r\n\r\n\r\n-- Funktion inconcat\r\ninconcat::[String] -> String -> String\r\ninconcat[] trennzeichen = []\r\ninconcat(x:[]) trennzeichen = x \r\ninconcat(x:y:xs) trennzeichen = (x ++ trennzeichen ++ y) ++ trennzeichen ++ (inconcat xs trennzeichen)\r\n\r\n\r\ninconcat2::[[a]] -> [a] -> [a]\r\ninconcat2[] trennzeichen = []\r\ninconcat2(x:[]) trennzeichen = x \r\ninconcat2(x:y:xs) trennzeichen = (x ++ trennzeichen ++ y) ++ trennzeichen ++ (inconcat2 xs trennzeichen)\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n-- Funktion conc\r\n-- Ich verstehe als Komplexprodukt A={\"aa\", \"b\"}, B={\"a\", \"c\"} => A°B={\"aaa\", \"aac\", \"ba\", \"bc\"} \r\n\r\n-- Die conc Funktion nimmt bei 2 listen von der 2ten liste das erste element und faengt an alle elemente der ersten Liste mit den Elementen der 2ten Liste\r\n-- zu konkatenieren (auf String basis. , bzw Charbasis). Dann faehrt sie fort mit der Rest liste und schahtelt immer so weiter bis alle Permutationen\r\n-- vorhanden sind. \r\n\r\nconc::[String] -> [String] -> [String]\r\nconc (x:[]) (element:[]) = [ x ++ element]\r\nconc (x:xs) (element:[]) = append [x ++ element] (conc xs (element:[])) \r\nconc (x:xs) (y:ys) = append (conc (x:xs) (y:[])) (conc (x:xs) ys) \r\n\r\n\r\n-- Funktion union\r\nunion::[String] -> [String] -> [String]\r\nunion l1 l2 = append l1 l2\r\n\r\n\r\n\r\n----------------------------------------------------------------------------------\r\n-- Aufgabe 5\r\n-- Aufgabe 5\r\n-- Aufgabe 5\r\n-----------------------------------------------------------------------------------\r\n\r\n-- Baeumchen\r\ndata Bonzai = Empty | Node Bonzai Int Bonzai deriving (Show)\r\n\r\n-- die Funktion sumTree\r\n-- Es ist eigentlich ganz einfach. wir summieren die Zahl, die in dem Knoten steht und rufen rekursiv die Summe nochmal fuer den rechten und linken Teilbaum auf\r\n-- Terminiert wird bei den Blaettern, die, sich dadurch auszeichnen, dass sie keine Unterbaeume mehr haben.\r\n\r\nsumTree:: Bonzai -> Int\r\nsumTree Empty = 0\r\nsumTree (Node Empty zahl Empty) = zahl\r\nsumTree (Node linkerteilbaum zahl rechterteilbaum) = (zahl + (sumTree linkerteilbaum) + (sumTree rechterteilbaum) )\r\n\r\n\r\n-- die Funktion sumTreeAkk mit dem Akkumulator der anfangs auf 0 ist\r\n-- Die Funktion mit laufendem akkumulator bringt nicht viel, wenn man die Laufzeit betrachtet, denn es aendert nichts daran, dass ich 2 Aufrufe von der Hilfsfunktion pro Iterationsschritt machen muss.\r\n-- So oder so muss rekursiv in den Baum abgestiegen werden und eine lange Summe gebildet werden.\r\n\r\nsumTreeAkk:: Bonzai -> Int\r\nsumTreeAkk baeumchen = sumtreeakk_helper baeumchen 0\r\n\r\nsumtreeakk_helper:: Bonzai -> Int-> Int\r\nsumtreeakk_helper Empty akku = 0\r\nsumtreeakk_helper (Node Empty n Empty) akku = n + akku\r\nsumtreeakk_helper (Node lbaum zahl rbaum) akku = (sumtreeakk_helper lbaum akku) + (sumtreeakk_helper rbaum (zahl+ akku))\r\n\r\n\r\n\r\n\r\n\r\n-- Die Funktion mirrorTree\r\nmirrorTree:: Bonzai -> Bonzai\r\nmirrorTree Empty = Empty\r\nmirrorTree (Node lefttree number righttree) = (Node (mirrorTree righttree) number (mirrorTree lefttree) )\r\n\r\n\r\n\r\n\r\n\r\n-- Die Funktion treeToList1\r\n\r\ntreetolist1:: Bonzai -> [Int] \r\ntreetolist1 Empty = []\r\ntreetolist1 baeumchen = treetolist_help1 baeumchen []\r\n\r\ntreetolist_help1:: Bonzai -> [Int]-> [Int] \r\ntreetolist_help1 Empty [] = []\r\ntreetolist_help1 (Node Empty number Empty) xs = [number]\r\ntreetolist_help1 (Node linkerteilbaum zahl rechterteilbaum) xs = append (zahl : (treetolist_help1 linkerteilbaum xs)) (treetolist_help1 rechterteilbaum xs)\r\n\r\n-- treetolist1 funktioniert so: Ich fange mit einer Hilfsfunktion an, die eine leere Liste mitfuehrt. Diese Hilfsfunktion steigt geht so vor:\r\n-- Fuer jede Iteration im Baum nach unten wird die Liste um die Knotennummer des linken Teilbaums erweitert. bis ich bei Blaettern ankomme, die auch nur\r\n-- an diese Liste angehaengt werden. Ueber dem ganzen laeuft aber eine append Funktion die an diese ganzen linken nodenumbers noch die Liste anhaengt der rechten\r\n-- Teilbaeume.\r\n\r\n-- Gucken wir uns einfach mal ein paar Reduktionen an:\r\n\r\n-- treetolist1 (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty)))\r\n-- > treetolist_help (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty))) []\r\n-- > append ( (8 : (treetolist_help Node (Node Empty 1 (Node Empty 112 Empty)) [])) (treetolist_help (Node Empty 9 (Node Empty 99 Empty))) [])\r\n-- > append ( (8 : (append (1: (treetolist_help Empty []) ) (treetolist_help (Node Empty 112 Empty)) []))) (treetolist_help (Node Empty 9 (Node Empty 99 Empty))) [])\r\n-- > append ( (8 : (append (1: []) (treetolist_help (Node Empty 112 Empty)) []))) (treetolist_help (Node Empty 9 (Node Empty 99 Empty))) [])\r\n-- > append ( (8 : (append (1: []) [112]) (treetolist_help (Node Empty 9 (Node Empty 99 Empty))) [])\r\n-- > append ( (8 : (append [1] [112]) (treetolist_help (Node Empty 9 (Node Empty 99 Empty))) [])\r\n-- > append ( (8 : (append [1,112]) (treetolist_help (Node Empty 9 (Node Empty 99 Empty))) [])\r\n-- > append ( (8 : (append [1,112]) (append (9 : (treetolist_help Empty []))(treetolist_help (Empty 99 Empty) []) ))) [])\r\n-- > append ( (8 : (append [1,112]) (append (9 : [] (treetolist_help (Empty 99 Empty) []) ))) [])\r\n-- > append ( (8 : (append [1,112]) (append [9] (treetolist_help (Empty 99 Empty) []) )))\r\n-- > append ( (8 : (append [1,112]) (append [9] [99]) ))\r\n-- > append ( (8 : (append [1,112]) [9,99] ))\r\n-- > append ( (8 : [1,112,9,99]))\r\n-- > append [8,1,112,9,99]\r\n\r\n\r\n\r\n-- Die Funktion treeToList2\r\n\r\ntreetolist2:: Bonzai -> [Int] \r\ntreetolist2 Empty = []\r\ntreetolist2 (Node faggottree zahl dikestree) = (treetolist2 faggottree) ++ [zahl] ++ (treetolist2 dikestree)\r\n\r\n-- treetToList2 aehnlich nur ohne leerer Liste die aufgebaut wird und ist leichter zu verstehen:\r\n-- Hat man einen Baum so ist der Ansatz pro Iteration: Och nehme die Nummer und packe sie in eine Liste und mache mit append tiefer im Baum weiter.\r\n-- Stoesst man auf EMpty bedeutet, dass das man an einem Blatt war und appended nur die leere Liste.\r\n\r\n-- Hierzu derselbe Baum mal :\r\n-- treetolist2 (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty)))\r\n-- >(treeToList2 (Node Empty 1 (Node Empty 112 Empty))) ++ [8] ++ (treeToList2 (Node Empty 9 (Node Empty 99 Empty)))\r\n-- >((treeToList2 Empty) ++ [1] ++ (treeToList2 (Node Empty 112 Empty))) ++ [8] ++ (treeToList2 (Node Empty 9 (Node Empty 99 Empty)))\r\n-- >([] ++ [1] ++ (treeToList2 (Node Empty 112 Empty))) ++ [8] ++ (treeToList2 (Node Empty 9 (Node Empty 99 Empty)))\r\n-- >([] ++ [1] ++ ((treeToList2 Empty) ++ [112] ++ (treeToList2 Empty))) ++ [8] ++ (treeToList2 (Node Empty 9 (Node Empty 99 Empty)))\r\n-- >([] ++ [1] ++ ([] ++ [112] ++ (treeToList2 Empty))) ++ [8] ++ (treeToList2 (Node Empty 9 (Node Empty 99 Empty)))\r\n-- >([] ++ [1] ++ ([] ++ [112] ++ [])) ++ [8] ++ (treeToList2 (Node Empty 9 (Node Empty 99 Empty)))\r\n-- >([] ++ [1] ++ ([] ++ [112] ++ [])) ++ [8] ++ ((treeToList2 Empty) ++ [9] ++ (treeToList2 (Node Empty 99 Empty)) )\r\n-- >([] ++ [1] ++ ([] ++ [112] ++ [])) ++ [8] ++ ([] ++ [9] ++ (treeToList2 (Node Empty 99 Empty)) )\r\n-- >([] ++ [1] ++ ([] ++ [112] ++ [])) ++ [8] ++ ([] ++ [9] ++ ((treeToList2 Empty) ++ [99] ++ (treeToList2 Empty)) )\r\n-- >([] ++ [1] ++ ([] ++ [112] ++ [])) ++ [8] ++ ([] ++ [9] ++ ([] ++ [99] ++ (treeToList2 Empty)) )\r\n-- >...\r\n-- > [1,112,8,9,99]\r\n\r\n\r\n\r\n\r\n\r\n----------------------------------------------------------------------------\r\n-- Aufgabe 6\r\n-- Aufgabe 6\r\n-- Aufgabe 6\r\n-----------------------------------------------------------------------------------\r\n\r\n\r\n\r\n-- polymorphes Baeumchen\r\n-- ich muss hier neue Namen waerheln, da wirs sonst mit den Konstruktoren der vorherigen Baum Datenstruktur in Konflikt kommen\r\n-- Also Achtung!!! hier heiss es nun Knoten und Leer!\r\n-- KV steht fuer Key Value, KVSearchTree ist dann der SearchTree der Keys und Values speichert\r\n\r\n\r\ndata KVSearchTree b = Leer | Knoten (KVSearchTree b) b (KVSearchTree b) deriving (Show)\r\ndata KV key value = KV Int value deriving (Show)\r\n\r\n\r\n\r\n-- \"Getter/Konstruktor\" \r\nmake_KV:: Int -> value -> (KV Int value)\r\nmake_KV key value = KV key value\r\n\r\nget_key:: (KV Int value) -> Int\r\nget_key (KV key value) = key\r\n\r\nget_value:: (KV Int value) -> value\r\nget_value (KV key value) = value\r\n\r\n\r\n\r\n-- die insert Funktion\r\n-- Die insert Funktion vergleicht ob der einzufuegende Schluessel gleich ist, dann wird einfach der Baum ueberschrieben. Sollte der Wert kleiner dem schluessel sein\r\n-- wird im linken Teilbaum weitergemacht, im anderen Falle im rechten.\r\n\r\ninsert::Int -> value -> KVSearchTree (KV Int value) -> KVSearchTree (KV Int value)\r\ninsert key value tree = inserthelp(make_KV key value) tree\r\n\t\r\ninserthelp:: (KV Int value) -> (KVSearchTree (KV Int value)) -> (KVSearchTree (KV Int value))\r\ninserthelp kv Leer = Knoten Leer kv Leer\r\ninserthelp kv (Knoten l b r) \r\n\t| ( (get_key kv) < (get_key b)) = Knoten (inserthelp kv l) b r\r\n\t| ( (get_key kv) == (get_key b)) = Knoten l kv r\r\n\t| otherwise = Knoten l b (inserthelp kv r)\r\n\r\n\r\n\r\n\r\n-- die lookupTree Funktion VORSICHT ! lookup ist schon vorreserviert von haskell; somit haben wir lookupTree gemacht.\r\n\r\nlookupTree:: Int -> KVSearchTree (KV Int value) -> value\r\nlookupTree key Leer = error \"nicht vorhanden\"\r\nlookupTree key (Knoten lbaum kvpair rbaum)\r\n\t| (key < (get_key kvpair)) = lookupTree key lbaum\r\n\t| (key > (get_key kvpair)) = lookupTree key rbaum\r\n\t| (key == (get_key kvpair)) = get_value kvpair\t\r\n\r\n\r\n\r\n\r\n-- listToSearchTree dabei wird so vorgegangen, dass das erste lement die Wurzel ist, weil es sonst zu kompliziert ist\r\n-- und ich nicht einen Sortieralgorithmus hier programmieren will, der mir erst die auf irgendeine Art Liste sortiert, sodass da erste element moeglichst\r\n-- clever gewaehlt ist\r\nlistToSearchTree::[(KV Int value)] -> (KVSearchTree (KV Int value))\r\nlistToSearchTree [] = error \"Leere Liste\"\r\nlistToSearchTree (x : xs) = ltsT xs (Knoten Leer x Leer)\r\n\r\nltsT::[(KV Int value)] -> (KVSearchTree (KV Int value)) -> (KVSearchTree (KV Int value))\r\nltsT [] baum = baum\r\nltsT (x:xs) baum = ltsT xs (insert (get_key x) (get_value x) baum)\r\n\r\n\r\n\r\n-- die delete Funktion, Bei der delete Funktion muss man darauf Achten, dass der neue Baum auch wieder stimmig ist\r\n-- Hierzu zuerst eine merge Funktion die 2 Baeume miteinander richtig zu einem neuen Binaerbaum verbinden. Vorraussetzung ist hierbei: keine doppelten Eintraege.\r\nmergeTrees:: (KVSearchTree (KV Int value)) -> (KVSearchTree (KV Int value)) -> (KVSearchTree (KV Int value))\r\nmergeTrees Leer Leer = Leer\r\nmergeTrees (Knoten lb a rb) Leer = Knoten lb a rb\r\nmergeTrees (Knoten lb a rb) (Knoten ltb b rtb)\r\n\t| ((get_key a) < (get_key b)) = (Knoten (mergeTrees (Knoten lb a rb) ltb ) b rtb)\r\n\t| otherwise = (Knoten ltb b (mergeTrees (Knoten lb a rb) rtb) )\r\n\t\r\n\t\r\n-- Hiermit nun die delete Funktion\t\r\ndelete:: Int -> (KVSearchTree (KV Int value)) -> (KVSearchTree (KV Int value))\r\ndelete number (Knoten lb a rb)\r\n\t| (number < (get_key a)) = Knoten (delete number lb) a rb\r\n\t| (number > (get_key a)) = Knoten lb a (delete number rb)\r\n\t| (number == (get_key a)) = mergeTrees lb rb\r\n\r\n\r\n\r\n-- searchTreeToList\r\nsearchTreeToList::(KVSearchTree (KV Int value)) -> [(KV Int value)]\r\nsearchTreeToList Leer = []\r\nsearchTreeToList (Knoten links b rechts) = ( (searchTreeToList links) ++ [b] ) ++ (searchTreeToList rechts)\r\n\t\r\n\t\r\n\r\n\r\n\r\n\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\r\n\r\n\r\n\r\n\r\n-- Die Mainfunktion enthaelt ein paar Testlaeufe\r\n\r\nmain =\r\n\tdo {\r\n\t\r\n-- \t\tAufgabe 4\r\n------------------------------------------------\r\n--\t\tprint ( rev [1,2,3,4,5] );\r\n--\t\tprint ( rev [1] );\t\t\r\n--\t\tprint ( rev [2,8,9,44,5] );\t\t\r\n\r\n--\t\tprint ( revakk [1,2,3,4,5] );\r\n--\t\tprint ( revakk [1] );\t\t\r\n--\t\tprint ( revakk [2,8,9,44,5] );\t\r\n\r\n--\t\tprint ( stelle 4 [1,2,3,4,5] );\r\n--\t\tprint ( stelle 1 [1] );\t\t\r\n--\t\tprint ( stelle 7 [2,8,9,44,5] );\t\t\r\n\r\n--\t\tprint ( inconcat [\"bla\",\"huh\",\"5\"] \"+++\" );\r\n--\t\tprint ( inconcat [\"bla\"] \"---\");\t\r\n--\t\tprint ( inconcat [\"bla\",\"huh\",\"5\"] \"11^%\" );\r\n\r\n\t\tprint ( inconcat2 [\"bla\",\"huh\",\"5\"] \"+++\" );\r\n\t\tprint ( inconcat2 [\"999\"] \"10\" );\t\r\n\t\tprint ( inconcat2 [\"bla\",\"huh\",\"5\"] \"11^%\" );\r\n\r\n\r\n--\t\tprint ( conc [\"bla\",\"huh\",\"5\"] [\"+++\",\"fdfd\"] );\r\n--\t\tprint ( conc [\"bla\"] [\"---\"]);\r\n--\t\tprint ( conc [\"bla\",\"huh\",\"5\"] [\"ab\", \"bb\"] );\r\n\r\n--\t\tprint ( union [\"bla\",\"huh\",\"5\"] [\"+++\",\"fdfd\"] );\r\n--\t\tprint ( union [\"bla\"] [\"---\"]);\t\r\n--\t\tprint ( union [\"bla\",\"huh\",\"5\"] [\"ab\",\"bb\"] );\t\r\n\t\t\t\r\n\t\t\t\r\n-- \t\tAufgabe 5\r\n------------------------------------------------\t\t\t\r\n\r\n--\t\tprint ( sumTree (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty))) );\r\n--\t\tprint ( sumTree Empty );\r\n--\t\tprint ( sumTree (Node Empty 8 (Node Empty 9 Empty)) );\r\n\t\t\t\r\n\r\n--\t\tprint ( sumTreeAkk (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty))) );\r\n--\t\tprint ( sumTreeAkk Empty );\r\n--\t\tprint ( sumTreeAkk (Node Empty 8 (Node Empty 9 Empty)) );\r\n\r\n--\t\tprint ( mirrorTree (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty))) );\r\n--\t\tprint ( mirrorTree Empty );\r\n--\t\tprint ( mirrorTree (Node Empty 8 (Node Empty 9 Empty)) );\r\n\r\n--\t\tprint ( treetolist1 (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty))) );\r\n--\t\tprint ( treetolist1 Empty );\r\n--\t\tprint ( treetolist1 (Node Empty 8 (Node Empty 9 Empty)) );\r\n\t\t\r\n--\t\tprint ( treetolist2 (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty))) );\r\n--\t\tprint ( treetolist2 Empty );\r\n--\t\tprint ( treetolist2 (Node Empty 8 (Node Empty 9 Empty)) );\t\r\n\r\n\t\t\r\n-- \t\tAufgabe 6\r\n------------------------------------------------\t\t\t\t\r\n\t\t\r\n--\t\tprint ( insert 15 \"hasenbraten\" Leer);\t\r\n--\t\tprint ( insert 15 \"kot\" (Knoten (Knoten Leer (KV 8 \"hallo\") Leer) (KV 10 \"du\") (Knoten Leer (KV 12 \"vogel\") Leer)) );\t\r\n--\t\tprint ( insert 11 \"kot\" (Knoten (Knoten Leer (KV 8 \"hallo\") Leer) (KV 10 \"du\") (Knoten Leer (KV 12 \"vogel\") Leer)) );\t\r\n\r\n--\t\tprint ( mergeTrees (Knoten Leer (KV 8 \"watanderes\") Leer) (Knoten (Knoten Leer (KV 9 \"hallo\") Leer) (KV 10 \"du\") (Knoten Leer (KV 12 \"vogel\") Leer)) );\t\t\r\n--\t\tprint ( mergeTrees (Knoten Leer (KV 13 \"watanderes\") Leer) (Knoten Leer (KV 10 \"du\") (Knoten Leer (KV 12 \"vogel\") Leer)) );\t\t\r\n--\t\tprint ( mergeTrees (Knoten Leer (KV 11 \"watanderes\") Leer) (Knoten (Knoten Leer (KV 9 \"hallo\") Leer) (KV 10 \"du\") (Knoten Leer (KV 12 \"vogel\") Leer)) );\r\n\r\n--\t\tprint ( delete 9 (Knoten Leer (KV 9 \"hallo\") Leer) );\t\t\r\n--\t\tprint ( delete 12 (Knoten Leer (KV 10 \"du\") (Knoten Leer (KV 12 \"vogel\") Leer)) );\t\t\r\n--\t\tprint ( delete 12 (Knoten (Knoten Leer (KV 9 \"hallo\") Leer) (KV 10 \"du\") (Knoten (Knoten Leer (KV 11 \"Parampam1!\") Leer) (KV 12 \"vogel\") (Knoten Leer (KV 13 \"UTZ!\") Leer))) );\r\n\t\t\t\t\r\n--\t\tprint ( lookupTree 8 (Knoten (Knoten Leer (KV 8 \"hallo\") Leer) (KV 10 \"du\") (Knoten Leer (KV 12 \"vogel\") Leer)) );\t\t\r\n--\t\tprint ( lookupTree 12 (Knoten (Knoten Leer (KV 8 \"hallo\") Leer) (KV 10 \"du\") (Knoten Leer (KV 12 \"vogel\") Leer)) );\t\r\n--\t\tprint ( lookupTree 7 (Knoten (Knoten Leer (KV 8 \"hallo\") Leer) (KV 10 \"du\") (Knoten Leer (KV 12 \"vogel\") Leer)) );\t\t\t\r\n\t\t\t\r\n--\t\tprint ( searchTreeToList (Knoten (Knoten Leer (KV 8 \"hallo\") Leer) (KV 10 \"du\") (Knoten Leer (KV 12 \"vogel\") Leer)) );\r\n--\t\tprint ( searchTreeToList (Knoten (Knoten (Knoten Leer (KV 4 \"hallo\") Leer ) (KV 8 \"hallo\") (Knoten Leer (KV 9 \"hallo\") Leer )) (KV 10 \"du\") (Knoten Leer (KV 12 \"vogel\") Leer)) );\r\n\r\n--\t\tprint ( listToSearchTree []); keine ahung warum der Glaskow haskell compiler hierbei streikt\r\n--\t\tprint ( listToSearchTree [(KV 5 \"moin\")] );\r\n--\t\tprint ( listToSearchTree [(KV 5 \"bla bla\"),(KV 6 \"mooin\"),(KV 10 \"dsad\"),(KV 4 \"dsad\"),(KV 45 \"jij\")] );\r\n\t\t\r\n\t\t\r\n\t}\r\n\r\n\r\n"}, "authenticity_token"=>"f88cebb7e28db52fcaa4175bc4cbfb4c7e1c1800", "action"=>"create", "controller"=>"pastes"} + User Load (0.000618) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Create (0.001045) INSERT INTO pastes ("updated_at", "code", "language", "created_at") VALUES('2008-05-02 10:57:46', '---------------------------------------------------------------------------------- +-- Aufgabe 4 +-- Aufgabe 4 +-- Aufgabe 4 +------------------------------------------------------------------------------------- + + +module Main where + +-- append auf 2 Listen aus der VL + +append:: [a] -> [a] -> [a] +append [] ys = ys +append (x:xs) ys = x : (append xs ys) + + +-- rev Funktion zum umdrehen einer Liste +rev:: [a] -> [a] +rev [] = [] +rev(x : xs) = append (rev xs) [x] + + +-- die rev Funktion baut eine Art "Rattenschwanz" auf der sich immer weiter fortsetzt. Danach wird dieser wieder abgebaut. Das Problem dabei +-- ist, dass die append funktion immer wieder aufgerufen werden muss und auf Konstrukte der Form +-- append([k,k-1,k-2,k-3] [k-4]). Um das zu reduzieren werden aber wieder n Schritte gebraucht, wobei n die Anzahl der Liste +-- ist. Somit muss einmal erst der Rattenschwanz aufgeklappt werden mit rev, was immer n+1 Schritte sind. Dann wird reduziert und zwar so, +-- das erst ein Schritt hinzukommt, dann 2, dann 3,... dann n. +-- Das heisst die Laufzeit betraegt: n+1 plus die Summe von i=1 bis n von i. +-- Das kann man auch umformen zu der Summe von i=1 bis n+1 von i. (Gesetze zu Summen) +-- Das ist aber gerade ( (n + 1) * (n + 2) ) / 2 (Mathebuch Satz) +-- Dies liegt in O(n**2) (n hoch 2) +-- Somit ist unsere Laufzeit quadratisch ! + + +-- Betrachtung der Reduktionsschritte: + +-- rev[1,2,3,4,5,6,7,8,9] +-- > append (rev[2,3,4,5,6,7,8,9]) [1] +-- > append (append (rev[3,4,5,6,7,8,9]) [2]) [1] +-- > append (append (append (rev[4,5,6,7,8,9]) [3]) [2]) [1] +-- > ... +-- > append (append (append (append (append (append (append (append (append (rev[]) [9]) [8]) [7]) [6]) [5]) [4]) [3]) [2]) [1] +-- > ... bis hierhin n Schritte nun kommen die eigentlichen Reduktionsschritte mit append: +-- > append (append (append (append (append (append (append (append (append [] [9]) [8]) [7]) [6]) [5]) [4]) [3]) [2]) [1] +-- > 1 Schritt +-- > append (append (append (append (append (append (append (append [9] [8]) [7]) [6]) [5]) [4]) [3]) [2]) [1] +-- > append (append (append (append (append (append (append (9 : (append [] [8] ) [7]) [6]) [5]) [4]) [3]) [2]) [1] +-- > 2 Schritte +-- > append (append (append (append (append (append (append [9,8] [7]) [6]) [5]) [4]) [3]) [2]) [1] +-- > append (append (append (append (append (append (9 : ( append [8] [7])) [6]) [5]) [4]) [3]) [2]) [1] +-- > append (append (append (append (append (append (9 : (8 : ( append [] [7]))) [6]) [5]) [4]) [3]) [2]) [1] +-- > 3 Schritte +-- > append (append (append (append (append (append [9,8,7] [6]) [5]) [4]) [3]) [2]) [1] +-- > ... +-- > append [9,8,7,6,5,4,3,2][1] +-- > n Schritte + + + + + +-- revakk Funktion zum umdrehen einer Liste mit Akkumulator +revakk:: [a] -> [a] +revakk xs = revakkh xs [] + +revakkh:: [a] -> [a] -> [a] +revakkh [] xs = xs +revakkh(x : xs) ys = revakkh xs (x : ys) + + +-- Die revakk Funktion macht das Anhaengen nicht mehr mit append auf listen, was rekursiv zur mehrberechnung fuerhrte sondern arbeitet mit +-- Cons (":"). Fuer jeden Iterationsschritt wird zu der anfaenlgich leeren Liste ein Element dazugepackt/ dazuge-"Cons"-t, was nur immer +-- 1 Rechenschritt nach sich zieht. Wir muessen aber noch einmal den Aufruf der Hilsfunktion sowie den letzten Schritt dazuaddieren, +-- sodass unsere Laufzeit n+2 ist, wobei n die anzahl Listenelemente ist. + +-- Betrachtung der Reduktionsschritte an einem Beispiel: + +-- revakk[1,2,3,4] +-- > revakkh[1,2,3,4] [] +-- > 1 Schritt Aufruf Hilfsfunktion +-- > revakkh[2,3,4] (1:[]) +-- > 1 Schritt +-- > revakkh[3,4] (2:(1:[])) +-- > 1 Schritt +-- > revakkh[4] (3:(2:(1:[]))) +-- > 1 Schritt +-- > revakkh[] (4:(3:(2:(1:[])))) +-- > 1 Schritt +-- > [4,3,2,1] +-- > 1 Schritt Asugabe + + + + + +-- Mit Maybe bau ich mir nun eine Funktion, die einen ein Bool liefert,wenn spaeter meine Zahl in der Liste lag. +-- Ich ahbe es so gemacht, dass die Maye Funktion den Wert -1 wiedergibt, wenn das Element nicht vorhanden ist, +-- da dies z.B. in C und vielen anderen Prog.-Sprachen der Wert fuer eine Art Fehler/Falsche Eingabe ist. +isdrin :: Maybe Int -> Int +isdrin Nothing = -1 +isdrin (Just x) = x + + + +-- stelle-Funktion; nur auf mindestens einelementigen Listen definiert +-- Ist das Element nicht vorhanden, so bekommt man (-1) als Ausgabe +stelle:: Int -> [Int] -> Int +stelle element xs = isdrin (stelleh element xs 1) + + +-- Hilfsfunktion, die die eigentliche Arbeit macht Ich habe mich auf Ints beschraenkt, da ich staendig Konflikte mit der Aequivalenzabfrage +-- hatte und mit (Eq a -> ...) oder so nicht zurechtkam. +stelleh:: Int -> [Int] -> Int -> Maybe Int +stelleh element [] count = Nothing +stelleh element (x:xs) count = if (element == x) + then (Just count) + else stelleh element xs (count + 1) + + + +-- Strings sind eine Liste von Chars sind, weshalb die Listenoperationen funktionieren. Deshalb laesst sich +-- die Funktion auch verallgemeinern fuer alle auf Listen basierenden Typen. + + +-- Funktion inconcat +inconcat::[String] -> String -> String +inconcat[] trennzeichen = [] +inconcat(x:[]) trennzeichen = x +inconcat(x:y:xs) trennzeichen = (x ++ trennzeichen ++ y) ++ trennzeichen ++ (inconcat xs trennzeichen) + + +inconcat2::[[a]] -> [a] -> [a] +inconcat2[] trennzeichen = [] +inconcat2(x:[]) trennzeichen = x +inconcat2(x:y:xs) trennzeichen = (x ++ trennzeichen ++ y) ++ trennzeichen ++ (inconcat2 xs trennzeichen) + + + + + + + +-- Funktion conc +-- Ich verstehe als Komplexprodukt A={"aa", "b"}, B={"a", "c"} => A°B={"aaa", "aac", "ba", "bc"} + +-- Die conc Funktion nimmt bei 2 listen von der 2ten liste das erste element und faengt an alle elemente der ersten Liste mit den Elementen der 2ten Liste +-- zu konkatenieren (auf String basis. , bzw Charbasis). Dann faehrt sie fort mit der Rest liste und schahtelt immer so weiter bis alle Permutationen +-- vorhanden sind. + +conc::[String] -> [String] -> [String] +conc (x:[]) (element:[]) = [ x ++ element] +conc (x:xs) (element:[]) = append [x ++ element] (conc xs (element:[])) +conc (x:xs) (y:ys) = append (conc (x:xs) (y:[])) (conc (x:xs) ys) + + +-- Funktion union +union::[String] -> [String] -> [String] +union l1 l2 = append l1 l2 + + + +---------------------------------------------------------------------------------- +-- Aufgabe 5 +-- Aufgabe 5 +-- Aufgabe 5 +----------------------------------------------------------------------------------- + +-- Baeumchen +data Bonzai = Empty | Node Bonzai Int Bonzai deriving (Show) + +-- die Funktion sumTree +-- Es ist eigentlich ganz einfach. wir summieren die Zahl, die in dem Knoten steht und rufen rekursiv die Summe nochmal fuer den rechten und linken Teilbaum auf +-- Terminiert wird bei den Blaettern, die, sich dadurch auszeichnen, dass sie keine Unterbaeume mehr haben. + +sumTree:: Bonzai -> Int +sumTree Empty = 0 +sumTree (Node Empty zahl Empty) = zahl +sumTree (Node linkerteilbaum zahl rechterteilbaum) = (zahl + (sumTree linkerteilbaum) + (sumTree rechterteilbaum) ) + + +-- die Funktion sumTreeAkk mit dem Akkumulator der anfangs auf 0 ist +-- Die Funktion mit laufendem akkumulator bringt nicht viel, wenn man die Laufzeit betrachtet, denn es aendert nichts daran, dass ich 2 Aufrufe von der Hilfsfunktion pro Iterationsschritt machen muss. +-- So oder so muss rekursiv in den Baum abgestiegen werden und eine lange Summe gebildet werden. + +sumTreeAkk:: Bonzai -> Int +sumTreeAkk baeumchen = sumtreeakk_helper baeumchen 0 + +sumtreeakk_helper:: Bonzai -> Int-> Int +sumtreeakk_helper Empty akku = 0 +sumtreeakk_helper (Node Empty n Empty) akku = n + akku +sumtreeakk_helper (Node lbaum zahl rbaum) akku = (sumtreeakk_helper lbaum akku) + (sumtreeakk_helper rbaum (zahl+ akku)) + + + + + +-- Die Funktion mirrorTree +mirrorTree:: Bonzai -> Bonzai +mirrorTree Empty = Empty +mirrorTree (Node lefttree number righttree) = (Node (mirrorTree righttree) number (mirrorTree lefttree) ) + + + + + +-- Die Funktion treeToList1 + +treetolist1:: Bonzai -> [Int] +treetolist1 Empty = [] +treetolist1 baeumchen = treetolist_help1 baeumchen [] + +treetolist_help1:: Bonzai -> [Int]-> [Int] +treetolist_help1 Empty [] = [] +treetolist_help1 (Node Empty number Empty) xs = [number] +treetolist_help1 (Node linkerteilbaum zahl rechterteilbaum) xs = append (zahl : (treetolist_help1 linkerteilbaum xs)) (treetolist_help1 rechterteilbaum xs) + +-- treetolist1 funktioniert so: Ich fange mit einer Hilfsfunktion an, die eine leere Liste mitfuehrt. Diese Hilfsfunktion steigt geht so vor: +-- Fuer jede Iteration im Baum nach unten wird die Liste um die Knotennummer des linken Teilbaums erweitert. bis ich bei Blaettern ankomme, die auch nur +-- an diese Liste angehaengt werden. Ueber dem ganzen laeuft aber eine append Funktion die an diese ganzen linken nodenumbers noch die Liste anhaengt der rechten +-- Teilbaeume. + +-- Gucken wir uns einfach mal ein paar Reduktionen an: + +-- treetolist1 (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty))) +-- > treetolist_help (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty))) [] +-- > append ( (8 : (treetolist_help Node (Node Empty 1 (Node Empty 112 Empty)) [])) (treetolist_help (Node Empty 9 (Node Empty 99 Empty))) []) +-- > append ( (8 : (append (1: (treetolist_help Empty []) ) (treetolist_help (Node Empty 112 Empty)) []))) (treetolist_help (Node Empty 9 (Node Empty 99 Empty))) []) +-- > append ( (8 : (append (1: []) (treetolist_help (Node Empty 112 Empty)) []))) (treetolist_help (Node Empty 9 (Node Empty 99 Empty))) []) +-- > append ( (8 : (append (1: []) [112]) (treetolist_help (Node Empty 9 (Node Empty 99 Empty))) []) +-- > append ( (8 : (append [1] [112]) (treetolist_help (Node Empty 9 (Node Empty 99 Empty))) []) +-- > append ( (8 : (append [1,112]) (treetolist_help (Node Empty 9 (Node Empty 99 Empty))) []) +-- > append ( (8 : (append [1,112]) (append (9 : (treetolist_help Empty []))(treetolist_help (Empty 99 Empty) []) ))) []) +-- > append ( (8 : (append [1,112]) (append (9 : [] (treetolist_help (Empty 99 Empty) []) ))) []) +-- > append ( (8 : (append [1,112]) (append [9] (treetolist_help (Empty 99 Empty) []) ))) +-- > append ( (8 : (append [1,112]) (append [9] [99]) )) +-- > append ( (8 : (append [1,112]) [9,99] )) +-- > append ( (8 : [1,112,9,99])) +-- > append [8,1,112,9,99] + + + +-- Die Funktion treeToList2 + +treetolist2:: Bonzai -> [Int] +treetolist2 Empty = [] +treetolist2 (Node faggottree zahl dikestree) = (treetolist2 faggottree) ++ [zahl] ++ (treetolist2 dikestree) + +-- treetToList2 aehnlich nur ohne leerer Liste die aufgebaut wird und ist leichter zu verstehen: +-- Hat man einen Baum so ist der Ansatz pro Iteration: Och nehme die Nummer und packe sie in eine Liste und mache mit append tiefer im Baum weiter. +-- Stoesst man auf EMpty bedeutet, dass das man an einem Blatt war und appended nur die leere Liste. + +-- Hierzu derselbe Baum mal : +-- treetolist2 (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty))) +-- >(treeToList2 (Node Empty 1 (Node Empty 112 Empty))) ++ [8] ++ (treeToList2 (Node Empty 9 (Node Empty 99 Empty))) +-- >((treeToList2 Empty) ++ [1] ++ (treeToList2 (Node Empty 112 Empty))) ++ [8] ++ (treeToList2 (Node Empty 9 (Node Empty 99 Empty))) +-- >([] ++ [1] ++ (treeToList2 (Node Empty 112 Empty))) ++ [8] ++ (treeToList2 (Node Empty 9 (Node Empty 99 Empty))) +-- >([] ++ [1] ++ ((treeToList2 Empty) ++ [112] ++ (treeToList2 Empty))) ++ [8] ++ (treeToList2 (Node Empty 9 (Node Empty 99 Empty))) +-- >([] ++ [1] ++ ([] ++ [112] ++ (treeToList2 Empty))) ++ [8] ++ (treeToList2 (Node Empty 9 (Node Empty 99 Empty))) +-- >([] ++ [1] ++ ([] ++ [112] ++ [])) ++ [8] ++ (treeToList2 (Node Empty 9 (Node Empty 99 Empty))) +-- >([] ++ [1] ++ ([] ++ [112] ++ [])) ++ [8] ++ ((treeToList2 Empty) ++ [9] ++ (treeToList2 (Node Empty 99 Empty)) ) +-- >([] ++ [1] ++ ([] ++ [112] ++ [])) ++ [8] ++ ([] ++ [9] ++ (treeToList2 (Node Empty 99 Empty)) ) +-- >([] ++ [1] ++ ([] ++ [112] ++ [])) ++ [8] ++ ([] ++ [9] ++ ((treeToList2 Empty) ++ [99] ++ (treeToList2 Empty)) ) +-- >([] ++ [1] ++ ([] ++ [112] ++ [])) ++ [8] ++ ([] ++ [9] ++ ([] ++ [99] ++ (treeToList2 Empty)) ) +-- >... +-- > [1,112,8,9,99] + + + + + +---------------------------------------------------------------------------- +-- Aufgabe 6 +-- Aufgabe 6 +-- Aufgabe 6 +----------------------------------------------------------------------------------- + + + +-- polymorphes Baeumchen +-- ich muss hier neue Namen waerheln, da wirs sonst mit den Konstruktoren der vorherigen Baum Datenstruktur in Konflikt kommen +-- Also Achtung!!! hier heiss es nun Knoten und Leer! +-- KV steht fuer Key Value, KVSearchTree ist dann der SearchTree der Keys und Values speichert + + +data KVSearchTree b = Leer | Knoten (KVSearchTree b) b (KVSearchTree b) deriving (Show) +data KV key value = KV Int value deriving (Show) + + + +-- "Getter/Konstruktor" +make_KV:: Int -> value -> (KV Int value) +make_KV key value = KV key value + +get_key:: (KV Int value) -> Int +get_key (KV key value) = key + +get_value:: (KV Int value) -> value +get_value (KV key value) = value + + + +-- die insert Funktion +-- Die insert Funktion vergleicht ob der einzufuegende Schluessel gleich ist, dann wird einfach der Baum ueberschrieben. Sollte der Wert kleiner dem schluessel sein +-- wird im linken Teilbaum weitergemacht, im anderen Falle im rechten. + +insert::Int -> value -> KVSearchTree (KV Int value) -> KVSearchTree (KV Int value) +insert key value tree = inserthelp(make_KV key value) tree + +inserthelp:: (KV Int value) -> (KVSearchTree (KV Int value)) -> (KVSearchTree (KV Int value)) +inserthelp kv Leer = Knoten Leer kv Leer +inserthelp kv (Knoten l b r) + | ( (get_key kv) < (get_key b)) = Knoten (inserthelp kv l) b r + | ( (get_key kv) == (get_key b)) = Knoten l kv r + | otherwise = Knoten l b (inserthelp kv r) + + + + +-- die lookupTree Funktion VORSICHT ! lookup ist schon vorreserviert von haskell; somit haben wir lookupTree gemacht. + +lookupTree:: Int -> KVSearchTree (KV Int value) -> value +lookupTree key Leer = error "nicht vorhanden" +lookupTree key (Knoten lbaum kvpair rbaum) + | (key < (get_key kvpair)) = lookupTree key lbaum + | (key > (get_key kvpair)) = lookupTree key rbaum + | (key == (get_key kvpair)) = get_value kvpair + + + + +-- listToSearchTree dabei wird so vorgegangen, dass das erste lement die Wurzel ist, weil es sonst zu kompliziert ist +-- und ich nicht einen Sortieralgorithmus hier programmieren will, der mir erst die auf irgendeine Art Liste sortiert, sodass da erste element moeglichst +-- clever gewaehlt ist +listToSearchTree::[(KV Int value)] -> (KVSearchTree (KV Int value)) +listToSearchTree [] = error "Leere Liste" +listToSearchTree (x : xs) = ltsT xs (Knoten Leer x Leer) + +ltsT::[(KV Int value)] -> (KVSearchTree (KV Int value)) -> (KVSearchTree (KV Int value)) +ltsT [] baum = baum +ltsT (x:xs) baum = ltsT xs (insert (get_key x) (get_value x) baum) + + + +-- die delete Funktion, Bei der delete Funktion muss man darauf Achten, dass der neue Baum auch wieder stimmig ist +-- Hierzu zuerst eine merge Funktion die 2 Baeume miteinander richtig zu einem neuen Binaerbaum verbinden. Vorraussetzung ist hierbei: keine doppelten Eintraege. +mergeTrees:: (KVSearchTree (KV Int value)) -> (KVSearchTree (KV Int value)) -> (KVSearchTree (KV Int value)) +mergeTrees Leer Leer = Leer +mergeTrees (Knoten lb a rb) Leer = Knoten lb a rb +mergeTrees (Knoten lb a rb) (Knoten ltb b rtb) + | ((get_key a) < (get_key b)) = (Knoten (mergeTrees (Knoten lb a rb) ltb ) b rtb) + | otherwise = (Knoten ltb b (mergeTrees (Knoten lb a rb) rtb) ) + + +-- Hiermit nun die delete Funktion +delete:: Int -> (KVSearchTree (KV Int value)) -> (KVSearchTree (KV Int value)) +delete number (Knoten lb a rb) + | (number < (get_key a)) = Knoten (delete number lb) a rb + | (number > (get_key a)) = Knoten lb a (delete number rb) + | (number == (get_key a)) = mergeTrees lb rb + + + +-- searchTreeToList +searchTreeToList::(KVSearchTree (KV Int value)) -> [(KV Int value)] +searchTreeToList Leer = [] +searchTreeToList (Knoten links b rechts) = ( (searchTreeToList links) ++ [b] ) ++ (searchTreeToList rechts) + + + + + + + + + + + + + +-- Die Mainfunktion enthaelt ein paar Testlaeufe + +main = + do { + +-- Aufgabe 4 +------------------------------------------------ +-- print ( rev [1,2,3,4,5] ); +-- print ( rev [1] ); +-- print ( rev [2,8,9,44,5] ); + +-- print ( revakk [1,2,3,4,5] ); +-- print ( revakk [1] ); +-- print ( revakk [2,8,9,44,5] ); + +-- print ( stelle 4 [1,2,3,4,5] ); +-- print ( stelle 1 [1] ); +-- print ( stelle 7 [2,8,9,44,5] ); + +-- print ( inconcat ["bla","huh","5"] "+++" ); +-- print ( inconcat ["bla"] "---"); +-- print ( inconcat ["bla","huh","5"] "11^%" ); + + print ( inconcat2 ["bla","huh","5"] "+++" ); + print ( inconcat2 ["999"] "10" ); + print ( inconcat2 ["bla","huh","5"] "11^%" ); + + +-- print ( conc ["bla","huh","5"] ["+++","fdfd"] ); +-- print ( conc ["bla"] ["---"]); +-- print ( conc ["bla","huh","5"] ["ab", "bb"] ); + +-- print ( union ["bla","huh","5"] ["+++","fdfd"] ); +-- print ( union ["bla"] ["---"]); +-- print ( union ["bla","huh","5"] ["ab","bb"] ); + + +-- Aufgabe 5 +------------------------------------------------ + +-- print ( sumTree (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty))) ); +-- print ( sumTree Empty ); +-- print ( sumTree (Node Empty 8 (Node Empty 9 Empty)) ); + + +-- print ( sumTreeAkk (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty))) ); +-- print ( sumTreeAkk Empty ); +-- print ( sumTreeAkk (Node Empty 8 (Node Empty 9 Empty)) ); + +-- print ( mirrorTree (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty))) ); +-- print ( mirrorTree Empty ); +-- print ( mirrorTree (Node Empty 8 (Node Empty 9 Empty)) ); + +-- print ( treetolist1 (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty))) ); +-- print ( treetolist1 Empty ); +-- print ( treetolist1 (Node Empty 8 (Node Empty 9 Empty)) ); + +-- print ( treetolist2 (Node (Node Empty 1 (Node Empty 112 Empty)) 8 (Node Empty 9 (Node Empty 99 Empty))) ); +-- print ( treetolist2 Empty ); +-- print ( treetolist2 (Node Empty 8 (Node Empty 9 Empty)) ); + + +-- Aufgabe 6 +------------------------------------------------ + +-- print ( insert 15 "hasenbraten" Leer); +-- print ( insert 15 "kot" (Knoten (Knoten Leer (KV 8 "hallo") Leer) (KV 10 "du") (Knoten Leer (KV 12 "vogel") Leer)) ); +-- print ( insert 11 "kot" (Knoten (Knoten Leer (KV 8 "hallo") Leer) (KV 10 "du") (Knoten Leer (KV 12 "vogel") Leer)) ); + +-- print ( mergeTrees (Knoten Leer (KV 8 "watanderes") Leer) (Knoten (Knoten Leer (KV 9 "hallo") Leer) (KV 10 "du") (Knoten Leer (KV 12 "vogel") Leer)) ); +-- print ( mergeTrees (Knoten Leer (KV 13 "watanderes") Leer) (Knoten Leer (KV 10 "du") (Knoten Leer (KV 12 "vogel") Leer)) ); +-- print ( mergeTrees (Knoten Leer (KV 11 "watanderes") Leer) (Knoten (Knoten Leer (KV 9 "hallo") Leer) (KV 10 "du") (Knoten Leer (KV 12 "vogel") Leer)) ); + +-- print ( delete 9 (Knoten Leer (KV 9 "hallo") Leer) ); +-- print ( delete 12 (Knoten Leer (KV 10 "du") (Knoten Leer (KV 12 "vogel") Leer)) ); +-- print ( delete 12 (Knoten (Knoten Leer (KV 9 "hallo") Leer) (KV 10 "du") (Knoten (Knoten Leer (KV 11 "Parampam1!") Leer) (KV 12 "vogel") (Knoten Leer (KV 13 "UTZ!") Leer))) ); + +-- print ( lookupTree 8 (Knoten (Knoten Leer (KV 8 "hallo") Leer) (KV 10 "du") (Knoten Leer (KV 12 "vogel") Leer)) ); +-- print ( lookupTree 12 (Knoten (Knoten Leer (KV 8 "hallo") Leer) (KV 10 "du") (Knoten Leer (KV 12 "vogel") Leer)) ); +-- print ( lookupTree 7 (Knoten (Knoten Leer (KV 8 "hallo") Leer) (KV 10 "du") (Knoten Leer (KV 12 "vogel") Leer)) ); + +-- print ( searchTreeToList (Knoten (Knoten Leer (KV 8 "hallo") Leer) (KV 10 "du") (Knoten Leer (KV 12 "vogel") Leer)) ); +-- print ( searchTreeToList (Knoten (Knoten (Knoten Leer (KV 4 "hallo") Leer ) (KV 8 "hallo") (Knoten Leer (KV 9 "hallo") Leer )) (KV 10 "du") (Knoten Leer (KV 12 "vogel") Leer)) ); + +-- print ( listToSearchTree []); keine ahung warum der Glaskow haskell compiler hierbei streikt +-- print ( listToSearchTree [(KV 5 "moin")] ); +-- print ( listToSearchTree [(KV 5 "bla bla"),(KV 6 "mooin"),(KV 10 "dsad"),(KV 4 "dsad"),(KV 45 "jij")] ); + + + } + + +', 'haskell', '2008-05-02 10:57:46') +Redirected to http://localhost:3000/pastes/3 +Completed in 0.03614 (27 reqs/sec) | DB: 0.00166 (4%) | 302 Found [http://localhost/pastes] + + +Processing PastesController#show (for 127.0.0.1 at 2008-05-02 10:57:46) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiJFBhc3RlIHdh%0AcyBzdWNjZXNzZnVsbHkgY3JlYXRlZC4GOgpAdXNlZHsGOwlU--c0c0f0bc2cb6e8bb98afeebd314d8a03d381cbfa + Parameters: {"action"=>"show", "id"=>"3", "controller"=>"pastes"} + User Load (0.000527) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000653) SELECT * FROM pastes WHERE (pastes."id" = 3)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.33387 (2 reqs/sec) | Rendering: 0.31234 (93%) | DB: 0.00118 (0%) | 200 OK [http://localhost/pastes/3] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 10:57:46) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 11:02:31) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000643) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.001007) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.02971 (33 reqs/sec) | Rendering: 0.00748 (25%) | DB: 0.00165 (5%) | 200 OK [http://localhost/pastes/] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:02:31) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 11:03:48) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000502) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000927) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.12365 (8 reqs/sec) | Rendering: 0.10370 (83%) | DB: 0.00143 (1%) | 200 OK [http://localhost/pastes/] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:03:49) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 11:04:18) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000557) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000958) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.03062 (32 reqs/sec) | Rendering: 0.00881 (28%) | DB: 0.00151 (4%) | 200 OK [http://localhost/pastes/] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:04:19) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 11:04:39) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000583) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.001004) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.12504 (7 reqs/sec) | Rendering: 0.00916 (7%) | DB: 0.00159 (1%) | 200 OK [http://localhost/pastes/] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:04:40) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 11:06:28) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000549) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000958) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.03130 (31 reqs/sec) | Rendering: 0.00937 (29%) | DB: 0.00151 (4%) | 200 OK [http://localhost/pastes/] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:06:28) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 11:07:42) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000571) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000975) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Completed in 0.03163 (31 reqs/sec) | Rendering: 0.00937 (29%) | DB: 0.00155 (4%) | 200 OK [http://localhost/pastes/] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:07:43) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 11:09:48) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000582) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000986) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index + + +ActionView::TemplateError (undefined local variable or method `paste' for #) on line #3 of pastes/_code.html.erb: +1: +2: +3: <%=h paste.code[0, 25] %> +4: <%=h paste.language %> +5: <%= link_to 'Show', paste %> +6: <%= link_to 'Edit', edit_paste_path(paste) %> + + app/views/pastes/_code.html.erb:3:in `_run_erb_47app47views47pastes47_code46html46erb' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `send' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `compile_and_render_template' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:365:in `render_template' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:316:in `render_file' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:331:in `render' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/partials.rb:117:in `render_partial' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:26:in `benchmark' + /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' + /usr/lib/ruby/1.8/benchmark.rb:307:in `realtime' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:26:in `benchmark' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/partials.rb:116:in `render_partial' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/partials.rb:143:in `render_partial_collection' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:602:in `each_with_index' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/partials.rb:141:in `each' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/partials.rb:141:in `each_with_index' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/partials.rb:141:in `render_partial_collection' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:350:in `render' + app/views/pastes/index.html.erb:15:in `_run_erb_47app47views47pastes47index46html46erb' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `send' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in `compile_and_render_template' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:365:in `render_template' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:316:in `render_file' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1100:in `render_for_file' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:858:in `render_with_no_layout' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:872:in `render_with_no_layout' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/layout.rb:262:in `render_without_benchmark' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render' + /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:51:in `render' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:131:in `send' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:131:in `custom' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:156:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:156:in `respond' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:150:in `each' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:150:in `respond' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:107:in `respond_to' + app/controllers/pastes_controller.rb:7:in `index' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `send' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `perform_action_without_filters' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (internal_server_error) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 11:10:10) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000525) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000977) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Rendered pastes/_paste (0.00467) +Rendered pastes/_paste (0.00066) +Rendered pastes/_paste (0.00069) +Completed in 0.14483 (6 reqs/sec) | Rendering: 0.01215 (8%) | DB: 0.00150 (1%) | 200 OK [http://localhost/pastes/] + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 11:10:17) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000569) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000962) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Rendered pastes/_paste (0.00342) +Rendered pastes/_paste (0.00065) +Rendered pastes/_paste (0.00056) +Completed in 0.03262 (30 reqs/sec) | Rendering: 0.01033 (31%) | DB: 0.00153 (4%) | 200 OK [http://localhost/pastes/] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:10:17) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-05-02 11:11:50) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"new", "controller"=>"pastes"} + User Load (0.000514) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.02767 (36 reqs/sec) | Rendering: 0.00780 (28%) | DB: 0.00051 (1%) | 200 OK [http://localhost/pastes/new] + + +Processing PastesController#show (for 127.0.0.1 at 2008-05-02 11:11:57) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {"action"=>"show", "id"=>"3", "controller"=>"pastes"} + User Load (0.000573) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000603) SELECT * FROM pastes WHERE (pastes."id" = 3)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.24951 (4 reqs/sec) | Rendering: 0.22623 (90%) | DB: 0.00118 (0%) | 200 OK [http://localhost/pastes/3] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:11:57) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-05-02 11:12:24) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {"action"=>"new", "controller"=>"pastes"} + User Load (0.000506) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.02820 (35 reqs/sec) | Rendering: 0.00781 (27%) | DB: 0.00051 (1%) | 200 OK [http://localhost/pastes/new] + + +Processing PastesController#show (for 127.0.0.1 at 2008-05-02 11:18:09) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"show", "id"=>"1", "controller"=>"pastes"} + User Load (0.000579) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000473) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.03487 (28 reqs/sec) | Rendering: 0.01175 (33%) | DB: 0.00105 (3%) | 200 OK [http://localhost/pastes/1] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:18:09) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 11:23:30) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000529) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000932) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Rendered pastes/_paste (0.00341) +Rendered pastes/_paste (0.00063) +Rendered pastes/_paste (0.00055) +Completed in 0.04411 (22 reqs/sec) | Rendering: 0.00883 (20%) | DB: 0.00146 (3%) | 200 OK [http://localhost/pastes] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:23:30) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-05-02 11:23:32) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"new", "controller"=>"pastes"} + User Load (0.000508) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.11421 (8 reqs/sec) | Rendering: 0.09434 (82%) | DB: 0.00051 (0%) | 200 OK [http://localhost/pastes/new] + + +Processing PastesController#create (for 127.0.0.1 at 2008-05-02 11:23:33) [POST] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {"commit"=>"Create", "paste"=>{"language"=>"actionscript", "code"=>""}, "authenticity_token"=>"f88cebb7e28db52fcaa4175bc4cbfb4c7e1c1800", "action"=>"create", "controller"=>"pastes"} + User Load (0.000575) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.03146 (31 reqs/sec) | Rendering: 0.00736 (23%) | DB: 0.00058 (1%) | 200 OK [http://localhost/pastes] + + +Processing PastesController#create (for 127.0.0.1 at 2008-05-02 11:25:06) [POST] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"commit"=>"Create", "paste"=>{"language"=>"actionscript", "code"=>""}, "authenticity_token"=>"f88cebb7e28db52fcaa4175bc4cbfb4c7e1c1800", "action"=>"create", "controller"=>"pastes"} + User Load (0.000653) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.04610 (21 reqs/sec) | Rendering: 0.00917 (19%) | DB: 0.00065 (1%) | 200 OK [http://localhost/pastes] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:25:06) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#create (for 127.0.0.1 at 2008-05-02 11:27:11) [POST] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"commit"=>"Create", "paste"=>{"language"=>"actionscript", "code"=>""}, "authenticity_token"=>"f88cebb7e28db52fcaa4175bc4cbfb4c7e1c1800", "action"=>"create", "controller"=>"pastes"} + User Load (0.000668) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.14032 (7 reqs/sec) | Rendering: 0.00957 (6%) | DB: 0.00067 (0%) | 200 OK [http://localhost/pastes] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:27:12) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-05-02 11:27:46) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"new", "controller"=>"pastes"} + User Load (0.000627) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.03500 (28 reqs/sec) | Rendering: 0.01200 (34%) | DB: 0.00063 (1%) | 200 OK [http://localhost/pastes/new] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:27:46) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#create (for 127.0.0.1 at 2008-05-02 11:27:48) [POST] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"commit"=>"Create", "paste"=>{"language"=>"", "code"=>""}, "authenticity_token"=>"f88cebb7e28db52fcaa4175bc4cbfb4c7e1c1800", "action"=>"create", "controller"=>"pastes"} + User Load (0.000818) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.12928 (7 reqs/sec) | Rendering: 0.01476 (11%) | DB: 0.00082 (0%) | 200 OK [http://localhost/pastes] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:27:49) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-05-02 11:28:35) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"new", "controller"=>"pastes"} + User Load (0.000577) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.03761 (26 reqs/sec) | Rendering: 0.01039 (27%) | DB: 0.00058 (1%) | 200 OK [http://localhost/pastes/new] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:28:35) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-05-02 11:28:37) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"new", "controller"=>"pastes"} + User Load (0.000518) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.02811 (35 reqs/sec) | Rendering: 0.00798 (28%) | DB: 0.00052 (1%) | 200 OK [http://localhost/pastes/new] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:28:38) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-05-02 11:28:53) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"new", "controller"=>"pastes"} + User Load (0.000609) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.03236 (30 reqs/sec) | Rendering: 0.01019 (31%) | DB: 0.00061 (1%) | 200 OK [http://localhost/pastes/new] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:28:53) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-05-02 11:29:53) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"new", "controller"=>"pastes"} + User Load (0.000529) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.12206 (8 reqs/sec) | Rendering: 0.10201 (83%) | DB: 0.00053 (0%) | 200 OK [http://localhost/pastes/new] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:29:54) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-05-02 11:30:04) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"new", "controller"=>"pastes"} + User Load (0.000582) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.03264 (30 reqs/sec) | Rendering: 0.01048 (32%) | DB: 0.00058 (1%) | 200 OK [http://localhost/pastes/new] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:30:04) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-05-02 11:30:15) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"new", "controller"=>"pastes"} + User Load (0.000596) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.12315 (8 reqs/sec) | Rendering: 0.01043 (8%) | DB: 0.00060 (0%) | 200 OK [http://localhost/pastes/new] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:30:16) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-05-02 11:30:32) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"new", "controller"=>"pastes"} + User Load (0.000532) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.03263 (30 reqs/sec) | Rendering: 0.01043 (31%) | DB: 0.00053 (1%) | 200 OK [http://localhost/pastes/new] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:30:32) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-05-02 11:30:38) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"new", "controller"=>"pastes"} + User Load (0.000600) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.03350 (29 reqs/sec) | Rendering: 0.01038 (30%) | DB: 0.00060 (1%) | 200 OK [http://localhost/pastes/new] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:30:38) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-05-02 11:30:52) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"new", "controller"=>"pastes"} + User Load (0.000526) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.03063 (32 reqs/sec) | Rendering: 0.00989 (32%) | DB: 0.00053 (1%) | 200 OK [http://localhost/pastes/new] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:30:53) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#create (for 127.0.0.1 at 2008-05-02 11:30:57) [POST] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"commit"=>"Create", "paste"=>{"language"=>"", "code"=>""}, "authenticity_token"=>"f88cebb7e28db52fcaa4175bc4cbfb4c7e1c1800", "action"=>"create", "controller"=>"pastes"} + User Load (0.000558) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Completed in 0.03235 (30 reqs/sec) | Rendering: 0.00762 (23%) | DB: 0.00056 (1%) | 200 OK [http://localhost/pastes] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:30:57) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#new (for 127.0.0.1 at 2008-05-02 11:34:07) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"new", "controller"=>"pastes"} + User Load (0.000694) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Rendered pastes/_form (0.00625) +Completed in 0.03393 (29 reqs/sec) | Rendering: 0.01107 (32%) | DB: 0.00069 (2%) | 200 OK [http://localhost/pastes/new] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:34:07) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#create (for 127.0.0.1 at 2008-05-02 11:34:44) [POST] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"commit"=>"Create", "paste"=>{"language"=>"", "code"=>""}, "authenticity_token"=>"f88cebb7e28db52fcaa4175bc4cbfb4c7e1c1800", "action"=>"create", "controller"=>"pastes"} + User Load (0.000527) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 +Rendering template within layouts/pastes +Rendering pastes/new +Rendered pastes/_form (0.00420) +Completed in 0.12347 (8 reqs/sec) | Rendering: 0.00820 (6%) | DB: 0.00053 (0%) | 200 OK [http://localhost/pastes] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:34:45) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#edit (for 127.0.0.1 at 2008-05-02 11:36:17) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"pastes"} + User Load (0.000569) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000465) SELECT * FROM pastes WHERE (pastes."id" = 1)  +Rendering template within layouts/pastes +Rendering pastes/edit +Rendered pastes/_form (0.00645) +Completed in 0.03748 (26 reqs/sec) | Rendering: 0.01151 (30%) | DB: 0.00103 (2%) | 200 OK [http://localhost/pastes/1/edit] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:36:17) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 11:36:29) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000520) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000917) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Rendered pastes/_paste (0.00309) +Rendered pastes/_paste (0.00061) +Rendered pastes/_paste (0.00057) +Completed in 0.02860 (34 reqs/sec) | Rendering: 0.00843 (29%) | DB: 0.00144 (5%) | 200 OK [http://localhost/pastes] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:36:29) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#show (for 127.0.0.1 at 2008-05-02 11:36:32) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"show", "id"=>"2", "controller"=>"pastes"} + User Load (0.000573) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000463) SELECT * FROM pastes WHERE (pastes."id" = 2)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.09306 (10 reqs/sec) | Rendering: 0.06907 (74%) | DB: 0.00104 (1%) | 200 OK [http://localhost/pastes/2] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:36:32) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 11:36:34) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000522) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000918) SELECT * FROM pastes  +Rendering template within layouts/pastes +Rendering pastes/index +Rendered pastes/_paste (0.00311) +Rendered pastes/_paste (0.00060) +Rendered pastes/_paste (0.00054) +Completed in 0.03085 (32 reqs/sec) | Rendering: 0.00845 (27%) | DB: 0.00144 (4%) | 200 OK [http://localhost/pastes] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:36:35) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#show (for 127.0.0.1 at 2008-05-02 11:36:36) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"show", "id"=>"3", "controller"=>"pastes"} + User Load (0.000597) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000616) SELECT * FROM pastes WHERE (pastes."id" = 3)  +Rendering template within layouts/pastes +Rendering pastes/show +Completed in 0.23158 (4 reqs/sec) | Rendering: 0.20792 (89%) | DB: 0.00121 (0%) | 200 OK [http://localhost/pastes/3] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:36:36) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) + + +Processing PastesController#index (for 127.0.0.1 at 2008-05-02 11:37:19) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMdXNlcl9pZGkGOgxjc3JmX2lkIiU3YjJlNTgx%0AYTYxNmJhOWVmMGY0OTY3OGJiMThlYTJiYyIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--420da03d2842260ce439f3b7bf77dc9230ec0963 + Parameters: {"action"=>"index", "controller"=>"pastes"} + User Load (0.000565) SELECT * FROM users WHERE (users."id" = 1) LIMIT 1 + Paste Load (0.000927) SELECT * FROM pastes ORDER BY id DESC +Rendering template within layouts/pastes +Rendering pastes/index +Rendered pastes/_paste (0.00326) +Rendered pastes/_paste (0.00059) +Rendered pastes/_paste (0.00053) +Completed in 0.03346 (29 reqs/sec) | Rendering: 0.00850 (25%) | DB: 0.00149 (4%) | 200 OK [http://localhost/pastes] + + +Processing ApplicationController#index (for 127.0.0.1 at 2008-05-02 11:37:19) [GET] + Session ID: BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlN2IyZTU4MWE2MTZiYTllZjBm%0ANDk2NzhiYjE4ZWEyYmM6DHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--db977f61d8f985bfa8fa5c4a690057104c6eae1d + Parameters: {} + + +ActionController::RoutingError (No route matches "/stylesheets/td_back.gif" with {:method=>:get}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1441:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1424:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' + /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' + /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' + /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + script/server:3 + +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (not_found) diff --git a/log/production.log b/log/production.log new file mode 100644 index 0000000..e69de29 diff --git a/log/server.log b/log/server.log new file mode 100644 index 0000000..e69de29 diff --git a/log/test.log b/log/test.log new file mode 100644 index 0000000..e69de29 diff --git a/public/stylesheets/scaffold.css b/public/stylesheets/scaffold.css index 829d1bf..4add737 100644 --- a/public/stylesheets/scaffold.css +++ b/public/stylesheets/scaffold.css @@ -98,6 +98,6 @@ table tbody tr {background: #F3F5F7;} table tbody tr.odd {background: #F0F2F4;} -table tbody tr:hover {background: #EAECEE; color: #111;} +table tbody tr:hover {background: #EAECEE; color: #111;} -table tfoot td, table tfoot th, table tfoot tr {text-align: left; font: 120% "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", sans-serif; text-transform: uppercase; background: #fff; padding: 10px;} \ No newline at end of file +table tfoot td, table tfoot th, table tfoot tr {text-align: left; font: 120% "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", sans-serif; text-transform: uppercase; background: #fff; padding: 10px;} diff --git a/public/stylesheets/scaffold.css~ b/public/stylesheets/scaffold.css~ new file mode 100644 index 0000000..829d1bf --- /dev/null +++ b/public/stylesheets/scaffold.css~ @@ -0,0 +1,103 @@ +body { background-color: #fff; color: #333; } + +body, p, ol, ul, td { + font-family: verdana, arial, helvetica, sans-serif; + font-size: 13px; + line-height: 18px; +} + +pre { + background-color: #eee; + padding: 10px; + font-size: 11px; +} + +/* +a { color: #000; } +a:visited { color: #666; } +a:hover { color: #fff; background-color:#000; } +*/ + +.fieldWithErrors { + padding: 2px; + background-color: red; + display: table; +} + +#errorExplanation { + width: 400px; + border: 2px solid red; + padding: 7px; + padding-bottom: 12px; + margin-bottom: 20px; + background-color: #f0f0f0; +} + +#errorExplanation h2 { + text-align: left; + font-weight: bold; + padding: 5px 5px 5px 15px; + font-size: 12px; + margin: -7px; + background-color: #c00; + color: #fff; +} + +#errorExplanation p { + color: #333; + margin-bottom: 0; + padding: 5px; +} + +#errorExplanation ul li { + font-size: 12px; + list-style: square; +} + +div.uploadStatus { + margin: 5px; +} + +div.progressBar { + margin: 5px; +} + +div.progressBar div.border { + background-color: #fff; + border: 1px solid gray; + width: 100%; +} + +div.progressBar div.background { + background-color: #333; + height: 18px; + width: 0%; +} + +/* "Winter Blues" CSS theme for CSS Table Gallery (http://icant.co.uk/csstablegallery/) by Gunta Klavina (http://www.klavina.com) */ + +table {font: 85% "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", sans-serif;padding: 0; margin: 0; border-collapse: collapse; color: #333; background: #F3F5F7;} + +a {color: #3A4856; text-decoration: none; border-bottom: 1px solid #C6C8CB;} + +a:visited {color: #777;} + +a:hover {color: #000;} + +table caption {text-align: left; text-transform: uppercase; padding-bottom: 10px; font: 200% "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", sans-serif;} + +table thead th {background: #3A4856; padding: 15px 10px; color: #fff; text-align: left; font-weight: normal;} + +table tbody, table thead {border-left: 1px solid #EAECEE; border-right: 1px solid #EAECEE;} + +table tbody {border-bottom: 1px solid #EAECEE;} + +table tbody td, table tbody th {padding: 10px; background: url("td_back.gif") repeat-x; text-align: left;} + +table tbody tr {background: #F3F5F7;} + +table tbody tr.odd {background: #F0F2F4;} + +table tbody tr:hover {background: #EAECEE; color: #111;} + +table tfoot td, table tfoot th, table tfoot tr {text-align: left; font: 120% "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", sans-serif; text-transform: uppercase; background: #fff; padding: 10px;} \ No newline at end of file diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml new file mode 100644 index 0000000..a5c98c3 --- /dev/null +++ b/test/fixtures/users.yml @@ -0,0 +1,19 @@ +quentin: + id: 1 + login: quentin + email: quentin@example.com + salt: 7e3041ebc2fc05a40c60028e2c4901a81035d3cd + crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test + created_at: <%= 5.days.ago.to_s :db %> + + + +aaron: + id: 2 + login: aaron + email: aaron@example.com + salt: 7e3041ebc2fc05a40c60028e2c4901a81035d3cd + crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test + created_at: <%= 1.days.ago.to_s :db %> + + diff --git a/test/functional/sessions_controller_test.rb b/test/functional/sessions_controller_test.rb new file mode 100644 index 0000000..3115d0f --- /dev/null +++ b/test/functional/sessions_controller_test.rb @@ -0,0 +1,85 @@ +require File.dirname(__FILE__) + '/../test_helper' +require 'sessions_controller' + +# Re-raise errors caught by the controller. +class SessionsController; def rescue_action(e) raise e end; end + +class SessionsControllerTest < Test::Unit::TestCase + # Be sure to include AuthenticatedTestHelper in test/test_helper.rb instead + # Then, you can remove it from this and the units test. + include AuthenticatedTestHelper + + fixtures :users + + def setup + @controller = SessionsController.new + @request = ActionController::TestRequest.new + @response = ActionController::TestResponse.new + end + + def test_should_login_and_redirect + post :create, :login => 'quentin', :password => 'test' + assert session[:user_id] + assert_response :redirect + end + + def test_should_fail_login_and_not_redirect + post :create, :login => 'quentin', :password => 'bad password' + assert_nil session[:user_id] + assert_response :success + end + + def test_should_logout + login_as :quentin + get :destroy + assert_nil session[:user_id] + assert_response :redirect + end + + def test_should_remember_me + post :create, :login => 'quentin', :password => 'test', :remember_me => "1" + assert_not_nil @response.cookies["auth_token"] + end + + def test_should_not_remember_me + post :create, :login => 'quentin', :password => 'test', :remember_me => "0" + assert_nil @response.cookies["auth_token"] + end + + def test_should_delete_token_on_logout + login_as :quentin + get :destroy + assert_equal @response.cookies["auth_token"], [] + end + + def test_should_login_with_cookie + users(:quentin).remember_me + @request.cookies["auth_token"] = cookie_for(:quentin) + get :new + assert @controller.send(:logged_in?) + end + + def test_should_fail_expired_cookie_login + users(:quentin).remember_me + users(:quentin).update_attribute :remember_token_expires_at, 5.minutes.ago + @request.cookies["auth_token"] = cookie_for(:quentin) + get :new + assert !@controller.send(:logged_in?) + end + + def test_should_fail_cookie_login + users(:quentin).remember_me + @request.cookies["auth_token"] = auth_token('invalid_auth_token') + get :new + assert !@controller.send(:logged_in?) + end + + protected + def auth_token(token) + CGI::Cookie.new('name' => 'auth_token', 'value' => token) + end + + def cookie_for(user) + auth_token users(user).remember_token + end +end diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb new file mode 100644 index 0000000..cef5836 --- /dev/null +++ b/test/functional/users_controller_test.rb @@ -0,0 +1,67 @@ +require File.dirname(__FILE__) + '/../test_helper' +require 'users_controller' + +# Re-raise errors caught by the controller. +class UsersController; def rescue_action(e) raise e end; end + +class UsersControllerTest < Test::Unit::TestCase + # Be sure to include AuthenticatedTestHelper in test/test_helper.rb instead + # Then, you can remove it from this and the units test. + include AuthenticatedTestHelper + + fixtures :users + + def setup + @controller = UsersController.new + @request = ActionController::TestRequest.new + @response = ActionController::TestResponse.new + end + + def test_should_allow_signup + assert_difference 'User.count' do + create_user + assert_response :redirect + end + end + + def test_should_require_login_on_signup + assert_no_difference 'User.count' do + create_user(:login => nil) + assert assigns(:user).errors.on(:login) + assert_response :success + end + end + + def test_should_require_password_on_signup + assert_no_difference 'User.count' do + create_user(:password => nil) + assert assigns(:user).errors.on(:password) + assert_response :success + end + end + + def test_should_require_password_confirmation_on_signup + assert_no_difference 'User.count' do + create_user(:password_confirmation => nil) + assert assigns(:user).errors.on(:password_confirmation) + assert_response :success + end + end + + def test_should_require_email_on_signup + assert_no_difference 'User.count' do + create_user(:email => nil) + assert assigns(:user).errors.on(:email) + assert_response :success + end + end + + + + + protected + def create_user(options = {}) + post :create, :user => { :login => 'quire', :email => 'quire@example.com', + :password => 'quire', :password_confirmation => 'quire' }.merge(options) + end +end diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb new file mode 100644 index 0000000..b1b31ef --- /dev/null +++ b/test/unit/user_test.rb @@ -0,0 +1,103 @@ +require File.dirname(__FILE__) + '/../test_helper' + +class UserTest < Test::Unit::TestCase + # Be sure to include AuthenticatedTestHelper in test/test_helper.rb instead. + # Then, you can remove it from this and the functional test. + include AuthenticatedTestHelper + fixtures :users + + def test_should_create_user + assert_difference 'User.count' do + user = create_user + assert !user.new_record?, "#{user.errors.full_messages.to_sentence}" + end + end + + def test_should_require_login + assert_no_difference 'User.count' do + u = create_user(:login => nil) + assert u.errors.on(:login) + end + end + + def test_should_require_password + assert_no_difference 'User.count' do + u = create_user(:password => nil) + assert u.errors.on(:password) + end + end + + def test_should_require_password_confirmation + assert_no_difference 'User.count' do + u = create_user(:password_confirmation => nil) + assert u.errors.on(:password_confirmation) + end + end + + def test_should_require_email + assert_no_difference 'User.count' do + u = create_user(:email => nil) + assert u.errors.on(:email) + end + end + + def test_should_reset_password + users(:quentin).update_attributes(:password => 'new password', :password_confirmation => 'new password') + assert_equal users(:quentin), User.authenticate('quentin', 'new password') + end + + def test_should_not_rehash_password + users(:quentin).update_attributes(:login => 'quentin2') + assert_equal users(:quentin), User.authenticate('quentin2', 'test') + end + + def test_should_authenticate_user + assert_equal users(:quentin), User.authenticate('quentin', 'test') + end + + def test_should_set_remember_token + users(:quentin).remember_me + assert_not_nil users(:quentin).remember_token + assert_not_nil users(:quentin).remember_token_expires_at + end + + def test_should_unset_remember_token + users(:quentin).remember_me + assert_not_nil users(:quentin).remember_token + users(:quentin).forget_me + assert_nil users(:quentin).remember_token + end + + def test_should_remember_me_for_one_week + before = 1.week.from_now.utc + users(:quentin).remember_me_for 1.week + after = 1.week.from_now.utc + assert_not_nil users(:quentin).remember_token + assert_not_nil users(:quentin).remember_token_expires_at + assert users(:quentin).remember_token_expires_at.between?(before, after) + end + + def test_should_remember_me_until_one_week + time = 1.week.from_now.utc + users(:quentin).remember_me_until time + assert_not_nil users(:quentin).remember_token + assert_not_nil users(:quentin).remember_token_expires_at + assert_equal users(:quentin).remember_token_expires_at, time + end + + def test_should_remember_me_default_two_weeks + before = 2.weeks.from_now.utc + users(:quentin).remember_me + after = 2.weeks.from_now.utc + assert_not_nil users(:quentin).remember_token + assert_not_nil users(:quentin).remember_token_expires_at + assert users(:quentin).remember_token_expires_at.between?(before, after) + end + +protected + def create_user(options = {}) + record = User.new({ :login => 'quire', :email => 'quire@example.com', :password => 'quire', :password_confirmation => 'quire' }.merge(options)) + record.save + record + end +end diff --git a/vendor/plugins/restful_authentication/README b/vendor/plugins/restful_authentication/README new file mode 100644 index 0000000..77438d0 --- /dev/null +++ b/vendor/plugins/restful_authentication/README @@ -0,0 +1,51 @@ +Restful Authentication Generator +==== + +This is a basic restful authentication generator for rails, taken +from acts as authenticated. Currently it requires Rails 1.2.6 or above. + +To use: + + ./script/generate authenticated user sessions \ + --include-activation \ + --stateful + +The first parameter specifies the model that gets created in signup +(typically a user or account model). A model with migration is +created, as well as a basic controller with the create method. + +The second parameter specifies the sessions controller name. This is +the controller that handles the actual login/logout function on the +site. + +The third parameter (--include-activation) generates the code for a +ActionMailer and its respective Activation Code through email. + +The fourth (--stateful) builds in support for acts_as_state_machine +and generates activation code. This was taken from: + +http://www.vaporbase.com/postings/stateful_authentication + +You can pass --skip-migration to skip the user migration. + +If you're using acts_as_state_machine, define your users resource like this: + + map.resources :users, :member => { :suspend => :put, + :unsuspend => :put, + :purge => :delete } + +Also, add an observer to config/environment.rb if you chose the +--include-activation option + + config.active_record.observers = :user_observer # or whatever you + # named your model + +Security Alert +==== + +I introduced a change to the model controller that's been tripping +folks up on Rails 2.0. The change was added as a suggestion to help +combat session fixation attacks. However, this resets the Form +Authentication token used by Request Forgery Protection. I've left +it out now, since Rails 1.2.6 and Rails 2.0 will both stop session +fixation attacks anyway. \ No newline at end of file diff --git a/vendor/plugins/restful_authentication/Rakefile b/vendor/plugins/restful_authentication/Rakefile new file mode 100644 index 0000000..03e0f37 --- /dev/null +++ b/vendor/plugins/restful_authentication/Rakefile @@ -0,0 +1,22 @@ +require 'rake' +require 'rake/testtask' +require 'rake/rdoctask' + +desc 'Default: run unit tests.' +task :default => :test + +desc 'Test the restful_authentication plugin.' +Rake::TestTask.new(:test) do |t| + t.libs << 'lib' + t.pattern = 'test/**/*_test.rb' + t.verbose = true +end + +desc 'Generate documentation for the restful_authentication plugin.' +Rake::RDocTask.new(:rdoc) do |rdoc| + rdoc.rdoc_dir = 'rdoc' + rdoc.title = 'RestfulAuthentication' + rdoc.options << '--line-numbers' << '--inline-source' + rdoc.rdoc_files.include('README') + rdoc.rdoc_files.include('lib/**/*.rb') +end diff --git a/vendor/plugins/restful_authentication/generators/authenticated/USAGE b/vendor/plugins/restful_authentication/generators/authenticated/USAGE new file mode 100644 index 0000000..72794d7 --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/USAGE @@ -0,0 +1 @@ +./script/generate authenticated USERMODEL CONTROLLERNAME \ No newline at end of file diff --git a/vendor/plugins/restful_authentication/generators/authenticated/authenticated_generator.rb b/vendor/plugins/restful_authentication/generators/authenticated/authenticated_generator.rb new file mode 100644 index 0000000..eb85d03 --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/authenticated_generator.rb @@ -0,0 +1,263 @@ +require 'restful_authentication/rails_commands' +class AuthenticatedGenerator < Rails::Generator::NamedBase + default_options :skip_migration => false, + :include_activation => false + + attr_reader :controller_name, + :controller_class_path, + :controller_file_path, + :controller_class_nesting, + :controller_class_nesting_depth, + :controller_class_name, + :controller_singular_name, + :controller_plural_name, + :controller_file_name + alias_method :controller_table_name, :controller_plural_name + attr_reader :model_controller_name, + :model_controller_class_path, + :model_controller_file_path, + :model_controller_class_nesting, + :model_controller_class_nesting_depth, + :model_controller_class_name, + :model_controller_singular_name, + :model_controller_plural_name + alias_method :model_controller_file_name, :model_controller_singular_name + alias_method :model_controller_table_name, :model_controller_plural_name + + def initialize(runtime_args, runtime_options = {}) + super + + @rspec = has_rspec? + + @controller_name = args.shift || 'sessions' + @model_controller_name = @name.pluralize + + # sessions controller + base_name, @controller_class_path, @controller_file_path, @controller_class_nesting, @controller_class_nesting_depth = extract_modules(@controller_name) + @controller_class_name_without_nesting, @controller_file_name, @controller_plural_name = inflect_names(base_name) + @controller_singular_name = @controller_file_name.singularize + + if @controller_class_nesting.empty? + @controller_class_name = @controller_class_name_without_nesting + else + @controller_class_name = "#{@controller_class_nesting}::#{@controller_class_name_without_nesting}" + end + + # model controller + base_name, @model_controller_class_path, @model_controller_file_path, @model_controller_class_nesting, @model_controller_class_nesting_depth = extract_modules(@model_controller_name) + @model_controller_class_name_without_nesting, @model_controller_singular_name, @model_controller_plural_name = inflect_names(base_name) + + if @model_controller_class_nesting.empty? + @model_controller_class_name = @model_controller_class_name_without_nesting + else + @model_controller_class_name = "#{@model_controller_class_nesting}::#{@model_controller_class_name_without_nesting}" + end + end + + def manifest + recorded_session = record do |m| + # Check for class naming collisions. + m.class_collisions controller_class_path, "#{controller_class_name}Controller", # Sessions Controller + "#{controller_class_name}Helper" + m.class_collisions model_controller_class_path, "#{model_controller_class_name}Controller", # Model Controller + "#{model_controller_class_name}Helper" + m.class_collisions class_path, "#{class_name}", "#{class_name}Mailer", "#{class_name}MailerTest", "#{class_name}Observer" + m.class_collisions [], 'AuthenticatedSystem', 'AuthenticatedTestHelper' + + # Controller, helper, views, and test directories. + m.directory File.join('app/models', class_path) + m.directory File.join('app/controllers', controller_class_path) + m.directory File.join('app/controllers', model_controller_class_path) + m.directory File.join('app/helpers', controller_class_path) + m.directory File.join('app/views', controller_class_path, controller_file_name) + m.directory File.join('app/views', class_path, "#{file_name}_mailer") if options[:include_activation] + + m.directory File.join('app/controllers', model_controller_class_path) + m.directory File.join('app/helpers', model_controller_class_path) + m.directory File.join('app/views', model_controller_class_path, model_controller_file_name) + + if @rspec + m.directory File.join('spec/controllers', controller_class_path) + m.directory File.join('spec/controllers', model_controller_class_path) + m.directory File.join('spec/models', class_path) + m.directory File.join('spec/fixtures', class_path) + else + m.directory File.join('test/functional', controller_class_path) + m.directory File.join('test/functional', model_controller_class_path) + m.directory File.join('test/unit', class_path) + end + + m.template 'model.rb', + File.join('app/models', + class_path, + "#{file_name}.rb") + + if options[:include_activation] + %w( mailer observer ).each do |model_type| + m.template "#{model_type}.rb", File.join('app/models', + class_path, + "#{file_name}_#{model_type}.rb") + end + end + + m.template 'controller.rb', + File.join('app/controllers', + controller_class_path, + "#{controller_file_name}_controller.rb") + + m.template 'model_controller.rb', + File.join('app/controllers', + model_controller_class_path, + "#{model_controller_file_name}_controller.rb") + + m.template 'authenticated_system.rb', + File.join('lib', 'authenticated_system.rb') + + m.template 'authenticated_test_helper.rb', + File.join('lib', 'authenticated_test_helper.rb') + + if @rspec + m.template 'functional_spec.rb', + File.join('spec/controllers', + controller_class_path, + "#{controller_file_name}_controller_spec.rb") + m.template 'model_functional_spec.rb', + File.join('spec/controllers', + model_controller_class_path, + "#{model_controller_file_name}_controller_spec.rb") + m.template 'unit_spec.rb', + File.join('spec/models', + class_path, + "#{file_name}_spec.rb") + m.template 'fixtures.yml', + File.join('spec/fixtures', + "#{table_name}.yml") + else + m.template 'functional_test.rb', + File.join('test/functional', + controller_class_path, + "#{controller_file_name}_controller_test.rb") + m.template 'model_functional_test.rb', + File.join('test/functional', + model_controller_class_path, + "#{model_controller_file_name}_controller_test.rb") + m.template 'unit_test.rb', + File.join('test/unit', + class_path, + "#{file_name}_test.rb") + if options[:include_activation] + m.template 'mailer_test.rb', File.join('test/unit', class_path, "#{file_name}_mailer_test.rb") + end + m.template 'fixtures.yml', + File.join('test/fixtures', + "#{table_name}.yml") + end + + m.template 'helper.rb', + File.join('app/helpers', + controller_class_path, + "#{controller_file_name}_helper.rb") + + m.template 'model_helper.rb', + File.join('app/helpers', + model_controller_class_path, + "#{model_controller_file_name}_helper.rb") + + + # Controller templates + m.template 'login.html.erb', File.join('app/views', controller_class_path, controller_file_name, "new.html.erb") + m.template 'signup.html.erb', File.join('app/views', model_controller_class_path, model_controller_file_name, "new.html.erb") + + if options[:include_activation] + # Mailer templates + %w( activation signup_notification ).each do |action| + m.template "#{action}.html.erb", + File.join('app/views', "#{file_name}_mailer", "#{action}.html.erb") + end + end + + unless options[:skip_migration] + m.migration_template 'migration.rb', 'db/migrate', :assigns => { + :migration_name => "Create#{class_name.pluralize.gsub(/::/, '')}" + }, :migration_file_name => "create_#{file_path.gsub(/\//, '_').pluralize}" + end + + m.route_resource controller_singular_name + m.route_resources model_controller_plural_name + end + + action = nil + action = $0.split("/")[1] + case action + when "generate" + puts + puts ("-" * 70) + puts "Don't forget to:" + puts + if options[:include_activation] + puts " map.activate '/activate/:activation_code', :controller => '#{model_controller_file_name}', :action => 'activate'" + puts + puts " - add an observer to config/environment.rb" + puts " config.active_record.observers = :#{file_name}_observer" + puts + end + if options[:stateful] + puts "Also, don't forget to install the acts_as_state_machine plugin and set your resource:" + puts + puts " svn export http://elitists.textdriven.com/svn/plugins/acts_as_state_machine/trunk vendor/plugins/acts_as_state_machine" + puts + puts "In config/routes.rb:" + puts " map.resources :#{model_controller_file_name}, :member => { :suspend => :put, :unsuspend => :put, :purge => :delete }" + puts + end + puts "Try these for some familiar login URLs if you like:" + puts + puts %(map.activate '/activate/:activation_code', :controller => '#{model_controller_file_name}', :action => 'activate', :activation_code => nil) + puts %(map.signup '/signup', :controller => '#{model_controller_file_name}', :action => 'new') + puts %(map.login '/login', :controller => '#{controller_file_name}', :action => 'new') + puts %(map.logout '/logout', :controller => '#{controller_file_name}', :action => 'destroy') + puts + puts ("-" * 70) + puts + when "destroy" + puts + puts ("-" * 70) + puts + puts "Thanks for using restful_authentication" + puts + puts "Don't forget to comment out the observer line in environment.rb" + puts " (This was optional so it may not even be there)" + puts " # config.active_record.observers = :#{file_name}_observer" + puts + puts ("-" * 70) + puts + else + puts + end + + recorded_session + end + + def has_rspec? + options[:rspec] || (File.exist?('spec') && File.directory?('spec')) + end + + protected + # Override with your own usage banner. + def banner + "Usage: #{$0} authenticated ModelName [ControllerName]" + end + + def add_options!(opt) + opt.separator '' + opt.separator 'Options:' + opt.on("--skip-migration", + "Don't generate a migration file for this model") { |v| options[:skip_migration] = v } + opt.on("--include-activation", + "Generate signup 'activation code' confirmation via email") { |v| options[:include_activation] = true } + opt.on("--stateful", + "Use acts_as_state_machine. Assumes --include-activation") { |v| options[:include_activation] = options[:stateful] = true } + opt.on("--rspec", + "Force rspec mode (checks for RAILS_ROOT/spec by default)") { |v| options[:rspec] = true } + end +end diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/activation.html.erb b/vendor/plugins/restful_authentication/generators/authenticated/templates/activation.html.erb new file mode 100644 index 0000000..2258e1f --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/activation.html.erb @@ -0,0 +1,3 @@ +<%%= @<%= file_name %>.login %>, your account has been activated. You may now start adding your plugins: + + <%%= @url %> \ No newline at end of file diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/authenticated_system.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/authenticated_system.rb new file mode 100644 index 0000000..1ab63fc --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/authenticated_system.rb @@ -0,0 +1,115 @@ +module AuthenticatedSystem + protected + # Returns true or false if the <%= file_name %> is logged in. + # Preloads @current_<%= file_name %> with the <%= file_name %> model if they're logged in. + def logged_in? + !!current_<%= file_name %> + end + + # Accesses the current <%= file_name %> from the session. + # Future calls avoid the database because nil is not equal to false. + def current_<%= file_name %> + @current_<%= file_name %> ||= (login_from_session || login_from_basic_auth || login_from_cookie) unless @current_<%= file_name %> == false + end + + # Store the given <%= file_name %> id in the session. + def current_<%= file_name %>=(new_<%= file_name %>) + session[:<%= file_name %>_id] = new_<%= file_name %> ? new_<%= file_name %>.id : nil + @current_<%= file_name %> = new_<%= file_name %> || false + end + + # Check if the <%= file_name %> is authorized + # + # Override this method in your controllers if you want to restrict access + # to only a few actions or if you want to check if the <%= file_name %> + # has the correct rights. + # + # Example: + # + # # only allow nonbobs + # def authorized? + # current_<%= file_name %>.login != "bob" + # end + def authorized? + logged_in? + end + + # Filter method to enforce a login requirement. + # + # To require logins for all actions, use this in your controllers: + # + # before_filter :login_required + # + # To require logins for specific actions, use this in your controllers: + # + # before_filter :login_required, :only => [ :edit, :update ] + # + # To skip this in a subclassed controller: + # + # skip_before_filter :login_required + # + def login_required + authorized? || access_denied + end + + # Redirect as appropriate when an access request fails. + # + # The default action is to redirect to the login screen. + # + # Override this method in your controllers if you want to have special + # behavior in case the <%= file_name %> is not authorized + # to access the requested action. For example, a popup window might + # simply close itself. + def access_denied + respond_to do |format| + format.html do + store_location + redirect_to new_<%= controller_singular_name %>_path + end + format.any do + request_http_basic_authentication 'Web Password' + end + end + end + + # Store the URI of the current request in the session. + # + # We can return to this location by calling #redirect_back_or_default. + def store_location + session[:return_to] = request.request_uri + end + + # Redirect to the URI stored by the most recent store_location call or + # to the passed default. + def redirect_back_or_default(default) + redirect_to(session[:return_to] || default) + session[:return_to] = nil + end + + # Inclusion hook to make #current_<%= file_name %> and #logged_in? + # available as ActionView helper methods. + def self.included(base) + base.send :helper_method, :current_<%= file_name %>, :logged_in? + end + + # Called from #current_<%= file_name %>. First attempt to login by the <%= file_name %> id stored in the session. + def login_from_session + self.current_<%= file_name %> = <%= class_name %>.find_by_id(session[:<%= file_name %>_id]) if session[:<%= file_name %>_id] + end + + # Called from #current_<%= file_name %>. Now, attempt to login by basic authentication information. + def login_from_basic_auth + authenticate_with_http_basic do |username, password| + self.current_<%= file_name %> = <%= class_name %>.authenticate(username, password) + end + end + + # Called from #current_<%= file_name %>. Finaly, attempt to login by an expiring token in the cookie. + def login_from_cookie + <%= file_name %> = cookies[:auth_token] && <%= class_name %>.find_by_remember_token(cookies[:auth_token]) + if <%= file_name %> && <%= file_name %>.remember_token? + cookies[:auth_token] = { :value => <%= file_name %>.remember_token, :expires => <%= file_name %>.remember_token_expires_at } + self.current_<%= file_name %> = <%= file_name %> + end + end +end diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/authenticated_test_helper.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/authenticated_test_helper.rb new file mode 100644 index 0000000..ea52894 --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/authenticated_test_helper.rb @@ -0,0 +1,10 @@ +module AuthenticatedTestHelper + # Sets the current <%= file_name %> in the session from the <%= file_name %> fixtures. + def login_as(<%= file_name %>) + @request.session[:<%= file_name %>_id] = <%= file_name %> ? <%= table_name %>(<%= file_name %>).id : nil + end + + def authorize_as(user) + @request.env["HTTP_AUTHORIZATION"] = user ? ActionController::HttpAuthentication::Basic.encode_credentials(users(user).login, 'test') : nil + end +end diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/controller.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/controller.rb new file mode 100644 index 0000000..e6a55db --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/controller.rb @@ -0,0 +1,31 @@ +# This controller handles the login/logout function of the site. +class <%= controller_class_name %>Controller < ApplicationController + # Be sure to include AuthenticationSystem in Application Controller instead + include AuthenticatedSystem + + # render new.rhtml + def new + end + + def create + self.current_<%= file_name %> = <%= class_name %>.authenticate(params[:login], params[:password]) + if logged_in? + if params[:remember_me] == "1" + current_<%= file_name %>.remember_me unless current_<%= file_name %>.remember_token? + cookies[:auth_token] = { :value => self.current_<%= file_name %>.remember_token , :expires => self.current_<%= file_name %>.remember_token_expires_at } + end + redirect_back_or_default('/') + flash[:notice] = "Logged in successfully" + else + render :action => 'new' + end + end + + def destroy + self.current_<%= file_name %>.forget_me if logged_in? + cookies.delete :auth_token + reset_session + flash[:notice] = "You have been logged out." + redirect_back_or_default('/') + end +end diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/fixtures.yml b/vendor/plugins/restful_authentication/generators/authenticated/templates/fixtures.yml new file mode 100644 index 0000000..9729e0a --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/fixtures.yml @@ -0,0 +1,19 @@ +quentin: + id: 1 + login: quentin + email: quentin@example.com + salt: 7e3041ebc2fc05a40c60028e2c4901a81035d3cd + crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test + created_at: <%%= 5.days.ago.to_s :db %> +<% if options[:include_activation] %> activation_code: 8f24789ae988411ccf33ab0c30fe9106fab32e9b <% end %> +<% if options[:include_activation] %> activated_at: <%%= 5.days.ago.to_s :db %> <% end %> +<% if options[:stateful] %> state: active<% end %> +aaron: + id: 2 + login: aaron + email: aaron@example.com + salt: 7e3041ebc2fc05a40c60028e2c4901a81035d3cd + crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1 # test + created_at: <%%= 1.days.ago.to_s :db %> +<% if options[:include_activation] %> activation_code: 8f24789ae988411ccf33ab0c30fe9106fab32e9a <% end %> +<% if options[:stateful] %> state: pending<% end %> diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/functional_spec.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/functional_spec.rb new file mode 100644 index 0000000..8c7bf0d --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/functional_spec.rb @@ -0,0 +1,74 @@ +require File.dirname(__FILE__) + '/../spec_helper' + +# Be sure to include AuthenticatedTestHelper in spec/spec_helper.rb instead +# Then, you can remove it from this and the units test. +include AuthenticatedTestHelper + +describe <%= controller_class_name %>Controller do + fixtures :<%= table_name %> + + it 'logins and redirects' do + post :create, :login => 'quentin', :password => 'test' + session[:<%= file_name %>_id].should_not be_nil + response.should be_redirect + end + + it 'fails login and does not redirect' do + post :create, :login => 'quentin', :password => 'bad password' + session[:<%= file_name %>_id].should be_nil + response.should be_success + end + + it 'logs out' do + login_as :quentin + get :destroy + session[:<%= file_name %>_id].should be_nil + response.should be_redirect + end + + it 'remembers me' do + post :create, :login => 'quentin', :password => 'test', :remember_me => "1" + response.cookies["auth_token"].should_not be_nil + end + + it 'does not remember me' do + post :create, :login => 'quentin', :password => 'test', :remember_me => "0" + response.cookies["auth_token"].should be_nil + end + + it 'deletes token on logout' do + login_as :quentin + get :destroy + response.cookies["auth_token"].should == [] + end + + it 'logs in with cookie' do + <%= table_name %>(:quentin).remember_me + request.cookies["auth_token"] = cookie_for(:quentin) + get :new + controller.send(:logged_in?).should be_true + end + + it 'fails expired cookie login' do + <%= table_name %>(:quentin).remember_me + <%= table_name %>(:quentin).update_attribute :remember_token_expires_at, 5.minutes.ago + request.cookies["auth_token"] = cookie_for(:quentin) + get :new + controller.send(:logged_in?).should_not be_true + end + + it 'fails cookie login' do + <%= table_name %>(:quentin).remember_me + request.cookies["auth_token"] = auth_token('invalid_auth_token') + get :new + controller.send(:logged_in?).should_not be_true + end + + def auth_token(token) + CGI::Cookie.new('name' => 'auth_token', 'value' => token) + end + + def cookie_for(<%= file_name %>) + auth_token <%= table_name %>(<%= file_name %>).remember_token + end +end diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/functional_test.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/functional_test.rb new file mode 100644 index 0000000..acce43b --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/functional_test.rb @@ -0,0 +1,85 @@ +require File.dirname(__FILE__) + '/../test_helper' +require '<%= controller_file_name %>_controller' + +# Re-raise errors caught by the controller. +class <%= controller_class_name %>Controller; def rescue_action(e) raise e end; end + +class <%= controller_class_name %>ControllerTest < Test::Unit::TestCase + # Be sure to include AuthenticatedTestHelper in test/test_helper.rb instead + # Then, you can remove it from this and the units test. + include AuthenticatedTestHelper + + fixtures :<%= table_name %> + + def setup + @controller = <%= controller_class_name %>Controller.new + @request = ActionController::TestRequest.new + @response = ActionController::TestResponse.new + end + + def test_should_login_and_redirect + post :create, :login => 'quentin', :password => 'test' + assert session[:<%= file_name %>_id] + assert_response :redirect + end + + def test_should_fail_login_and_not_redirect + post :create, :login => 'quentin', :password => 'bad password' + assert_nil session[:<%= file_name %>_id] + assert_response :success + end + + def test_should_logout + login_as :quentin + get :destroy + assert_nil session[:<%= file_name %>_id] + assert_response :redirect + end + + def test_should_remember_me + post :create, :login => 'quentin', :password => 'test', :remember_me => "1" + assert_not_nil @response.cookies["auth_token"] + end + + def test_should_not_remember_me + post :create, :login => 'quentin', :password => 'test', :remember_me => "0" + assert_nil @response.cookies["auth_token"] + end + + def test_should_delete_token_on_logout + login_as :quentin + get :destroy + assert_equal @response.cookies["auth_token"], [] + end + + def test_should_login_with_cookie + <%= table_name %>(:quentin).remember_me + @request.cookies["auth_token"] = cookie_for(:quentin) + get :new + assert @controller.send(:logged_in?) + end + + def test_should_fail_expired_cookie_login + <%= table_name %>(:quentin).remember_me + <%= table_name %>(:quentin).update_attribute :remember_token_expires_at, 5.minutes.ago + @request.cookies["auth_token"] = cookie_for(:quentin) + get :new + assert !@controller.send(:logged_in?) + end + + def test_should_fail_cookie_login + <%= table_name %>(:quentin).remember_me + @request.cookies["auth_token"] = auth_token('invalid_auth_token') + get :new + assert !@controller.send(:logged_in?) + end + + protected + def auth_token(token) + CGI::Cookie.new('name' => 'auth_token', 'value' => token) + end + + def cookie_for(<%= file_name %>) + auth_token <%= table_name %>(<%= file_name %>).remember_token + end +end diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/helper.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/helper.rb new file mode 100644 index 0000000..ed5759e --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/helper.rb @@ -0,0 +1,2 @@ +module <%= controller_class_name %>Helper +end \ No newline at end of file diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/login.html.erb b/vendor/plugins/restful_authentication/generators/authenticated/templates/login.html.erb new file mode 100644 index 0000000..cec25cf --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/login.html.erb @@ -0,0 +1,14 @@ +<%% form_tag <%= controller_singular_name %>_path do -%> +


+<%%= text_field_tag 'login' %>

+ +


+<%%= password_field_tag 'password' %>

+ + + +

<%%= submit_tag 'Log in' %>

+<%% end -%> diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/mailer.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/mailer.rb new file mode 100644 index 0000000..f6e092b --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/mailer.rb @@ -0,0 +1,25 @@ +class <%= class_name %>Mailer < ActionMailer::Base + def signup_notification(<%= file_name %>) + setup_email(<%= file_name %>) + @subject += 'Please activate your new account' + <% if options[:include_activation] %> + @body[:url] = "http://YOURSITE/activate/#{<%= file_name %>.activation_code}" + <% else %> + @body[:url] = "http://YOURSITE/login/" <% end %> + end + + def activation(<%= file_name %>) + setup_email(<%= file_name %>) + @subject += 'Your account has been activated!' + @body[:url] = "http://YOURSITE/" + end + + protected + def setup_email(<%= file_name %>) + @recipients = "#{<%= file_name %>.email}" + @from = "ADMINEMAIL" + @subject = "[YOURSITE] " + @sent_on = Time.now + @body[:<%= file_name %>] = <%= file_name %> + end +end diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/mailer_test.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/mailer_test.rb new file mode 100644 index 0000000..c3f3dfb --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/mailer_test.rb @@ -0,0 +1,31 @@ +require File.dirname(__FILE__) + '/../test_helper' +require '<%= file_name %>_mailer' + +class <%= class_name %>MailerTest < Test::Unit::TestCase + FIXTURES_PATH = File.dirname(__FILE__) + '/../fixtures' + CHARSET = "utf-8" + + include ActionMailer::Quoting + + def setup + ActionMailer::Base.delivery_method = :test + ActionMailer::Base.perform_deliveries = true + ActionMailer::Base.deliveries = [] + + @expected = TMail::Mail.new + @expected.set_content_type "text", "plain", { "charset" => CHARSET } + end + + def test_dummy_test + #do nothing + end + + private + def read_fixture(action) + IO.readlines("#{FIXTURES_PATH}/<%= file_name %>_mailer/#{action}") + end + + def encode(subject) + quoted_printable(subject, CHARSET) + end +end diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/migration.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/migration.rb new file mode 100644 index 0000000..ea90e79 --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/migration.rb @@ -0,0 +1,22 @@ +class <%= migration_name %> < ActiveRecord::Migration + def self.up + create_table "<%= table_name %>", :force => true do |t| + t.column :login, :string + t.column :email, :string + t.column :crypted_password, :string, :limit => 40 + t.column :salt, :string, :limit => 40 + t.column :created_at, :datetime + t.column :updated_at, :datetime + t.column :remember_token, :string + t.column :remember_token_expires_at, :datetime + <% if options[:include_activation] %>t.column :activation_code, :string, :limit => 40 + t.column :activated_at, :datetime<% end %> + <% if options[:stateful] %>t.column :state, :string, :null => :no, :default => 'passive' + t.column :deleted_at, :datetime<% end %> + end + end + + def self.down + drop_table "<%= table_name %>" + end +end diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/model.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/model.rb new file mode 100644 index 0000000..5492208 --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/model.rb @@ -0,0 +1,142 @@ +require 'digest/sha1' +class <%= class_name %> < ActiveRecord::Base + # Virtual attribute for the unencrypted password + attr_accessor :password + + validates_presence_of :login, :email + validates_presence_of :password, :if => :password_required? + validates_presence_of :password_confirmation, :if => :password_required? + validates_length_of :password, :within => 4..40, :if => :password_required? + validates_confirmation_of :password, :if => :password_required? + validates_length_of :login, :within => 3..40 + validates_length_of :email, :within => 3..100 + validates_uniqueness_of :login, :email, :case_sensitive => false + before_save :encrypt_password + <% if options[:include_activation] && !options[:stateful] %>before_create :make_activation_code <% end %> + # prevents a user from submitting a crafted form that bypasses activation + # anything else you want your user to change should be added here. + attr_accessible :login, :email, :password, :password_confirmation +<% if options[:stateful] %> + acts_as_state_machine :initial => :pending + state :passive + state :pending, :enter => :make_activation_code + state :active, :enter => :do_activate + state :suspended + state :deleted, :enter => :do_delete + + event :register do + transitions :from => :passive, :to => :pending, :guard => Proc.new {|u| !(u.crypted_password.blank? && u.password.blank?) } + end + + event :activate do + transitions :from => :pending, :to => :active + end + + event :suspend do + transitions :from => [:passive, :pending, :active], :to => :suspended + end + + event :delete do + transitions :from => [:passive, :pending, :active, :suspended], :to => :deleted + end + + event :unsuspend do + transitions :from => :suspended, :to => :active, :guard => Proc.new {|u| !u.activated_at.blank? } + transitions :from => :suspended, :to => :pending, :guard => Proc.new {|u| !u.activation_code.blank? } + transitions :from => :suspended, :to => :passive + end +<% elsif options[:include_activation] %> + # Activates the user in the database. + def activate + @activated = true + self.activated_at = Time.now.utc + self.activation_code = nil + save(false) + end + + def active? + # the existence of an activation code means they have not activated yet + activation_code.nil? + end +<% end %> + # Authenticates a user by their login name and unencrypted password. Returns the user or nil. + def self.authenticate(login, password) + u = <% + if options[:stateful] %>find_in_state :first, :active, :conditions => {:login => login}<% + elsif options[:include_activation] %>find :first, :conditions => ['login = ? and activated_at IS NOT NULL', login]<% + else %>find_by_login(login)<% + end %> # need to get the salt + u && u.authenticated?(password) ? u : nil + end + + # Encrypts some data with the salt. + def self.encrypt(password, salt) + Digest::SHA1.hexdigest("--#{salt}--#{password}--") + end + + # Encrypts the password with the user salt + def encrypt(password) + self.class.encrypt(password, salt) + end + + def authenticated?(password) + crypted_password == encrypt(password) + end + + def remember_token? + remember_token_expires_at && Time.now.utc < remember_token_expires_at + end + + # These create and unset the fields required for remembering users between browser closes + def remember_me + remember_me_for 2.weeks + end + + def remember_me_for(time) + remember_me_until time.from_now.utc + end + + def remember_me_until(time) + self.remember_token_expires_at = time + self.remember_token = encrypt("#{email}--#{remember_token_expires_at}") + save(false) + end + + def forget_me + self.remember_token_expires_at = nil + self.remember_token = nil + save(false) + end + + # Returns true if the user has just been activated. + def recently_activated? + @activated + end + + protected + # before filter + def encrypt_password + return if password.blank? + self.salt = Digest::SHA1.hexdigest("--#{Time.now.to_s}--#{login}--") if new_record? + self.crypted_password = encrypt(password) + end + + def password_required? + crypted_password.blank? || !password.blank? + end + <% if options[:include_activation] %> + def make_activation_code +<% if options[:stateful] %> self.deleted_at = nil<% end %> + self.activation_code = Digest::SHA1.hexdigest( Time.now.to_s.split(//).sort_by {rand}.join ) + end<% end %> + <% if options[:stateful] %> + def do_delete + self.deleted_at = Time.now.utc + end + + def do_activate + @activated = true + self.activated_at = Time.now.utc + self.deleted_at = self.activation_code = nil + end<% end %> +end diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/model_controller.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/model_controller.rb new file mode 100644 index 0000000..8eb122f --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/model_controller.rb @@ -0,0 +1,65 @@ +class <%= model_controller_class_name %>Controller < ApplicationController + # Be sure to include AuthenticationSystem in Application Controller instead + include AuthenticatedSystem + <% if options[:stateful] %> + # Protect these actions behind an admin login + # before_filter :admin_required, :only => [:suspend, :unsuspend, :destroy, :purge] + before_filter :find_<%= file_name %>, :only => [:suspend, :unsuspend, :destroy, :purge] + <% end %> + + # render new.rhtml + def new + end + + def create + cookies.delete :auth_token + # protects against session fixation attacks, wreaks havoc with + # request forgery protection. + # uncomment at your own risk + # reset_session + @<%= file_name %> = <%= class_name %>.new(params[:<%= file_name %>]) + @<%= file_name %>.<% if options[:stateful] %>register! if @<%= file_name %>.valid?<% else %>save<% end %> + if @<%= file_name %>.errors.empty? + self.current_<%= file_name %> = @<%= file_name %> + redirect_back_or_default('/') + flash[:notice] = "Thanks for signing up!" + else + render :action => 'new' + end + end +<% if options[:include_activation] %> + def activate + self.current_<%= file_name %> = params[:activation_code].blank? ? false : <%= class_name %>.find_by_activation_code(params[:activation_code]) + if logged_in? && !current_<%= file_name %>.active? + current_<%= file_name %>.activate<% if options[:stateful] %>!<% end %> + flash[:notice] = "Signup complete!" + end + redirect_back_or_default('/') + end +<% end %><% if options[:stateful] %> + def suspend + @<%= file_name %>.suspend! + redirect_to <%= table_name %>_path + end + + def unsuspend + @<%= file_name %>.unsuspend! + redirect_to <%= table_name %>_path + end + + def destroy + @<%= file_name %>.delete! + redirect_to <%= table_name %>_path + end + + def purge + @<%= file_name %>.destroy + redirect_to <%= table_name %>_path + end + +protected + def find_<%= file_name %> + @<%= file_name %> = <%= class_name %>.find(params[:id]) + end +<% end %> +end diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/model_functional_spec.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/model_functional_spec.rb new file mode 100644 index 0000000..ae8b740 --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/model_functional_spec.rb @@ -0,0 +1,86 @@ +require File.dirname(__FILE__) + '/../spec_helper' + +# Be sure to include AuthenticatedTestHelper in spec/spec_helper.rb instead +# Then, you can remove it from this and the units test. +include AuthenticatedTestHelper + +describe <%= model_controller_class_name %>Controller do + fixtures :<%= table_name %> + + it 'allows signup' do + lambda do + create_<%= file_name %> + response.should be_redirect + end.should change(<%= class_name %>, :count).by(1) + end + + <% if options[:stateful] %> + it 'signs up user in pending state' do + create_user + assigns(:<%= file_name %>).reload + assigns(:<%= file_name %>).should be_pending + end<% end %> + + <% if options[:include_activation] %> + it 'signs up user with activation code' do + create_user + assigns(:<%= file_name %>).reload + assigns(:<%= file_name %>).activation_code.should_not be_nil + end<% end %> + + it 'requires login on signup' do + lambda do + create_<%= file_name %>(:login => nil) + assigns[:<%= file_name %>].errors.on(:login).should_not be_nil + response.should be_success + end.should_not change(<%= class_name %>, :count) + end + + it 'requires password on signup' do + lambda do + create_<%= file_name %>(:password => nil) + assigns[:<%= file_name %>].errors.on(:password).should_not be_nil + response.should be_success + end.should_not change(<%= class_name %>, :count) + end + + it 'requires password confirmation on signup' do + lambda do + create_<%= file_name %>(:password_confirmation => nil) + assigns[:<%= file_name %>].errors.on(:password_confirmation).should_not be_nil + response.should be_success + end.should_not change(<%= class_name %>, :count) + end + + it 'requires email on signup' do + lambda do + create_<%= file_name %>(:email => nil) + assigns[:<%= file_name %>].errors.on(:email).should_not be_nil + response.should be_success + end.should_not change(<%= class_name %>, :count) + end + + <% if options[:include_activation] %> + it 'activates user' do + <%= class_name %>.authenticate('aaron', 'test').should be_nil + get :activate, :activation_code => <%= table_name %>(:aaron).activation_code + response.should redirect_to('/') + flash[:notice].should_not be_nil + <%= class_name %>.authenticate('aaron', 'test').should == <%= table_name %>(:aaron) + end + + it 'does not activate user without key' do + get :activate + flash[:notice].should be_nil + end + + it 'does not activate user with blank key' do + get :activate, :activation_code => '' + flash[:notice].should be_nil + end<% end %> + + def create_<%= file_name %>(options = {}) + post :create, :<%= file_name %> => { :login => 'quire', :email => 'quire@example.com', + :password => 'quire', :password_confirmation => 'quire' }.merge(options) + end +end \ No newline at end of file diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/model_functional_test.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/model_functional_test.rb new file mode 100644 index 0000000..20f84ea --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/model_functional_test.rb @@ -0,0 +1,99 @@ +require File.dirname(__FILE__) + '/../test_helper' +require '<%= model_controller_file_name %>_controller' + +# Re-raise errors caught by the controller. +class <%= model_controller_class_name %>Controller; def rescue_action(e) raise e end; end + +class <%= model_controller_class_name %>ControllerTest < Test::Unit::TestCase + # Be sure to include AuthenticatedTestHelper in test/test_helper.rb instead + # Then, you can remove it from this and the units test. + include AuthenticatedTestHelper + + fixtures :<%= table_name %> + + def setup + @controller = <%= model_controller_class_name %>Controller.new + @request = ActionController::TestRequest.new + @response = ActionController::TestResponse.new + end + + def test_should_allow_signup + assert_difference '<%= class_name %>.count' do + create_<%= file_name %> + assert_response :redirect + end + end + + def test_should_require_login_on_signup + assert_no_difference '<%= class_name %>.count' do + create_<%= file_name %>(:login => nil) + assert assigns(:<%= file_name %>).errors.on(:login) + assert_response :success + end + end + + def test_should_require_password_on_signup + assert_no_difference '<%= class_name %>.count' do + create_<%= file_name %>(:password => nil) + assert assigns(:<%= file_name %>).errors.on(:password) + assert_response :success + end + end + + def test_should_require_password_confirmation_on_signup + assert_no_difference '<%= class_name %>.count' do + create_<%= file_name %>(:password_confirmation => nil) + assert assigns(:<%= file_name %>).errors.on(:password_confirmation) + assert_response :success + end + end + + def test_should_require_email_on_signup + assert_no_difference '<%= class_name %>.count' do + create_<%= file_name %>(:email => nil) + assert assigns(:<%= file_name %>).errors.on(:email) + assert_response :success + end + end + <% if options[:stateful] %> + def test_should_sign_up_user_in_pending_state + create_<%= file_name %> + assigns(:<%= file_name %>).reload + assert assigns(:<%= file_name %>).pending? + end<% end %> + + <% if options[:include_activation] %> + def test_should_sign_up_user_with_activation_code + create_<%= file_name %> + assigns(:<%= file_name %>).reload + assert_not_nil assigns(:<%= file_name %>).activation_code + end + + def test_should_activate_user + assert_nil <%= class_name %>.authenticate('aaron', 'test') + get :activate, :activation_code => <%= table_name %>(:aaron).activation_code + assert_redirected_to '/' + assert_not_nil flash[:notice] + assert_equal <%= table_name %>(:aaron), <%= class_name %>.authenticate('aaron', 'test') + end + + def test_should_not_activate_user_without_key + get :activate + assert_nil flash[:notice] + rescue ActionController::RoutingError + # in the event your routes deny this, we'll just bow out gracefully. + end + + def test_should_not_activate_user_with_blank_key + get :activate, :activation_code => '' + assert_nil flash[:notice] + rescue ActionController::RoutingError + # well played, sir + end<% end %> + + protected + def create_<%= file_name %>(options = {}) + post :create, :<%= file_name %> => { :login => 'quire', :email => 'quire@example.com', + :password => 'quire', :password_confirmation => 'quire' }.merge(options) + end +end diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/model_helper.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/model_helper.rb new file mode 100644 index 0000000..722ad3c --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/model_helper.rb @@ -0,0 +1,2 @@ +module <%= model_controller_class_name %>Helper +end \ No newline at end of file diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/observer.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/observer.rb new file mode 100644 index 0000000..bbf6f5e --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/observer.rb @@ -0,0 +1,11 @@ +class <%= class_name %>Observer < ActiveRecord::Observer + def after_create(<%= file_name %>) + <%= class_name %>Mailer.deliver_signup_notification(<%= file_name %>) + end + + def after_save(<%= file_name %>) + <% if options[:include_activation] %> + <%= class_name %>Mailer.deliver_activation(<%= file_name %>) if <%= file_name %>.recently_activated? + <% end %> + end +end diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/signup.html.erb b/vendor/plugins/restful_authentication/generators/authenticated/templates/signup.html.erb new file mode 100644 index 0000000..66b8269 --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/signup.html.erb @@ -0,0 +1,16 @@ +<%%= error_messages_for :<%= file_name %> %> +<%% form_for :<%= file_name %>, :url => <%= table_name %>_path do |f| -%> +


+<%%= f.text_field :login %>

+ +


+<%%= f.text_field :email %>

+ +


+<%%= f.password_field :password %>

+ +


+<%%= f.password_field :password_confirmation %>

+ +

<%%= submit_tag 'Sign up' %>

+<%% end -%> diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/signup_notification.html.erb b/vendor/plugins/restful_authentication/generators/authenticated/templates/signup_notification.html.erb new file mode 100644 index 0000000..6b0d675 --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/signup_notification.html.erb @@ -0,0 +1,8 @@ +Your account has been created. + + Username: <%%= @<%= file_name %>.login %> + Password: <%%= @<%= file_name %>.password %> + +Visit this url to activate your account: + + <%%= @url %> \ No newline at end of file diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/unit_spec.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/unit_spec.rb new file mode 100644 index 0000000..4317a4b --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/unit_spec.rb @@ -0,0 +1,174 @@ +require File.dirname(__FILE__) + '/../spec_helper' + +# Be sure to include AuthenticatedTestHelper in spec/spec_helper.rb instead. +# Then, you can remove it from this and the functional test. +include AuthenticatedTestHelper + +describe <%= class_name %> do + fixtures :<%= table_name %> + + describe 'being created' do + before do + @<%= file_name %> = nil + @creating_<%= file_name %> = lambda do + @<%= file_name %> = create_<%= file_name %> + violated "#{@<%= file_name %>.errors.full_messages.to_sentence}" if @<%= file_name %>.new_record? + end + end + + it 'increments User#count' do + @creating_<%= file_name %>.should change(<%= class_name %>, :count).by(1) + end +<% if options[:include_activation] %> + it 'initializes #activation_code' do + @creating_<%= file_name %>.call + @<%= file_name %>.reload + @<%= file_name %>.activation_code.should_not be_nil + end +<% end %><% if options[:stateful] %> + it 'starts in pending state' do + @creating_<%= file_name %>.call + @<%= file_name %>.reload + @<%= file_name %>.should be_pending + end +<% end %> end + + it 'requires login' do + lambda do + u = create_<%= file_name %>(:login => nil) + u.errors.on(:login).should_not be_nil + end.should_not change(<%= class_name %>, :count) + end + + it 'requires password' do + lambda do + u = create_<%= file_name %>(:password => nil) + u.errors.on(:password).should_not be_nil + end.should_not change(<%= class_name %>, :count) + end + + it 'requires password confirmation' do + lambda do + u = create_<%= file_name %>(:password_confirmation => nil) + u.errors.on(:password_confirmation).should_not be_nil + end.should_not change(<%= class_name %>, :count) + end + + it 'requires email' do + lambda do + u = create_<%= file_name %>(:email => nil) + u.errors.on(:email).should_not be_nil + end.should_not change(<%= class_name %>, :count) + end + + it 'resets password' do + <%= table_name %>(:quentin).update_attributes(:password => 'new password', :password_confirmation => 'new password') + <%= class_name %>.authenticate('quentin', 'new password').should == <%= table_name %>(:quentin) + end + + it 'does not rehash password' do + <%= table_name %>(:quentin).update_attributes(:login => 'quentin2') + <%= class_name %>.authenticate('quentin2', 'test').should == <%= table_name %>(:quentin) + end + + it 'authenticates <%= file_name %>' do + <%= class_name %>.authenticate('quentin', 'test').should == <%= table_name %>(:quentin) + end + + it 'sets remember token' do + <%= table_name %>(:quentin).remember_me + <%= table_name %>(:quentin).remember_token.should_not be_nil + <%= table_name %>(:quentin).remember_token_expires_at.should_not be_nil + end + + it 'unsets remember token' do + <%= table_name %>(:quentin).remember_me + <%= table_name %>(:quentin).remember_token.should_not be_nil + <%= table_name %>(:quentin).forget_me + <%= table_name %>(:quentin).remember_token.should be_nil + end + + it 'remembers me for one week' do + before = 1.week.from_now.utc + <%= table_name %>(:quentin).remember_me_for 1.week + after = 1.week.from_now.utc + <%= table_name %>(:quentin).remember_token.should_not be_nil + <%= table_name %>(:quentin).remember_token_expires_at.should_not be_nil + <%= table_name %>(:quentin).remember_token_expires_at.between?(before, after).should be_true + end + + it 'remembers me until one week' do + time = 1.week.from_now.utc + <%= table_name %>(:quentin).remember_me_until time + <%= table_name %>(:quentin).remember_token.should_not be_nil + <%= table_name %>(:quentin).remember_token_expires_at.should_not be_nil + <%= table_name %>(:quentin).remember_token_expires_at.should == time + end + + it 'remembers me default two weeks' do + before = 2.weeks.from_now.utc + <%= table_name %>(:quentin).remember_me + after = 2.weeks.from_now.utc + <%= table_name %>(:quentin).remember_token.should_not be_nil + <%= table_name %>(:quentin).remember_token_expires_at.should_not be_nil + <%= table_name %>(:quentin).remember_token_expires_at.between?(before, after).should be_true + end +<% if options[:stateful] %> + it 'registers passive <%= file_name %>' do + <%= file_name %> = create_<%= file_name %>(:password => nil, :password_confirmation => nil) + <%= file_name %>.should be_passive + <%= file_name %>.update_attributes(:password => 'new password', :password_confirmation => 'new password') + <%= file_name %>.register! + <%= file_name %>.should be_pending + end + + it 'suspends <%= file_name %>' do + <%= table_name %>(:quentin).suspend! + <%= table_name %>(:quentin).should be_suspended + end + + it 'does not authenticate suspended <%= file_name %>' do + <%= table_name %>(:quentin).suspend! + <%= class_name %>.authenticate('quentin', 'test').should_not == <%= table_name %>(:quentin) + end + + it 'deletes <%= file_name %>' do + <%= table_name %>(:quentin).deleted_at.should be_nil + <%= table_name %>(:quentin).delete! + <%= table_name %>(:quentin).deleted_at.should_not be_nil + <%= table_name %>(:quentin).should be_deleted + end + + describe "being unsuspended" do + fixtures :<%= table_name %> + + before do + @<%= file_name %> = <%= table_name %>(:quentin) + @<%= file_name %>.suspend! + end + + it 'reverts to active state' do + @<%= file_name %>.unsuspend! + @<%= file_name %>.should be_active + end + + it 'reverts to passive state if activation_code and activated_at are nil' do + <%= class_name %>.update_all :activation_code => nil, :activated_at => nil + @<%= file_name %>.reload.unsuspend! + @<%= file_name %>.should be_passive + end + + it 'reverts to pending state if activation_code is set and activated_at is nil' do + <%= class_name %>.update_all :activation_code => 'foo-bar', :activated_at => nil + @<%= file_name %>.reload.unsuspend! + @<%= file_name %>.should be_pending + end + end +<% end %> +protected + def create_<%= file_name %>(options = {}) + record = <%= class_name %>.new({ :login => 'quire', :email => 'quire@example.com', :password => 'quire', :password_confirmation => 'quire' }.merge(options)) + record.<% if options[:stateful] %>register! if record.valid?<% else %>save<% end %> + record + end +end diff --git a/vendor/plugins/restful_authentication/generators/authenticated/templates/unit_test.rb b/vendor/plugins/restful_authentication/generators/authenticated/templates/unit_test.rb new file mode 100644 index 0000000..c748f1f --- /dev/null +++ b/vendor/plugins/restful_authentication/generators/authenticated/templates/unit_test.rb @@ -0,0 +1,164 @@ +require File.dirname(__FILE__) + '/../test_helper' + +class <%= class_name %>Test < Test::Unit::TestCase + # Be sure to include AuthenticatedTestHelper in test/test_helper.rb instead. + # Then, you can remove it from this and the functional test. + include AuthenticatedTestHelper + fixtures :<%= table_name %> + + def test_should_create_<%= file_name %> + assert_difference '<%= class_name %>.count' do + <%= file_name %> = create_<%= file_name %> + assert !<%= file_name %>.new_record?, "#{<%= file_name %>.errors.full_messages.to_sentence}" + end + end +<% if options[:include_activation] %> + def test_should_initialize_activation_code_upon_creation + <%= file_name %> = create_<%= file_name %> + <%= file_name %>.reload + assert_not_nil <%= file_name %>.activation_code + end +<% end %><% if options[:stateful] %> + def test_should_create_and_start_in_pending_state + <%= file_name %> = create_<%= file_name %> + <%= file_name %>.reload + assert <%= file_name %>.pending? + end + +<% end %> + def test_should_require_login + assert_no_difference '<%= class_name %>.count' do + u = create_<%= file_name %>(:login => nil) + assert u.errors.on(:login) + end + end + + def test_should_require_password + assert_no_difference '<%= class_name %>.count' do + u = create_<%= file_name %>(:password => nil) + assert u.errors.on(:password) + end + end + + def test_should_require_password_confirmation + assert_no_difference '<%= class_name %>.count' do + u = create_<%= file_name %>(:password_confirmation => nil) + assert u.errors.on(:password_confirmation) + end + end + + def test_should_require_email + assert_no_difference '<%= class_name %>.count' do + u = create_<%= file_name %>(:email => nil) + assert u.errors.on(:email) + end + end + + def test_should_reset_password + <%= table_name %>(:quentin).update_attributes(:password => 'new password', :password_confirmation => 'new password') + assert_equal <%= table_name %>(:quentin), <%= class_name %>.authenticate('quentin', 'new password') + end + + def test_should_not_rehash_password + <%= table_name %>(:quentin).update_attributes(:login => 'quentin2') + assert_equal <%= table_name %>(:quentin), <%= class_name %>.authenticate('quentin2', 'test') + end + + def test_should_authenticate_<%= file_name %> + assert_equal <%= table_name %>(:quentin), <%= class_name %>.authenticate('quentin', 'test') + end + + def test_should_set_remember_token + <%= table_name %>(:quentin).remember_me + assert_not_nil <%= table_name %>(:quentin).remember_token + assert_not_nil <%= table_name %>(:quentin).remember_token_expires_at + end + + def test_should_unset_remember_token + <%= table_name %>(:quentin).remember_me + assert_not_nil <%= table_name %>(:quentin).remember_token + <%= table_name %>(:quentin).forget_me + assert_nil <%= table_name %>(:quentin).remember_token + end + + def test_should_remember_me_for_one_week + before = 1.week.from_now.utc + <%= table_name %>(:quentin).remember_me_for 1.week + after = 1.week.from_now.utc + assert_not_nil <%= table_name %>(:quentin).remember_token + assert_not_nil <%= table_name %>(:quentin).remember_token_expires_at + assert <%= table_name %>(:quentin).remember_token_expires_at.between?(before, after) + end + + def test_should_remember_me_until_one_week + time = 1.week.from_now.utc + <%= table_name %>(:quentin).remember_me_until time + assert_not_nil <%= table_name %>(:quentin).remember_token + assert_not_nil <%= table_name %>(:quentin).remember_token_expires_at + assert_equal <%= table_name %>(:quentin).remember_token_expires_at, time + end + + def test_should_remember_me_default_two_weeks + before = 2.weeks.from_now.utc + <%= table_name %>(:quentin).remember_me + after = 2.weeks.from_now.utc + assert_not_nil <%= table_name %>(:quentin).remember_token + assert_not_nil <%= table_name %>(:quentin).remember_token_expires_at + assert <%= table_name %>(:quentin).remember_token_expires_at.between?(before, after) + end +<% if options[:stateful] %> + def test_should_register_passive_<%= file_name %> + <%= file_name %> = create_<%= file_name %>(:password => nil, :password_confirmation => nil) + assert <%= file_name %>.passive? + <%= file_name %>.update_attributes(:password => 'new password', :password_confirmation => 'new password') + <%= file_name %>.register! + assert <%= file_name %>.pending? + end + + def test_should_suspend_<%= file_name %> + <%= table_name %>(:quentin).suspend! + assert <%= table_name %>(:quentin).suspended? + end + + def test_suspended_<%= file_name %>_should_not_authenticate + <%= table_name %>(:quentin).suspend! + assert_not_equal <%= table_name %>(:quentin), <%= class_name %>.authenticate('quentin', 'test') + end + + def test_should_unsuspend_<%= file_name %>_to_active_state + <%= table_name %>(:quentin).suspend! + assert <%= table_name %>(:quentin).suspended? + <%= table_name %>(:quentin).unsuspend! + assert <%= table_name %>(:quentin).active? + end + + def test_should_unsuspend_<%= file_name %>_with_nil_activation_code_and_activated_at_to_passive_state + <%= table_name %>(:quentin).suspend! + <%= class_name %>.update_all :activation_code => nil, :activated_at => nil + assert <%= table_name %>(:quentin).suspended? + <%= table_name %>(:quentin).reload.unsuspend! + assert <%= table_name %>(:quentin).passive? + end + + def test_should_unsuspend_<%= file_name %>_with_activation_code_and_nil_activated_at_to_pending_state + <%= table_name %>(:quentin).suspend! + <%= class_name %>.update_all :activation_code => 'foo-bar', :activated_at => nil + assert <%= table_name %>(:quentin).suspended? + <%= table_name %>(:quentin).reload.unsuspend! + assert <%= table_name %>(:quentin).pending? + end + + def test_should_delete_<%= file_name %> + assert_nil <%= table_name %>(:quentin).deleted_at + <%= table_name %>(:quentin).delete! + assert_not_nil <%= table_name %>(:quentin).deleted_at + assert <%= table_name %>(:quentin).deleted? + end +<% end %> +protected + def create_<%= file_name %>(options = {}) + record = <%= class_name %>.new({ :login => 'quire', :email => 'quire@example.com', :password => 'quire', :password_confirmation => 'quire' }.merge(options)) + record.<% if options[:stateful] %>register! if record.valid?<% else %>save<% end %> + record + end +end diff --git a/vendor/plugins/restful_authentication/install.rb b/vendor/plugins/restful_authentication/install.rb new file mode 100644 index 0000000..a63be40 --- /dev/null +++ b/vendor/plugins/restful_authentication/install.rb @@ -0,0 +1 @@ +puts IO.read(File.join(File.dirname(__FILE__), 'README')) \ No newline at end of file diff --git a/vendor/plugins/restful_authentication/lib/restful_authentication/rails_commands.rb b/vendor/plugins/restful_authentication/lib/restful_authentication/rails_commands.rb new file mode 100644 index 0000000..094e7b3 --- /dev/null +++ b/vendor/plugins/restful_authentication/lib/restful_authentication/rails_commands.rb @@ -0,0 +1,29 @@ +Rails::Generator::Commands::Create.class_eval do + def route_resource(*resources) + resource_list = resources.map { |r| r.to_sym.inspect }.join(', ') + sentinel = 'ActionController::Routing::Routes.draw do |map|' + + logger.route "map.resource #{resource_list}" + unless options[:pretend] + gsub_file 'config/routes.rb', /(#{Regexp.escape(sentinel)})/mi do |match| + "#{match}\n map.resource #{resource_list}\n" + end + end + end +end + +Rails::Generator::Commands::Destroy.class_eval do + def route_resource(*resources) + resource_list = resources.map { |r| r.to_sym.inspect }.join(', ') + look_for = "\n map.resource #{resource_list}\n" + logger.route "map.resource #{resource_list}" + gsub_file 'config/routes.rb', /(#{look_for})/mi, '' + end +end + +Rails::Generator::Commands::List.class_eval do + def route_resource(*resources) + resource_list = resources.map { |r| r.to_sym.inspect }.join(', ') + logger.route "map.resource #{resource_list}" + end +end \ No newline at end of file