From c7cfd552e3673eb84a0930a106d8c2f5f565404d Mon Sep 17 00:00:00 2001 From: leerobinson Date: Tue, 24 Jan 2012 16:54:06 +0000 Subject: [PATCH] added some more features to the page which will still be improved upon --- app/controllers/holidays_controller.rb~ | 4 + app/views/holidays/_form.html.erb | 14 +- app/views/holidays/_form.html.erb~ | 17 +- app/views/holidays/show.html.erb | 12 +- app/views/holidays/show.html.erb~ | 12 +- log/development.log | 1976 +++++++++++++++++++++++ 6 files changed, 2006 insertions(+), 29 deletions(-) diff --git a/app/controllers/holidays_controller.rb~ b/app/controllers/holidays_controller.rb~ index 2de481f..2594108 100644 --- a/app/controllers/holidays_controller.rb~ +++ b/app/controllers/holidays_controller.rb~ @@ -17,6 +17,10 @@ class HolidaysController < ApplicationController def edit login_required @holiday = Holiday.find(params[:id]) + if current_user.id != @holiday.user.id + redirect_to holidays_path + end + end def destroy diff --git a/app/views/holidays/_form.html.erb b/app/views/holidays/_form.html.erb index 6320d41..de57c52 100644 --- a/app/views/holidays/_form.html.erb +++ b/app/views/holidays/_form.html.erb @@ -7,9 +7,9 @@
- + -
LJMULogo +
LJMULogo

LJMU Contact Information

Telephone Number: 0151 231 2121

Other contact information is available on the LJMU website

@@ -29,7 +29,7 @@

<%= h.label :name, "Staff Name" %>
- <%= h.text_field :name %> + <%= h.text_field :name, :value => current_user.username, :disabled => true %>

@@ -58,10 +58,10 @@

- LJMUSocialNetwork - YoutubeSocialNetwork - FacebookSocialNetwork - TwitterSocialNetwork + LJMUSocialNetwork + YoutubeSocialNetwork + FacebookSocialNetwork + TwitterSocialNetwork
diff --git a/app/views/holidays/_form.html.erb~ b/app/views/holidays/_form.html.erb~ index 1894efe..de57c52 100644 --- a/app/views/holidays/_form.html.erb~ +++ b/app/views/holidays/_form.html.erb~ @@ -7,9 +7,9 @@
- + -
LJMULogo +
LJMULogo

LJMU Contact Information

Telephone Number: 0151 231 2121

Other contact information is available on the LJMU website

@@ -17,9 +17,6 @@


-<% if current_user.id != @holiday.user.id %> -<%= redirect_to holidays_path %> -<% end %>

Holiday Details

@@ -32,7 +29,7 @@

<%= h.label :name, "Staff Name" %>
- <%= h.text_field :name %> + <%= h.text_field :name, :value => current_user.username, :disabled => true %>

@@ -61,10 +58,10 @@

- LJMUSocialNetwork - YoutubeSocialNetwork - FacebookSocialNetwork - TwitterSocialNetwork + LJMUSocialNetwork + YoutubeSocialNetwork + FacebookSocialNetwork + TwitterSocialNetwork
diff --git a/app/views/holidays/show.html.erb b/app/views/holidays/show.html.erb index 78845ed..7a7bbb3 100644 --- a/app/views/holidays/show.html.erb +++ b/app/views/holidays/show.html.erb @@ -8,10 +8,10 @@
- + -
LJMULogo +
LJMULogo

LJMU Contact Information

Telephone Number: 0151 231 2121

Other contact information is available on the LJMU website

@@ -36,10 +36,10 @@
- LJMUSocialNetwork - YoutubeSocialNetwork - FacebookSocialNetwork - TwitterSocialNetwork + LJMUSocialNetwork + YoutubeSocialNetwork + FacebookSocialNetwork + TwitterSocialNetwork
diff --git a/app/views/holidays/show.html.erb~ b/app/views/holidays/show.html.erb~ index 78845ed..7a7bbb3 100644 --- a/app/views/holidays/show.html.erb~ +++ b/app/views/holidays/show.html.erb~ @@ -8,10 +8,10 @@
- + -
LJMULogo +
LJMULogo

LJMU Contact Information

Telephone Number: 0151 231 2121

Other contact information is available on the LJMU website

@@ -36,10 +36,10 @@
- LJMUSocialNetwork - YoutubeSocialNetwork - FacebookSocialNetwork - TwitterSocialNetwork + LJMUSocialNetwork + YoutubeSocialNetwork + FacebookSocialNetwork + TwitterSocialNetwork
diff --git a/log/development.log b/log/development.log index 3969f5e..37e12ad 100644 --- a/log/development.log +++ b/log/development.log @@ -24508,3 +24508,1979 @@ ActionController::RoutingError (No route matches "/holidays/edit/images/twitter. /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' Rendering rescues/layout (not_found) + + +Processing HolidaysController#show (for 127.0.0.1 at 2012-01-24 16:35:55) [GET] + Parameters: {"action"=>"show", "id"=>"14", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.3ms) SELECT * FROM "holidays" WHERE ("holidays"."id" = 14)  +Rendering template within layouts/application +Rendering holidays/show + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Completed in 38ms (View: 20, DB: 0) | 200 OK [http://localhost/holidays/14] + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:35:55) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"ljmuheader", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:35:55) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:35:55) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU1", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:35:55) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"youtube", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:35:55) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"facebook", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:35:55) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"twitter", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#index (for 127.0.0.1 at 2012-01-24 16:35:57) [GET] + Parameters: {"action"=>"index", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays"  +Rendering template within layouts/application +Rendering holidays/index + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 2)  +Completed in 23ms (View: 12, DB: 1) | 200 OK [http://localhost/holidays] + + +Processing HolidaysController#show (for 127.0.0.1 at 2012-01-24 16:36:11) [GET] + Parameters: {"action"=>"show", "id"=>"16", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays" WHERE ("holidays"."id" = 16)  +Rendering template within layouts/application +Rendering holidays/show + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 2)  +Completed in 14ms (View: 4, DB: 1) | 200 OK [http://localhost/holidays/16] + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:11) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"ljmuheader", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:11) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"youtube", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:11) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU1", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:11) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:11) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"facebook", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:11) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"twitter", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#show (for 127.0.0.1 at 2012-01-24 16:36:38) [GET] + Parameters: {"action"=>"show", "id"=>"16", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays" WHERE ("holidays"."id" = 16)  +Rendering template within layouts/application +Rendering holidays/show + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 2)  +Completed in 15ms (View: 4, DB: 1) | 200 OK [http://localhost/holidays/16] + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:38) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:38) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"ljmuheader", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:38) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU1", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:38) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"facebook", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:38) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"youtube", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:38) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"twitter", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#index (for 127.0.0.1 at 2012-01-24 16:36:39) [GET] + Parameters: {"action"=>"index", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.3ms) SELECT * FROM "holidays"  +Rendering template within layouts/application +Rendering holidays/index + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 2)  +Completed in 15ms (View: 5, DB: 1) | 200 OK [http://localhost/holidays] + + +Processing HolidaysController#new (for 127.0.0.1 at 2012-01-24 16:36:40) [GET] + Parameters: {"action"=>"new", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Rendering template within layouts/application +Rendering holidays/new +Rendered holidays/_form (7.2ms) +Completed in 25ms (View: 15, DB: 0) | 200 OK [http://localhost/holidays/new] + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:40) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:40) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"youtube", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:40) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"twitter", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:40) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU1", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:40) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"facebook", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#index (for 127.0.0.1 at 2012-01-24 16:36:42) [GET] + Parameters: {"action"=>"index", "controller"=>"holidays"} + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays"  +Rendering template within layouts/application +Rendering holidays/index + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 2)  +Completed in 14ms (View: 6, DB: 1) | 200 OK [http://localhost/holidays] + + +Processing HolidaysController#show (for 127.0.0.1 at 2012-01-24 16:36:45) [GET] + Parameters: {"action"=>"show", "id"=>"14", "controller"=>"holidays"} + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.1ms) SELECT * FROM "holidays" WHERE ("holidays"."id" = 14)  +Rendering template within layouts/application +Rendering holidays/show + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Completed in 13ms (View: 5, DB: 0) | 200 OK [http://localhost/holidays/14] + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:45) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"ljmuheader", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:45) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:46) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"youtube", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:46) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"facebook", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:46) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU1", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:46) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"twitter", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#edit (for 127.0.0.1 at 2012-01-24 16:36:47) [GET] + Parameters: {"action"=>"edit", "id"=>"14", "controller"=>"holidays"} + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.1ms) SELECT * FROM "holidays" WHERE ("holidays"."id" = 14)  + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Rendering template within layouts/application +Rendering holidays/edit +Rendered holidays/_form (4.1ms) +Completed in 15ms (View: 7, DB: 0) | 200 OK [http://localhost/holidays/14/edit] + + +Processing ApplicationController#index (for 127.0.0.1 at 2012-01-24 16:36:47) [GET] + +ActionController::RoutingError (No route matches "/holidays/14/images/LJMU.png" with {:method=>:get}): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing ApplicationController#index (for 127.0.0.1 at 2012-01-24 16:36:47) [GET] + +ActionController::RoutingError (No route matches "/holidays/14/images/twitter.png" with {:method=>:get}): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing ApplicationController#index (for 127.0.0.1 at 2012-01-24 16:36:47) [GET] + +ActionController::RoutingError (No route matches "/holidays/14/images/youtube.png" with {:method=>:get}): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing ApplicationController#index (for 127.0.0.1 at 2012-01-24 16:36:47) [GET] + +ActionController::RoutingError (No route matches "/holidays/14/images/facebook.png" with {:method=>:get}): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing ApplicationController#index (for 127.0.0.1 at 2012-01-24 16:36:47) [GET] + +ActionController::RoutingError (No route matches "/holidays/14/images/LJMU1.png" with {:method=>:get}): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#show (for 127.0.0.1 at 2012-01-24 16:36:57) [GET] + Parameters: {"action"=>"show", "id"=>"14", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays" WHERE ("holidays"."id" = 14)  +Rendering template within layouts/application +Rendering holidays/show + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Completed in 24ms (View: 13, DB: 0) | 200 OK [http://localhost/holidays/14] + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:57) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"ljmuheader", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:58) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"twitter", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:58) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU1", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:58) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"youtube", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:36:58) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"facebook", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#show (for 127.0.0.1 at 2012-01-24 16:37:06) [GET] + Parameters: {"action"=>"show", "id"=>"14", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays" WHERE ("holidays"."id" = 14)  +Rendering template within layouts/application +Rendering holidays/show + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Completed in 71ms (View: 61, DB: 0) | 200 OK [http://localhost/holidays/14] + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:37:06) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:37:06) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU1", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:37:06) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"youtube", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:37:06) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"facebook", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:37:06) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"twitter", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#index (for 127.0.0.1 at 2012-01-24 16:37:13) [GET] + Parameters: {"action"=>"index", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays"  +Rendering template within layouts/application +Rendering holidays/index + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 2)  +Completed in 17ms (View: 6, DB: 1) | 200 OK [http://localhost/holidays] + + +Processing SessionsController#destroy (for 127.0.0.1 at 2012-01-24 16:37:15) [GET] + Parameters: {"action"=>"destroy", "controller"=>"sessions"} +Redirected to http://localhost:3000/ +Completed in 2ms (DB: 0) | 302 Found [http://localhost/logout] + + +Processing SessionsController#new (for 127.0.0.1 at 2012-01-24 16:37:15) [GET] + Parameters: {"action"=>"new", "controller"=>"sessions"} +Rendering template within layouts/application +Rendering sessions/new +Completed in 10ms (View: 8, DB: 0) | 200 OK [http://localhost/] + + +Processing UsersController#new (for 127.0.0.1 at 2012-01-24 16:37:16) [GET] + Parameters: {"action"=>"new", "controller"=>"users"} +Rendering template within layouts/application +Rendering users/new +Completed in 24ms (View: 12, DB: 0) | 200 OK [http://localhost/signup] + + +Processing SessionsController#new (for 127.0.0.1 at 2012-01-24 16:37:20) [GET] + Parameters: {"action"=>"new", "controller"=>"sessions"} +Rendering template within layouts/application +Rendering sessions/new +Completed in 5ms (View: 3, DB: 0) | 200 OK [http://localhost/login] + + +Processing SessionsController#create (for 127.0.0.1 at 2012-01-24 16:37:24) [POST] + Parameters: {"commit"=>"Log in", "action"=>"create", "authenticity_token"=>"DXVhJQ3nU0pHT9Q4kdhgI/+p1tES3YfdgIKy3AfzHn8=", "controller"=>"sessions", "login"=>"l.robinson1@2009.ljmu.ac.uk", "password"=>"[FILTERED]"} + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."username" = 'l.robinson1@2009.ljmu.ac.uk') LIMIT 1 + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."email" = 'l.robinson1@2009.ljmu.ac.uk') LIMIT 1 +Redirected to http://localhost:3000/holidays +Completed in 9ms (DB: 0) | 302 Found [http://localhost/sessions] + + +Processing HolidaysController#index (for 127.0.0.1 at 2012-01-24 16:37:24) [GET] + Parameters: {"action"=>"index", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays"  +Rendering template within layouts/application +Rendering holidays/index + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 2)  +Completed in 17ms (View: 7, DB: 1) | 200 OK [http://localhost/holidays] + + +Processing HolidaysController#show (for 127.0.0.1 at 2012-01-24 16:37:26) [GET] + Parameters: {"action"=>"show", "id"=>"14", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays" WHERE ("holidays"."id" = 14)  +Rendering template within layouts/application +Rendering holidays/show + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Completed in 17ms (View: 7, DB: 0) | 200 OK [http://localhost/holidays/14] + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:37:26) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:37:26) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"youtube", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:37:26) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"facebook", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:37:26) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU1", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:37:26) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"twitter", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#edit (for 127.0.0.1 at 2012-01-24 16:37:28) [GET] + Parameters: {"action"=>"edit", "id"=>"14", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays" WHERE ("holidays"."id" = 14)  + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Rendering template within layouts/application +Rendering holidays/edit +Rendered holidays/_form (4.7ms) +Completed in 17ms (View: 6, DB: 0) | 200 OK [http://localhost/holidays/14/edit] + + +Processing ApplicationController#index (for 127.0.0.1 at 2012-01-24 16:37:28) [GET] + +ActionController::RoutingError (No route matches "/holidays/14/images/youtube.png" with {:method=>:get}): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing ApplicationController#index (for 127.0.0.1 at 2012-01-24 16:37:28) [GET] + +ActionController::RoutingError (No route matches "/holidays/14/images/twitter.png" with {:method=>:get}): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing ApplicationController#index (for 127.0.0.1 at 2012-01-24 16:37:28) [GET] + +ActionController::RoutingError (No route matches "/holidays/14/images/facebook.png" with {:method=>:get}): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing ApplicationController#index (for 127.0.0.1 at 2012-01-24 16:37:28) [GET] + +ActionController::RoutingError (No route matches "/holidays/14/images/LJMU.png" with {:method=>:get}): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing ApplicationController#index (for 127.0.0.1 at 2012-01-24 16:37:28) [GET] + +ActionController::RoutingError (No route matches "/holidays/14/images/LJMU1.png" with {:method=>:get}): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#show (for 127.0.0.1 at 2012-01-24 16:37:29) [GET] + Parameters: {"action"=>"show", "id"=>"14", "controller"=>"holidays"} + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays" WHERE ("holidays"."id" = 14)  +Rendering template within layouts/application +Rendering holidays/show + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Completed in 16ms (View: 7, DB: 0) | 200 OK [http://localhost/holidays/14] + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:37:30) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:37:30) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"facebook", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:37:30) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"twitter", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:37:30) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU1", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:37:30) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"youtube", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#index (for 127.0.0.1 at 2012-01-24 16:37:33) [GET] + Parameters: {"action"=>"index", "controller"=>"holidays"} + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays"  +Rendering template within layouts/application +Rendering holidays/index + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 2)  +Completed in 13ms (View: 4, DB: 0) | 200 OK [http://localhost/holidays] + + +Processing HolidaysController#new (for 127.0.0.1 at 2012-01-24 16:38:00) [GET] + Parameters: {"action"=>"new", "controller"=>"holidays"} + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Rendering template within layouts/application +Rendering holidays/new +Rendered holidays/_form (5.7ms) +Completed in 16ms (View: 9, DB: 0) | 200 OK [http://localhost/holidays/new] + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:38:00) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"LJMU1", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:38:00) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"youtube", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:38:00) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"facebook", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#images to png (for 127.0.0.1 at 2012-01-24 16:38:00) [GET] + Parameters: {"format"=>"png", "action"=>"images", "id"=>"twitter", "controller"=>"holidays"} + +ActionController::UnknownAction (No action responded to images. Actions: create, current_user, destroy, edit, index, logged_in?, login_required, new, redirect_to_target_or_default, show, and update): + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendering rescues/layout (not_found) + + +Processing HolidaysController#index (for 127.0.0.1 at 2012-01-24 16:38:02) [GET] + Parameters: {"action"=>"index", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays"  +Rendering template within layouts/application +Rendering holidays/index + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 2)  +Completed in 61ms (View: 6, DB: 1) | 200 OK [http://localhost/holidays] + + +Processing HolidaysController#index (for 127.0.0.1 at 2012-01-24 16:39:30) [GET] + Parameters: {"action"=>"index", "controller"=>"holidays"} + User Load (0.3ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.4ms) SELECT * FROM "holidays"  +Rendering template within layouts/application +Rendering holidays/index + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 2)  +Completed in 24ms (View: 9, DB: 1) | 200 OK [http://localhost/holidays] + + +Processing HolidaysController#new (for 127.0.0.1 at 2012-01-24 16:39:31) [GET] + Parameters: {"action"=>"new", "controller"=>"holidays"} + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Rendering template within layouts/application +Rendering holidays/new +Rendered holidays/_form (5.3ms) +Completed in 16ms (View: 8, DB: 0) | 200 OK [http://localhost/holidays/new] + + +Processing HolidaysController#index (for 127.0.0.1 at 2012-01-24 16:39:33) [GET] + Parameters: {"action"=>"index", "controller"=>"holidays"} + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays"  +Rendering template within layouts/application +Rendering holidays/index + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 2)  +Completed in 14ms (View: 6, DB: 1) | 200 OK [http://localhost/holidays] + + +Processing HolidaysController#new (for 127.0.0.1 at 2012-01-24 16:40:00) [GET] + Parameters: {"action"=>"new", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Rendering template within layouts/application +Rendering holidays/new +Rendered holidays/_form (5.6ms) +Completed in 17ms (View: 7, DB: 0) | 200 OK [http://localhost/holidays/new] + + +Processing HolidaysController#new (for 127.0.0.1 at 2012-01-24 16:41:48) [GET] + Parameters: {"action"=>"new", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Rendering template within layouts/application +Rendering holidays/new + +ActionView::TemplateError (undefined method `merge' for 1:Fixnum) on line #32 of app/views/holidays/_form.html.erb: +29: +30:

+31: <%= h.label :name, "Staff Name" %>
+32: <%= h.text_field :name, current_user.id %> +33:

+34: +35:

+ + app/views/holidays/_form.html.erb:32 + app/views/holidays/_form.html.erb:23 + app/views/holidays/new.html.erb:3 + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendered rescues/_trace (55.3ms) +Rendered rescues/_request_and_response (1.5ms) +Rendering rescues/layout (internal_server_error) + + +Processing HolidaysController#new (for 127.0.0.1 at 2012-01-24 16:42:46) [GET] + Parameters: {"action"=>"new", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Rendering template within layouts/application +Rendering holidays/new +Rendered holidays/_form (7.8ms) +Completed in 21ms (View: 12, DB: 0) | 200 OK [http://localhost/holidays/new] + + +Processing HolidaysController#new (for 127.0.0.1 at 2012-01-24 16:42:57) [GET] + Parameters: {"action"=>"new", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Rendering template within layouts/application +Rendering holidays/new +Rendered holidays/_form (8.1ms) +Completed in 23ms (View: 13, DB: 0) | 200 OK [http://localhost/holidays/new] + + +Processing HolidaysController#index (for 127.0.0.1 at 2012-01-24 16:43:19) [GET] + Parameters: {"action"=>"index", "controller"=>"holidays"} + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays"  +Rendering template within layouts/application +Rendering holidays/index + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 2)  +Completed in 11ms (View: 4, DB: 0) | 200 OK [http://localhost/holidays] + + +Processing HolidaysController#new (for 127.0.0.1 at 2012-01-24 16:45:01) [GET] + Parameters: {"action"=>"new", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Rendering template within layouts/application +Rendering holidays/new +Rendered holidays/_form (5.9ms) +Completed in 18ms (View: 7, DB: 0) | 200 OK [http://localhost/holidays/new] + + +Processing HolidaysController#new (for 127.0.0.1 at 2012-01-24 16:48:03) [GET] + Parameters: {"action"=>"new", "controller"=>"holidays"} + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Rendering template within layouts/application +Rendering holidays/new +ERROR: compiling _run_erb_app47views47holidays47_form46html46erb_locals_form_object RAISED compile error +/home/leer/Code/ljmuholiday/app/views/holidays/_form.html.erb:32: syntax error, unexpected ':', expecting ')' +...sername, :disabled => 'true' : ).to_s); @output_buffer.conca... + ^ +Function body: def _run_erb_app47views47holidays47_form46html46erb_locals_form_object(local_assigns) + old_output_buffer = output_buffer;object = local_assigns[:object];form = local_assigns[:form];;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "\n\n\n\n\n\n\n

\n\n
\"LJMUHeader\"
\n \n
\"LJMULogo\"\n

LJMU Contact Information

\n\t

Telephone Number: 0151 231 2121

\n\t

Other contact information is available on the LJMU website

\n
\n\n


\n\n\n

Holiday Details

\n\n" + + + + + + + + + + + + + + + + + + + + + +; form_for @holiday do |h| ; @output_buffer.concat "\n\n

\n " + + +; @output_buffer.concat(( h.label :userid, "User ID" ).to_s); @output_buffer.concat "
\n " +; @output_buffer.concat(( h.text_field :userid ).to_s); @output_buffer.concat "\n

\n\n

\n " + + + +; @output_buffer.concat(( h.label :name, "Staff Name" ).to_s); @output_buffer.concat "
\n " +; @output_buffer.concat(( h.text_field :name, :value => current_user.username, :disabled => 'true' : ).to_s); @output_buffer.concat "\n

\n\n

\n " + + + +; @output_buffer.concat(( h.label :amountofdays, "Amount of Days:" ).to_s); @output_buffer.concat "
\n " +; @output_buffer.concat(( h.text_field :amountofdays ).to_s); @output_buffer.concat "\n

\n\n

\n " + + + +; @output_buffer.concat(( h.label :startdate, "Start Date:" ).to_s); @output_buffer.concat "
\n " +; @output_buffer.concat(( h.text_field :startdate ).to_s); @output_buffer.concat "\n

\n\n

\n " + + + +; @output_buffer.concat(( h.label :enddate, "End Date" ).to_s); @output_buffer.concat "
\n " +; @output_buffer.concat(( h.text_field :enddate ).to_s); @output_buffer.concat "\n

\n\n

\n " + + + +; @output_buffer.concat(( h.submit "Save Holiday" ).to_s); @output_buffer.concat " | "; @output_buffer.concat(( link_to "Return to holidays", @holiday ).to_s); @output_buffer.concat "\n

\n\n" + + +; end ; @output_buffer.concat "\n\n
\n\n
\n \n
\n \"LJMUSocialNetwork\"\n \"YoutubeSocialNetwork\"\n \"FacebookSocialNetwork\"\n \"TwitterSocialNetwork\"\n\t
\n \n
\n

Social Networking

\n

You can find LJMU on the above social networking websites or return to the LJMU Website.

\n
\n \n
\n\t\n

Copyright LJMU. All Rights Reserved.\n\n \n \n \n \"Valid\n\n

\n\n \t
\n \t
\n\n" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +; @output_buffer + ensure + self.output_buffer = old_output_buffer + end +Backtrace: /home/leer/Code/ljmuholiday/app/views/holidays/_form.html.erb:92:in `compile!' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable.rb:61:in `compile' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable.rb:28:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable_partial.rb:20:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:26:in `benchmark' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:26:in `benchmark' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable_partial.rb:19:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/template.rb:205:in `render_template' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable_partial.rb:44:in `render_partial' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/partials.rb:184:in `render_partial' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/base.rb:267:in `render' +/home/leer/Code/ljmuholiday/app/views/holidays/new.html.erb:3:in `_run_erb_app47views47holidays47new46html46erb' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable.rb:34:in `send' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable.rb:34:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/base.rb:306:in `with_template' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable.rb:30:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/template.rb:205:in `render_template' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/base.rb:265:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/base.rb:348:in `_render_with_layout' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/base.rb:262:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:1252:in `render_for_file' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:936:in `render_without_benchmark' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:51:in `render' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:51:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:1328:in `default_render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:1334:in `perform_action_without_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/filters.rb:617:in `call_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/flash.rb:151:in `perform_action' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:532:in `send' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:532:in `process_without_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/filters.rb:606:in `process' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:391:in `process' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:386:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/routing/route_set.rb:438:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:87:in `dispatch' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:121:in `_call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:29:in `call' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:29:in `call' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:9:in `cache' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:28:in `call' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/string_coercion.rb:25:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/head.rb:9:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/methodoverride.rb:24:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/params_parser.rb:15:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/session/cookie_store.rb:99:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/failsafe.rb:26:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `synchronize' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:114:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/reloader.rb:34:in `run' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:108:in `call' +/usr/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/rack/static.rb:31:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/urlmap.rb:47:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/urlmap.rb:41:in `each' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/urlmap.rb:41:in `call' +/usr/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/rack/log_tailer.rb:17:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/content_length.rb:13:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/handler/webrick.rb:48:in `service' +/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' +/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' +/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' +/usr/lib/ruby/1.8/webrick/server.rb:162:in `start' +/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' +/usr/lib/ruby/1.8/webrick/server.rb:95:in `start' +/usr/lib/ruby/1.8/webrick/server.rb:92:in `each' +/usr/lib/ruby/1.8/webrick/server.rb:92:in `start' +/usr/lib/ruby/1.8/webrick/server.rb:23:in `start' +/usr/lib/ruby/1.8/webrick/server.rb:82:in `start' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/handler/webrick.rb:14:in `run' +/usr/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/commands/server.rb:111 +/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' +/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' +script/server:3 + +ActionView::TemplateError (compile error +/home/leer/Code/ljmuholiday/app/views/holidays/_form.html.erb:32: syntax error, unexpected ':', expecting ')' +...sername, :disabled => 'true' : ).to_s); @output_buffer.conca... + ^) on line #32 of app/views/holidays/_form.html.erb: +29: +30:

+31: <%= h.label :name, "Staff Name" %>
+32: <%= h.text_field :name, :value => current_user.username, :disabled => 'true' : %> +33:

+34: +35:

+ + app/views/holidays/_form.html.erb:92:in `compile!' + app/views/holidays/new.html.erb:3 + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendered rescues/_trace (93.6ms) +Rendered rescues/_request_and_response (0.3ms) +Rendering rescues/layout (internal_server_error) + + +Processing HolidaysController#new (for 127.0.0.1 at 2012-01-24 16:51:25) [GET] + Parameters: {"action"=>"new", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Rendering template within layouts/application +Rendering holidays/new +ERROR: compiling _run_erb_app47views47holidays47_form46html46erb_locals_form_object RAISED compile error +/home/leer/Code/ljmuholiday/app/views/holidays/_form.html.erb:32: syntax error, unexpected ':', expecting ')' +....username, :disabled => true : ).to_s); @output_buffer.conca... + ^ +Function body: def _run_erb_app47views47holidays47_form46html46erb_locals_form_object(local_assigns) + old_output_buffer = output_buffer;object = local_assigns[:object];form = local_assigns[:form];;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "\n\n\n\n\n\n\n

\n\n
\"LJMUHeader\"
\n \n
\"LJMULogo\"\n

LJMU Contact Information

\n\t

Telephone Number: 0151 231 2121

\n\t

Other contact information is available on the LJMU website

\n
\n\n


\n\n\n

Holiday Details

\n\n" + + + + + + + + + + + + + + + + + + + + + +; form_for @holiday do |h| ; @output_buffer.concat "\n\n

\n " + + +; @output_buffer.concat(( h.label :userid, "User ID" ).to_s); @output_buffer.concat "
\n " +; @output_buffer.concat(( h.text_field :userid ).to_s); @output_buffer.concat "\n

\n\n

\n " + + + +; @output_buffer.concat(( h.label :name, "Staff Name" ).to_s); @output_buffer.concat "
\n " +; @output_buffer.concat(( h.text_field :name, :value => current_user.username, :disabled => true : ).to_s); @output_buffer.concat "\n

\n\n

\n " + + + +; @output_buffer.concat(( h.label :amountofdays, "Amount of Days:" ).to_s); @output_buffer.concat "
\n " +; @output_buffer.concat(( h.text_field :amountofdays ).to_s); @output_buffer.concat "\n

\n\n

\n " + + + +; @output_buffer.concat(( h.label :startdate, "Start Date:" ).to_s); @output_buffer.concat "
\n " +; @output_buffer.concat(( h.text_field :startdate ).to_s); @output_buffer.concat "\n

\n\n

\n " + + + +; @output_buffer.concat(( h.label :enddate, "End Date" ).to_s); @output_buffer.concat "
\n " +; @output_buffer.concat(( h.text_field :enddate ).to_s); @output_buffer.concat "\n

\n\n

\n " + + + +; @output_buffer.concat(( h.submit "Save Holiday" ).to_s); @output_buffer.concat " | "; @output_buffer.concat(( link_to "Return to holidays", @holiday ).to_s); @output_buffer.concat "\n

\n\n" + + +; end ; @output_buffer.concat "\n\n
\n\n
\n \n
\n \"LJMUSocialNetwork\"\n \"YoutubeSocialNetwork\"\n \"FacebookSocialNetwork\"\n \"TwitterSocialNetwork\"\n\t
\n \n
\n

Social Networking

\n

You can find LJMU on the above social networking websites or return to the LJMU Website.

\n
\n \n
\n\t\n

Copyright LJMU. All Rights Reserved.\n\n \n \n \n \"Valid\n\n

\n\n \t
\n \t
\n\n" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +; @output_buffer + ensure + self.output_buffer = old_output_buffer + end +Backtrace: /home/leer/Code/ljmuholiday/app/views/holidays/_form.html.erb:92:in `compile!' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable.rb:61:in `compile' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable.rb:28:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable_partial.rb:20:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:26:in `benchmark' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:26:in `benchmark' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable_partial.rb:19:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/template.rb:205:in `render_template' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable_partial.rb:44:in `render_partial' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/partials.rb:184:in `render_partial' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/base.rb:267:in `render' +/home/leer/Code/ljmuholiday/app/views/holidays/new.html.erb:3:in `_run_erb_app47views47holidays47new46html46erb' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable.rb:34:in `send' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable.rb:34:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/base.rb:306:in `with_template' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/renderable.rb:30:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/template.rb:205:in `render_template' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/base.rb:265:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/base.rb:348:in `_render_with_layout' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_view/base.rb:262:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:1252:in `render_for_file' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:936:in `render_without_benchmark' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:51:in `render' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:51:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:1328:in `default_render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:1334:in `perform_action_without_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/filters.rb:617:in `call_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/flash.rb:151:in `perform_action' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:532:in `send' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:532:in `process_without_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/filters.rb:606:in `process' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:391:in `process' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/base.rb:386:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/routing/route_set.rb:438:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:87:in `dispatch' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:121:in `_call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:29:in `call' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:29:in `call' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:9:in `cache' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:28:in `call' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/string_coercion.rb:25:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/head.rb:9:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/methodoverride.rb:24:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/params_parser.rb:15:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/session/cookie_store.rb:99:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/failsafe.rb:26:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `synchronize' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:114:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/reloader.rb:34:in `run' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:108:in `call' +/usr/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/rack/static.rb:31:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/urlmap.rb:47:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/urlmap.rb:41:in `each' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/urlmap.rb:41:in `call' +/usr/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/rack/log_tailer.rb:17:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/content_length.rb:13:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/handler/webrick.rb:48:in `service' +/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' +/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' +/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' +/usr/lib/ruby/1.8/webrick/server.rb:162:in `start' +/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' +/usr/lib/ruby/1.8/webrick/server.rb:95:in `start' +/usr/lib/ruby/1.8/webrick/server.rb:92:in `each' +/usr/lib/ruby/1.8/webrick/server.rb:92:in `start' +/usr/lib/ruby/1.8/webrick/server.rb:23:in `start' +/usr/lib/ruby/1.8/webrick/server.rb:82:in `start' +/usr/lib/ruby/gems/1.8/gems/rack-1.1.2/lib/rack/handler/webrick.rb:14:in `run' +/usr/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/commands/server.rb:111 +/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' +/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' +script/server:3 + +ActionView::TemplateError (compile error +/home/leer/Code/ljmuholiday/app/views/holidays/_form.html.erb:32: syntax error, unexpected ':', expecting ')' +....username, :disabled => true : ).to_s); @output_buffer.conca... + ^) on line #32 of app/views/holidays/_form.html.erb: +29: +30:

+31: <%= h.label :name, "Staff Name" %>
+32: <%= h.text_field :name, :value => current_user.username, :disabled => true : %> +33:

+34: +35:

+ + app/views/holidays/_form.html.erb:92:in `compile!' + app/views/holidays/new.html.erb:3 + /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' + /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' + /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' + /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' + /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' + /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' + +Rendered rescues/_trace (46.3ms) +Rendered rescues/_request_and_response (0.3ms) +Rendering rescues/layout (internal_server_error) + + +Processing HolidaysController#new (for 127.0.0.1 at 2012-01-24 16:51:30) [GET] + Parameters: {"action"=>"new", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Rendering template within layouts/application +Rendering holidays/new +Rendered holidays/_form (9.0ms) +Completed in 70ms (View: 13, DB: 0) | 200 OK [http://localhost/holidays/new] + + +Processing HolidaysController#index (for 127.0.0.1 at 2012-01-24 16:52:15) [GET] + Parameters: {"action"=>"index", "controller"=>"holidays"} + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays"  +Rendering template within layouts/application +Rendering holidays/index + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 2)  +Completed in 14ms (View: 5, DB: 0) | 200 OK [http://localhost/holidays] + + +Processing HolidaysController#show (for 127.0.0.1 at 2012-01-24 16:52:21) [GET] + Parameters: {"action"=>"show", "id"=>"14", "controller"=>"holidays"} + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.3ms) SELECT * FROM "holidays" WHERE ("holidays"."id" = 14)  +Rendering template within layouts/application +Rendering holidays/show + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Completed in 20ms (View: 12, DB: 0) | 200 OK [http://localhost/holidays/14] + + +Processing HolidaysController#edit (for 127.0.0.1 at 2012-01-24 16:52:22) [GET] + Parameters: {"action"=>"edit", "id"=>"14", "controller"=>"holidays"} + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.1ms) SELECT * FROM "holidays" WHERE ("holidays"."id" = 14)  + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Rendering template within layouts/application +Rendering holidays/edit +Rendered holidays/_form (9.7ms) +Completed in 20ms (View: 13, DB: 0) | 200 OK [http://localhost/holidays/14/edit] + + +Processing HolidaysController#show (for 127.0.0.1 at 2012-01-24 16:52:26) [GET] + Parameters: {"action"=>"show", "id"=>"14", "controller"=>"holidays"} + User Load (0.1ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays" WHERE ("holidays"."id" = 14)  +Rendering template within layouts/application +Rendering holidays/show + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  +Completed in 59ms (View: 7, DB: 0) | 200 OK [http://localhost/holidays/14] + + +Processing HolidaysController#index (for 127.0.0.1 at 2012-01-24 16:52:28) [GET] + Parameters: {"action"=>"index", "controller"=>"holidays"} + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + Holiday Load (0.2ms) SELECT * FROM "holidays"  +Rendering template within layouts/application +Rendering holidays/index + CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1)  + User Load (0.2ms) SELECT * FROM "users" WHERE ("users"."id" = 2)  +Completed in 15ms (View: 6, DB: 1) | 200 OK [http://localhost/holidays]