Browse Source

mise à jour README et gitignore

master
François Vaux 10 years ago
parent
commit
7ebaa0b944
7 changed files with 19 additions and 4702 deletions
  1. +1
    -0
      .gitignore
  2. +18
    -0
      README
  3. BIN
      db/development.sqlite3
  4. +0
    -4702
      log/development.log
  5. +0
    -0
      log/production.log
  6. +0
    -0
      log/server.log
  7. +0
    -0
      log/test.log

+ 1
- 0
.gitignore View File

@ -1 +1,2 @@
db/*.sqlite3
log/

+ 18
- 0
README View File

@ -1,3 +1,21 @@
== EvoResa
EvoResa est un sytème de réservation de ressources.
== Pour l'instant
=== Ajouter une ressource :
$ ./script/console
>> Item.new(:name => "Nom de la ressource", :email => "Email de diffusion").save
>> Item.last # Affiche les propriétés du dernier Item enregistré
=== Afficher/changer la passphrase
$ rake evoresa:show_key
(in /home/madx/dev/evolix/repos/evoresa)
Current key is: ee7ebb0a6e3ce158407baf986811a3a2
Change with rake evoresa:set_key [KEY=<key>]
$ rake evoresa:set_key # ou rake evoresa:set_key KEY=<passphrase>

BIN
db/development.sqlite3 View File


+ 0
- 4702
log/development.log View File

@ -1,4702 +0,0 @@
SQL (0.4ms)  SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'

SQL (0.2ms) select sqlite_version(*)
SQL (8.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
SQL (5.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
SQL (0.4ms)  SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'

SQL (0.1ms) SELECT version FROM schema_migrations
Migrating to CreateItems (20100722152749)
SQL (0.6ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "key" varchar(255), "created_at" datetime, "updated_at" datetime) 
SQL (0.2ms) INSERT INTO schema_migrations (version) VALUES ('20100722152749')
Migrating to CreateEvents (20100722153153)
SQL (0.5ms) CREATE TABLE "events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "details" text, "item_id" integer, "color" varchar(255), "created_at" datetime, "updated_at" datetime) 
SQL (0.1ms) INSERT INTO schema_migrations (version) VALUES ('20100722153153')
Migrating to CreateBookings (20100722153250)
SQL (0.4ms) CREATE TABLE "bookings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "start_at" datetime, "end_at" datetime, "event_id" integer, "created_at" datetime, "updated_at" datetime) 
SQL (0.2ms) INSERT INTO schema_migrations (version) VALUES ('20100722153250')
SQL (0.5ms)  SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'

SQL (0.3ms) SELECT version FROM schema_migrations
SQL (0.3ms)  SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'

SQL (0.1ms) PRAGMA index_list("bookings")
SQL (0.1ms) PRAGMA index_list("events")
SQL (0.1ms) PRAGMA index_list("items")
Processing ItemsController#show (for 127.0.0.1 at 2010-07-23 10:01:25) [GET]
ActionView::MissingTemplate (Missing template items/show.erb in view path app/views):
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:17:43) [GET]
ActionView::MissingTemplate (Missing template items/index.erb in view path app/views):
Rendering rescues/layout (internal_server_error)
Processing ItemsController#show (for 127.0.0.1 at 2010-07-23 11:18:04) [GET]
Parameters: {"key"=>"authentify"}
ActionView::MissingTemplate (Missing template items/show.erb in view path app/views):
Rendering rescues/layout (internal_server_error)
Processing ItemsController#show (for 127.0.0.1 at 2010-07-23 11:18:35) [GET]
Parameters: {"key"=>"authentify"}
ActionView::MissingTemplate (Missing template items/show.erb in view path app/views):
Rendering rescues/layout (internal_server_error)
Processing ItemsController#show (for 127.0.0.1 at 2010-07-23 11:18:42) [GET]
Parameters: {"key"=>"authentify"}
ActionView::MissingTemplate (Missing template items/show.erb in view path app/views):
Rendering rescues/layout (internal_server_error)
Processing ItemsController#show (for 127.0.0.1 at 2010-07-23 11:18:46) [GET]
Parameters: {"key"=>"authentify"}
ActionView::MissingTemplate (Missing template items/show.erb in view path app/views):
Rendering rescues/layout (internal_server_error)
Processing ItemsController#authentify (for 127.0.0.1 at 2010-07-23 11:19:06) [GET]
Parameters: {"secret"=>"ee7ebb0a6e3ce158407baf986811a3a"}
ActionView::MissingTemplate (Missing template items/authentify.erb in view path app/views):
Rendering rescues/layout (internal_server_error)
Processing ItemsController#authentify (for 127.0.0.1 at 2010-07-23 11:19:32) [GET]
Parameters: {"secret"=>"ee7ebb0a6e3ce158407baf986811a3a"}
Redirected to http://localhost:3000/
Completed in 6ms (DB: 0) | 302 Found [http://localhost/authentify/ee7ebb0a6e3ce158407baf986811a3a]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:19:32) [GET]
ActionView::MissingTemplate (Missing template items/index.erb in view path app/views):
Rendering rescues/layout (internal_server_error)
Processing ItemsController#authentify (for 127.0.0.1 at 2010-07-23 11:19:46) [GET]
Parameters: {"secret"=>"ee7ebb0a6e3ce158407baf986811a3a"}
Redirected to http://localhost:3000/
Completed in 6ms (DB: 0) | 302 Found [http://localhost/authentify/ee7ebb0a6e3ce158407baf986811a3a]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:19:46) [GET]
ActionView::MissingTemplate (Missing template items/index.erb in view path app/views):
Rendering rescues/layout (internal_server_error)
Processing ItemsController#authentify (for 127.0.0.1 at 2010-07-23 11:20:02) [GET]
Parameters: {"secret"=>"ee7ebb0a6e3ce158407baf986811a3a2"}
Redirected to http://localhost:3000/
Completed in 7ms (DB: 0) | 302 Found [http://localhost/authentify/ee7ebb0a6e3ce158407baf986811a3a2]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:20:02) [GET]
ActionView::MissingTemplate (Missing template items/index.erb in view path app/views):
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:22:13) [GET]
ActionView::MissingTemplate (Missing template items/index.erb in view path app/views):
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:22:15) [GET]
ActionView::MissingTemplate (Missing template items/index.erb in view path app/views):
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:22:35) [GET]
ActionView::MissingTemplate (Missing template items/index.erb in view path app/views):
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:22:46) [GET]
ActionView::MissingTemplate (Missing template items/index.erb in view path app/views):
Rendering rescues/layout (internal_server_error)
Processing ItemsController#show (for 127.0.0.1 at 2010-07-23 11:23:15) [GET]
Parameters: {"key"=>"j"}
NameError (undefined local variable or method `sessions' for #<ItemsController:0xb66a59bc>):
app/controllers/items_controller.rb:12:in `show'
Rendered rescues/_trace (116.5ms)
Rendered rescues/_request_and_response (5.9ms)
Rendering rescues/layout (internal_server_error)
Processing ItemsController#show (for 127.0.0.1 at 2010-07-23 11:23:23) [GET]
Parameters: {"key"=>"j"}
ActionView::MissingTemplate (Missing template items/show.erb in view path app/views):
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:23:33) [GET]
ActionView::MissingTemplate (Missing template items/public_index.erb in view path app/views):
app/controllers/items_controller.rb:6:in `index'
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:23:41) [GET]
Rendering template within layouts/application
Rendering items/public_index
Completed in 90ms (View: 84, DB: 0) | 200 OK [http://localhost/]
Processing ApplicationController#index (for 127.0.0.1 at 2010-07-23 11:23:41) [GET]
ActionController::RoutingError (No route matches "/stylesheets/reset-min.css" with {:method=>:get}):
Rendering rescues/layout (not_found)
Processing ApplicationController#index (for 127.0.0.1 at 2010-07-23 11:23:41) [GET]
ActionController::RoutingError (No route matches "/stylesheets/main.css" with {:method=>:get}):
Rendering rescues/layout (not_found)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:24:21) [GET]
Rendering template within layouts/application
Rendering items/public_index
Completed in 20ms (View: 13, DB: 0) | 200 OK [http://localhost/]
Processing ApplicationController#index (for 127.0.0.1 at 2010-07-23 11:24:21) [GET]
ActionController::RoutingError (No route matches "/images/help.png" with {:method=>:get}):
Rendering rescues/layout (not_found)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:25:07) [GET]
Rendering template within layouts/application
Rendering items/public_index
Completed in 21ms (View: 14, DB: 0) | 200 OK [http://localhost/]
Processing ApplicationController#index (for 127.0.0.1 at 2010-07-23 11:25:07) [GET]
ActionController::RoutingError (No route matches "/images/help.png" with {:method=>:get}):
Rendering rescues/layout (not_found)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:25:37) [GET]
Rendering template within layouts/application
Rendering items/public_index
Completed in 9ms (View: 3, DB: 0) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:25:42) [GET]
Rendering template within layouts/application
Rendering items/public_index
Completed in 19ms (View: 13, DB: 0) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:27:19) [GET]
Rendering template within layouts/application
Rendering items/public_index
Completed in 9ms (View: 3, DB: 0) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:27:31) [GET]
Rendering template within layouts/application
Rendering items/public_index
Completed in 19ms (View: 13, DB: 0) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:27:53) [GET]
Rendering template within layouts/application
Rendering items/public_index
Completed in 19ms (View: 13, DB: 0) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:43:34) [GET]
Rendering template within layouts/application
Rendering items/public_index
Completed in 25ms (View: 13, DB: 0) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:43:54) [GET]
Rendering template within layouts/application
Rendering items/public_index
Completed in 21ms (View: 14, DB: 0) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:45:38) [GET]
Rendering template within layouts/application
Rendering items/public_index
Completed in 20ms (View: 14, DB: 0) | 200 OK [http://localhost/]
Processing ItemsController#authentify (for 127.0.0.1 at 2010-07-23 11:45:44) [GET]
Parameters: {"secret"=>"ee7ebb0a6e3ce158407baf986811a3a2"}
Redirected to http://localhost:3000/
Completed in 7ms (DB: 0) | 302 Found [http://localhost/authentify/ee7ebb0a6e3ce158407baf986811a3a2]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:45:44) [GET]
Rendering template within layouts/application
Rendering items/index
Completed in 21ms (View: 14, DB: 0) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:47:48) [GET]
SyntaxError (/home/madx/dev/evolix/repos/evoresa2/app/models/item.rb:12: syntax error, unexpected tLSHFT, expecting '<' or '\n' or ';'
class NotFound << StandardError; end
^):
app/controllers/items_controller.rb:5:in `index'
Rendered rescues/_trace (121.2ms)
Rendered rescues/_request_and_response (0.8ms)
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:48:00) [GET]
Item Load (1.3ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Completed in 54ms (View: 13, DB: 1) | 200 OK [http://localhost/]
Item Create (0.9ms) INSERT INTO "items" ("name", "created_at", "updated_at", "key", "email") VALUES('Salle de réunion', '2010-07-23 09:50:34', '2010-07-23 09:50:34', 'df4fac63f77f6896bb09d3b8f01441f7', 'madx@yapok.org')
Item Create (0.6ms) INSERT INTO "items" ("name", "created_at", "updated_at", "key", "email") VALUES('Rétroprojecteur', '2010-07-23 09:50:46', '2010-07-23 09:50:46', 'ea30e7bf781a84c83a5f250f47246b3b', 'madx@yapok.org')
Item Load (1.1ms) SELECT * FROM "items" 
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:50:50) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (9.4ms)
Rendered items/_item (0.3ms)
Completed in 44ms (View: 24, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:51:05) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (7.1ms)
Rendered items/_item (0.3ms)
Completed in 41ms (View: 21, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:51:37) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (7.4ms)
Rendered items/_item (0.3ms)
Completed in 40ms (View: 21, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:51:59) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (161.8ms)
Rendered items/_item (0.7ms)
Completed in 194ms (View: 176, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:52:36) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (8.0ms)
Rendered items/_item (0.5ms)
Completed in 41ms (View: 22, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:53:02) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (8.2ms)
Rendered items/_item (0.5ms)
Completed in 44ms (View: 23, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:53:07) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (8.0ms)
Rendered items/_item (0.5ms)
Completed in 51ms (View: 24, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:53:50) [GET]
Item Load (1.8ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (7.5ms)
Rendered items/_item (0.5ms)
Completed in 39ms (View: 13, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:53:51) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.2ms)
Rendered items/_item (0.5ms)
Completed in 30ms (View: 11, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:54:05) [GET]
Item Load (1.8ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.3ms)
Rendered items/_item (0.5ms)
Completed in 30ms (View: 11, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:54:06) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.5ms)
Rendered items/_item (0.5ms)
Completed in 34ms (View: 11, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:54:07) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.7ms)
Rendered items/_item (0.5ms)
Completed in 158ms (View: 12, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:54:21) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (7.0ms)
Rendered items/_item (0.5ms)
Completed in 36ms (View: 12, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:54:22) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.4ms)
Rendered items/_item (0.5ms)
Completed in 31ms (View: 11, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:54:27) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.4ms)
Rendered items/_item (0.5ms)
Completed in 30ms (View: 11, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:54:37) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.3ms)
Rendered items/_item (0.5ms)
Completed in 30ms (View: 11, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:54:52) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.2ms)
Rendered items/_item (0.5ms)
Completed in 30ms (View: 11, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:55:07) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.3ms)
Rendered items/_item (0.5ms)
Completed in 29ms (View: 11, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:55:35) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (7.1ms)
Rendered items/_item (0.5ms)
Completed in 173ms (View: 12, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:55:42) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.5ms)
Rendered items/_item (0.5ms)
Completed in 31ms (View: 11, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:55:43) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.4ms)
Rendered items/_item (0.5ms)
Completed in 31ms (View: 11, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:56:04) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (8.0ms)
Rendered items/_item (0.5ms)
Completed in 41ms (View: 22, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:56:19) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.4ms)
Rendered items/_item (0.5ms)
Completed in 30ms (View: 11, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:56:20) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.1ms)
Rendered items/_item (0.5ms)
Completed in 29ms (View: 11, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:56:27) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (8.2ms)
Rendered items/_item (0.5ms)
Completed in 41ms (View: 22, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:56:45) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (42.2ms)
Rendered items/_item (1.1ms)
Completed in 78ms (View: 58, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:56:54) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (8.4ms)
Rendered items/_item (0.8ms)
Completed in 42ms (View: 23, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:57:18) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.8ms)
Rendered items/_item (0.8ms)
Completed in 31ms (View: 12, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:57:18) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (11.1ms)
Rendered items/_item (0.8ms)
Completed in 42ms (View: 17, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:57:19) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.5ms)
Rendered items/_item (0.8ms)
Completed in 30ms (View: 11, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:57:46) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.6ms)
Rendered items/_item (0.8ms)
Completed in 32ms (View: 12, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:57:51) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (7.2ms)
Rendered items/_item (0.8ms)
Completed in 32ms (View: 12, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:57:52) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.9ms)
Rendered items/_item (0.8ms)
Completed in 31ms (View: 12, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:58:05) [GET]
Item Load (2.8ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (7.0ms)
Rendered items/_item (0.8ms)
Completed in 33ms (View: 12, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:58:06) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.7ms)
Rendered items/_item (0.8ms)
Completed in 31ms (View: 12, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:58:19) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.6ms)
Rendered items/_item (0.9ms)
Completed in 30ms (View: 12, DB: 2) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 11:58:21) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Rendered items/_item (6.6ms)
Rendered items/_item (0.8ms)
Completed in 30ms (View: 11, DB: 2) | 200 OK [http://localhost/]
Item Load (0.8ms) SELECT * FROM "items" LIMIT 1
Event Create (0.7ms) INSERT INTO "events" ("created_at", "title", "details", "updated_at", "color", "item_id") VALUES('2010-07-23 10:00:23', '[Evolix] EvoBilan', 'Réunion hebdomadaire de l''équipe', '2010-07-23 10:00:23', NULL, 1)
Item Load (0.8ms) SELECT * FROM "items" LIMIT 1
Event Load (0.8ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:02:18) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (1.6ms)
Rendered items/_item (176.0ms)
Event Load (0.5ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (3.1ms)
Completed in 211ms (View: 191, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:02:50) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (1.7ms)
Rendered items/_item (39.0ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (2.8ms)
Completed in 66ms (View: 45, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:02:51) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (27.1ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (3.0ms)
Completed in 53ms (View: 33, DB: 3) | 200 OK [http://localhost/]
Item Load (0.9ms) SELECT * FROM "items" LIMIT 1
Event Load (0.7ms) SELECT * FROM "events" WHERE ("events".item_id = 1) LIMIT 1
Item Load (0.9ms) SELECT * FROM "items" LIMIT 1
Event Load (0.7ms) SELECT * FROM "events" WHERE ("events".item_id = 1) LIMIT 1
Event Update (0.6ms) UPDATE "events" SET "updated_at" = '2010-07-23 10:03:14', "color" = '#2dd706' WHERE "id" = 1
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:03:16) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (27.3ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (2.7ms)
Completed in 53ms (View: 33, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:04:06) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (27.4ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (2.7ms)
Completed in 53ms (View: 33, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:04:19) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.4ms)
Rendered items/_item (36.0ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (3.0ms)
Completed in 65ms (View: 43, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:04:26) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (28.7ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (3.8ms)
Completed in 61ms (View: 36, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:04:30) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (27.4ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (2.6ms)
Completed in 53ms (View: 33, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:04:31) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (26.9ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (2.7ms)
Completed in 52ms (View: 32, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:04:35) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (27.7ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (3.0ms)
Completed in 56ms (View: 33, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:04:37) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (28.8ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (2.9ms)
Completed in 56ms (View: 35, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:04:52) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (1.2ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (30.7ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (2.8ms)
Completed in 60ms (View: 36, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:04:58) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (30.8ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (3.1ms)
Completed in 73ms (View: 37, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:04:59) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (26.7ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (2.7ms)
Completed in 53ms (View: 32, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:05:05) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (26.7ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (2.7ms)
Completed in 53ms (View: 32, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:05:06) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (28.9ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (2.8ms)
Completed in 56ms (View: 35, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:05:07) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (28.1ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (2.7ms)
Completed in 55ms (View: 34, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:05:23) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (27.9ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (4.1ms)
Completed in 59ms (View: 35, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:05:24) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (26.7ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (2.6ms)
Completed in 52ms (View: 32, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:05:50) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (28.9ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (3.5ms)
Completed in 64ms (View: 44, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:06:05) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.4ms)
Rendered items/_item (31.2ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (2.8ms)
Completed in 69ms (View: 48, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:06:47) [GET]
Item Load (1.8ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (35.8ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (4.1ms)
Completed in 74ms (View: 53, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:07:52) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (28.1ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (4.0ms)
Completed in 55ms (View: 35, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:07:53) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (35.6ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (4.2ms)
Completed in 68ms (View: 43, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:07:54) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (27.7ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (4.0ms)
Completed in 54ms (View: 34, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:08:45) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
ERROR: compiling _run_erb_app47views47items47_item46html46erb_locals_item_item_counter_object RAISED compile error
/home/madx/dev/evolix/repos/evoresa2/app/views/items/_item.html.erb:12: syntax error, unexpected '<', expecting ')'
</span>
^
/home/madx/dev/evolix/repos/evoresa2/app/views/items/_item.html.erb:13: unknown regexp option - p
/home/madx/dev/evolix/repos/evoresa2/app/views/items/_item.html.erb:15: syntax error, unexpected '<'
<ul class="event-list">
^
/home/madx/dev/evolix/repos/evoresa2/app/views/items/_item.html.erb:16: syntax error, unexpected '<'
<%= render :partial => 'events/...
^
/home/madx/dev/evolix/repos/evoresa2/app/views/items/_item.html.erb:16: syntax error, unexpected ',', expecting ')'
...er :partial => 'events/event', :collection => item.events )....
^
Function body: def _run_erb_app47views47items47_item46html46erb_locals_item_item_counter_object(local_assigns)
old_output_buffer = output_buffer;object = local_assigns[:object];item_counter = local_assigns[:item_counter];item = local_assigns[:item];;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "<li class=\"item\">\n <h2>"
; @output_buffer.concat(( item.name ).to_s); @output_buffer.concat "</h2>\n <p>\n <span class=\"key\">"
; @output_buffer.concat((
link_to item.key, item_path(:key => item.key)
).to_s); @output_buffer.concat "</span>\n &lt;<span class=\"email\">"
; @output_buffer.concat((
link_to item.email, "mailto:#{item.email}"
).to_s); @output_buffer.concat "</span>&gt;\n <span class=\"edit\">\n "
; @output_buffer.concat(( link_to "Éditer", edit_item_path(item)
</span>
</p>
<ul class="event-list">
<%= render :partial => 'events/event', :collection => item.events ).to_s); @output_buffer.concat "\n </ul>\n\n <p class=\"timestamps\">\n "
; @output_buffer.concat(( item.created_at.localtime.strftime('Créé le %d/%m/%Y à %Hh%M') ).to_s); @output_buffer.concat "\n </p>\n</li>\n"
; @output_buffer
ensure
self.output_buffer = old_output_buffer
end
Backtrace: /home/madx/dev/evolix/repos/evoresa2/app/views/items/_item.html.erb:26:in `compile!'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:61:in `compile'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:28:in `render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable_partial.rb:20:in `render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:26:in `benchmark'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/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.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:26:in `benchmark'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable_partial.rb:19:in `render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in `render_template'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable_partial.rb:44:in `render_partial'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/partials.rb:221:in `render_partial_collection'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/partials.rb:216:in `map'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/partials.rb:216:in `render_partial_collection'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/partials.rb:182:in `render_partial'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:267:in `render'
/home/madx/dev/evolix/repos/evoresa2/app/views/items/index.html.erb:4:in `_run_erb_app47views47items47index46html46erb'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in `send'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in `render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:306:in `with_template'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:30:in `render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in `render_template'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in `render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:348:in `_render_with_layout'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in `render'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in `render_for_file'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:951:in `render_without_benchmark'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/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.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render'
/home/madx/dev/evolix/repos/evoresa2/app/controllers/items_controller.rb:6:in `index'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `send'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `perform_action_without_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in `call_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/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.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `send'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `process_without_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in `process'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in `process'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in `_call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in `cache'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in `call'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in `call'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in `run'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in `call'
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call'
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/chunked.rb:15:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:64:in `process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
/usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:34:in `run'
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
./script/server:3
ActionView::TemplateError (compile error
/home/madx/dev/evolix/repos/evoresa2/app/views/items/_item.html.erb:12: syntax error, unexpected '<', expecting ')'
</span>
^
/home/madx/dev/evolix/repos/evoresa2/app/views/items/_item.html.erb:13: unknown regexp option - p
/home/madx/dev/evolix/repos/evoresa2/app/views/items/_item.html.erb:15: syntax error, unexpected '<'
<ul class="event-list">
^
/home/madx/dev/evolix/repos/evoresa2/app/views/items/_item.html.erb:16: syntax error, unexpected '<'
<%= render :partial => 'events/...
^
/home/madx/dev/evolix/repos/evoresa2/app/views/items/_item.html.erb:16: syntax error, unexpected ',', expecting ')'
...er :partial => 'events/event', :collection => item.events )....
^) on line #12 of app/views/items/_item.html.erb:
9: %></span>&gt;
10: <span class="edit">
11: <%= link_to "Éditer", edit_item_path(item)
12: </span>
13: </p>
14:
15: <ul class="event-list">
app/views/items/_item.html.erb:26:in `compile!'
app/views/items/index.html.erb:4
app/controllers/items_controller.rb:6:in `index'
Rendered rescues/_trace (160.3ms)
Rendered rescues/_request_and_response (0.7ms)
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:08:51) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (30.3ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (4.2ms)
Completed in 66ms (View: 46, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:09:01) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (173.8ms)
Event Load (0.5ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.9ms)
Completed in 211ms (View: 192, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:09:53) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (31.4ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.6ms)
Completed in 61ms (View: 40, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:10:17) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (32.7ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.5ms)
Completed in 71ms (View: 51, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:10:50) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (29.5ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.7ms)
Completed in 58ms (View: 38, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:10:51) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (29.4ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.4ms)
Completed in 58ms (View: 38, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:10:58) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (35.9ms)
Event Load (0.5ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (6.2ms)
Completed in 217ms (View: 46, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:11:00) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.4ms)
Rendered items/_item (30.7ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.6ms)
Completed in 62ms (View: 39, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:11:00) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (29.6ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.5ms)
Completed in 58ms (View: 38, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:11:06) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (29.9ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.4ms)
Completed in 58ms (View: 38, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:11:06) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.4ms)
Rendered items/_item (29.1ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.7ms)
Completed in 57ms (View: 38, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:11:07) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (41.9ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.8ms)
Completed in 205ms (View: 51, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:11:19) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (34.1ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (6.0ms)
Completed in 68ms (View: 43, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:11:21) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (29.3ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.6ms)
Completed in 57ms (View: 38, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:11:27) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (32.0ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (6.0ms)
Completed in 64ms (View: 41, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:11:28) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (28.8ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.3ms)
Completed in 56ms (View: 37, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:11:32) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (38.8ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.8ms)
Completed in 76ms (View: 48, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:11:33) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (30.4ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.5ms)
Completed in 60ms (View: 39, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:11:39) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.4ms)
Rendered items/_item (32.4ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (6.0ms)
Completed in 65ms (View: 41, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:11:43) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (29.2ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.4ms)
Completed in 57ms (View: 37, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:11:44) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (29.0ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.4ms)
Completed in 57ms (View: 37, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:12:34) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (31.6ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.7ms)
Completed in 61ms (View: 40, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:12:35) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (30.6ms)
Event Load (0.4ms) SELECT * FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.6ms)
Completed in 59ms (View: 39, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:13:02) [GET]
Item Load (1.8ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.8ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (34.2ms)
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.8ms)
Completed in 72ms (View: 52, DB: 4) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:13:13) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.7ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (33.6ms)
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.7ms)
Completed in 71ms (View: 51, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:13:14) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (31.5ms)
SQL (0.6ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.8ms)
Completed in 60ms (View: 39, DB: 4) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:13:15) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.8ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (33.8ms)
SQL (0.6ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (6.0ms)
Completed in 64ms (View: 42, DB: 4) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:13:16) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.7ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (31.5ms)
SQL (0.6ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (6.0ms)
Completed in 62ms (View: 40, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:13:44) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.8ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (34.6ms)
SQL (0.6ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.8ms)
Completed in 72ms (View: 52, DB: 4) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:13:45) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.7ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (35.3ms)
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.8ms)
Completed in 63ms (View: 43, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:13:52) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.6ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.8ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (171.6ms)
SQL (0.6ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (6.1ms)
Completed in 200ms (View: 180, DB: 4) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:13:53) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.4ms)
Rendered items/_item (35.3ms)
SQL (0.6ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (6.2ms)
Completed in 66ms (View: 44, DB: 4) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:14:06) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.7ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (31.8ms)
SQL (0.6ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.8ms)
Completed in 60ms (View: 40, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:14:07) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.6ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.9ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.4ms)
Rendered items/_item (36.2ms)
SQL (3.3ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (10.5ms)
Completed in 72ms (View: 46, DB: 6) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:14:08) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.7ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (30.6ms)
SQL (0.6ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (6.0ms)
Completed in 59ms (View: 39, DB: 4) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:14:16) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.8ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (33.5ms)
SQL (0.6ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (6.1ms)
Completed in 196ms (View: 42, DB: 4) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:14:17) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.7ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (32.7ms)
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.9ms)
Completed in 63ms (View: 41, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:15:44) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.6ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.8ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.3ms)
Rendered items/_item (34.5ms)
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.7ms)
Completed in 72ms (View: 52, DB: 4) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:15:45) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Rendering template within layouts/application
Rendering items/index
SQL (0.5ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 1) 
Event Load (0.7ms) SELECT * FROM "events" WHERE ("events".item_id = 1) 
Rendered events/_event (0.4ms)
Rendered items/_item (30.7ms)
SQL (0.6ms) SELECT count(*) AS count_all FROM "events" WHERE ("events".item_id = 2) 
Rendered items/_item (5.6ms)
Completed in 59ms (View: 38, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:19:09) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Event Load (1.0ms) SELECT "events".* FROM "events" WHERE ("events".item_id IN (1,2)) 
ActiveRecord::ConfigurationError (Association named 'bookings' was not found; perhaps you misspelled it?):
app/controllers/items_controller.rb:6:in `index'
Rendered rescues/_trace (262.5ms)
Rendered rescues/_request_and_response (0.8ms)
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:19:17) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Event Load (0.9ms) SELECT "events".* FROM "events" WHERE ("events".item_id IN (1,2)) 
Rendering template within layouts/application
Rendering items/index
ActionView::TemplateError (undefined method `upcoming_events' for #<Item:0xb68c3a78>) on line #20 of app/views/items/_item.html.erb:
17: <li>Aucun évènement enregistré</li>
18: <% else %>
19: <li>Évènements à venir :</li>
20: <%= render :partial => 'events/event', :collection => item.upcoming_events %>
21: <% end %>
22: </ul>
23:
app/views/items/_item.html.erb:20
app/views/items/index.html.erb:4
Rendered rescues/_trace (163.1ms)
Rendered rescues/_request_and_response (0.7ms)
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:20:06) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Event Load (0.9ms) SELECT "events".* FROM "events" WHERE ("events".item_id IN (1,2)) 
Rendering template within layouts/application
Rendering items/index
SQL (0.9ms)  SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'

ActionView::TemplateError (undefined method `bookings' for #<Class:0xb6691444>) on line #20 of app/views/items/_item.html.erb:
17: <li>Aucun évènement enregistré</li>
18: <% else %>
19: <li>Évènements à venir :</li>
20: <%= render :partial => 'events/event', :collection => item.upcoming_events %>
21: <% end %>
22: </ul>
23:
app/models/item.rb:22:in `upcoming_events'
app/views/items/_item.html.erb:20
app/views/items/index.html.erb:4
Rendered rescues/_trace (179.5ms)
Rendered rescues/_request_and_response (0.7ms)
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:20:14) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Event Load (0.9ms) SELECT "events".* FROM "events" WHERE ("events".item_id IN (1,2)) 
Rendering template within layouts/application
Rendering items/index
SQL (0.8ms)  SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'

ActionView::TemplateError (undefined method `bookings' for #<Class:0xb676c134>) on line #20 of app/views/items/_item.html.erb:
17: <li>Aucun évènement enregistré</li>
18: <% else %>
19: <li>Évènements à venir :</li>
20: <%= render :partial => 'events/event', :collection => item.upcoming_events %>
21: <% end %>
22: </ul>
23:
app/models/item.rb:22:in `upcoming_events'
app/views/items/_item.html.erb:20
app/views/items/index.html.erb:4
Rendered rescues/_trace (340.3ms)
Rendered rescues/_request_and_response (0.8ms)
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:20:40) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Event Load (0.9ms) SELECT "events".* FROM "events" WHERE ("events".item_id IN (1,2)) 
Rendering template within layouts/application
Rendering items/index
ActionView::TemplateError (undefined method `bookings' for #<Item:0xb68ea830>) on line #20 of app/views/items/_item.html.erb:
17: <li>Aucun évènement enregistré</li>
18: <% else %>
19: <li>Évènements à venir :</li>
20: <%= render :partial => 'events/event', :collection => item.upcoming_events %>
21: <% end %>
22: </ul>
23:
app/models/item.rb:22:in `upcoming_events'
app/views/items/_item.html.erb:20
app/views/items/index.html.erb:4
Rendered rescues/_trace (166.9ms)
Rendered rescues/_request_and_response (0.7ms)
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:20:50) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Event Load (0.9ms) SELECT "events".* FROM "events" WHERE ("events".item_id IN (1,2)) 
Rendering template within layouts/application
Rendering items/index
ActionView::TemplateError (Couldn't find Booking without an ID) on line #20 of app/views/items/_item.html.erb:
17: <li>Aucun évènement enregistré</li>
18: <% else %>
19: <li>Évènements à venir :</li>
20: <%= render :partial => 'events/event', :collection => item.upcoming_events %>
21: <% end %>
22: </ul>
23:
app/models/item.rb:22:in `upcoming_events'
app/views/items/_item.html.erb:20
app/views/items/index.html.erb:4
Rendered rescues/_trace (202.8ms)
Rendered rescues/_request_and_response (0.7ms)
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:21:17) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Event Load (0.9ms) SELECT "events".* FROM "events" WHERE ("events".item_id IN (1,2)) 
Rendering template within layouts/application
Rendering items/index
Booking Load (0.5ms) SELECT "bookings".* FROM "bookings" INNER JOIN "events" ON "bookings".event_id = "events".id WHERE (("events".item_id = 1) AND (start_at >= '2010-07-23 00:00:00')) 
Rendered items/_item (15.3ms)
Rendered items/_item (3.7ms)
Completed in 66ms (View: 23, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:21:28) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Event Load (0.9ms) SELECT "events".* FROM "events" WHERE ("events".item_id IN (1,2)) 
Rendering template within layouts/application
Rendering items/index
Booking Load (0.5ms) SELECT "bookings".* FROM "bookings" INNER JOIN "events" ON "bookings".event_id = "events".id WHERE (("events".item_id = 1) AND (start_at >= '2010-07-23 00:00:00')) 
Rendered items/_item (18.4ms)
Booking Load (0.4ms) SELECT "bookings".* FROM "bookings" INNER JOIN "events" ON "bookings".event_id = "events".id WHERE (("events".item_id = 2) AND (start_at >= '2010-07-23 00:00:00')) 
Rendered items/_item (6.3ms)
Completed in 81ms (View: 37, DB: 3) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:21:36) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Event Load (1.0ms) SELECT "events".* FROM "events" WHERE ("events".item_id IN (1,2)) 
Rendering template within layouts/application
Rendering items/index
Booking Load (0.5ms) SELECT "bookings".* FROM "bookings" INNER JOIN "events" ON "bookings".event_id = "events".id WHERE (("events".item_id = 1) AND (start_at >= '2010-07-23 00:00:00')) 
Rendered items/_item (20.8ms)
Booking Load (0.4ms) SELECT "bookings".* FROM "bookings" INNER JOIN "events" ON "bookings".event_id = "events".id WHERE (("events".item_id = 2) AND (start_at >= '2010-07-23 00:00:00')) 
Rendered items/_item (6.5ms)
Completed in 88ms (View: 41, DB: 4) | 200 OK [http://localhost/]
Event Load (0.9ms) SELECT * FROM "events" LIMIT 1
Booking Create (0.9ms) INSERT INTO "bookings" ("created_at", "event_id", "end_at", "updated_at", "start_at") VALUES('2010-07-23 10:23:01', 1, '2010-07-23 10:00:00', '2010-07-23 10:23:01', '2010-07-23 08:00:00')
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:23:03) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Event Load (1.0ms) SELECT "events".* FROM "events" WHERE ("events".item_id IN (1,2)) 
Rendering template within layouts/application
Rendering items/index
Booking Load (0.9ms) SELECT "bookings".* FROM "bookings" INNER JOIN "events" ON "bookings".event_id = "events".id WHERE (("events".item_id = 1) AND (start_at >= '2010-07-23 00:00:00')) 
Event Load (0.8ms) SELECT * FROM "events" WHERE ("events"."id" = 1) 
CACHE (0.0ms) SELECT "bookings".* FROM "bookings" INNER JOIN "events" ON "bookings".event_id = "events".id WHERE (("events".item_id = 1) AND (start_at >= '2010-07-23 00:00:00')) 
CACHE (0.0ms) SELECT * FROM "events" WHERE ("events"."id" = 1) 
Rendered events/_event (0.4ms)
Rendered items/_item (25.8ms)
Booking Load (0.5ms) SELECT "bookings".* FROM "bookings" INNER JOIN "events" ON "bookings".event_id = "events".id WHERE (("events".item_id = 2) AND (start_at >= '2010-07-23 00:00:00')) 
Rendered items/_item (7.4ms)
Completed in 84ms (View: 35, DB: 5) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:26:38) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Event Load (0.9ms) SELECT "events".* FROM "events" WHERE ("events".item_id IN (1,2)) 
Rendering template within layouts/application
Rendering items/index
Booking Load (0.9ms) SELECT "bookings".* FROM "bookings" INNER JOIN "events" ON "bookings".event_id = "events".id WHERE (("events".item_id = 1) AND (start_at >= '2010-07-23 00:00:00')) 
Event Load (0.8ms) SELECT * FROM "events" WHERE ("events"."id" = 1) 
CACHE (0.0ms) SELECT "bookings".* FROM "bookings" INNER JOIN "events" ON "bookings".event_id = "events".id WHERE (("events".item_id = 1) AND (start_at >= '2010-07-23 00:00:00')) 
CACHE (0.0ms) SELECT * FROM "events" WHERE ("events"."id" = 1) 
ActionView::TemplateError (undefined method `upcoming_bookings' for #<ActiveRecord::Associations::BelongsToAssociation:0xb68243b0>) on line #5 of app/views/events/_event.html.erb:
2: <h3 style="background-color: <%= event.color %>"><%= event.title %></h3>
3: <p><%= event.details %></p>
4: <ul class="bookings">
5: <%= render :partial => 'bookings/booking', :collection => event.upcoming_bookings %>
6: </ul>
7: </li>
app/views/events/_event.html.erb:5
app/views/items/_item.html.erb:20
app/views/items/index.html.erb:4
Rendered rescues/_trace (322.3ms)
Rendered rescues/_request_and_response (0.4ms)
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:27:25) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Event Load (0.9ms) SELECT "events".* FROM "events" WHERE ("events".item_id IN (1,2)) 
Rendering template within layouts/application
Rendering items/index
Booking Load (0.9ms) SELECT "bookings".* FROM "bookings" INNER JOIN "events" ON "bookings".event_id = "events".id WHERE (("events".item_id = 1) AND (start_at >= '2010-07-23 00:00:00')) 
Event Load (0.8ms) SELECT * FROM "events" WHERE ("events"."id" = 1) 
CACHE (0.0ms) SELECT "bookings".* FROM "bookings" INNER JOIN "events" ON "bookings".event_id = "events".id WHERE (("events".item_id = 1) AND (start_at >= '2010-07-23 00:00:00')) 
CACHE (0.0ms) SELECT * FROM "events" WHERE ("events"."id" = 1) 
Booking Load (0.8ms) SELECT * FROM "bookings" WHERE ("bookings".event_id = 1 AND (start_at >= '2010-07-23 00:00:00')) 
Rendered bookings/_booking (5.9ms)
Rendered events/_event (20.7ms)
Rendered items/_item (46.1ms)
Booking Load (0.5ms) SELECT "bookings".* FROM "bookings" INNER JOIN "events" ON "bookings".event_id = "events".id WHERE (("events".item_id = 2) AND (start_at >= '2010-07-23 00:00:00')) 
Rendered items/_item (6.7ms)
Completed in 100ms (View: 54, DB: 6) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:28:00) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Event Load (1.0ms) SELECT "events".* FROM "events" WHERE ("events".item_id IN (1,2)) 
Rendering template within layouts/application
Rendering items/index
Booking Load (0.8ms) SELECT * FROM "bookings" WHERE ("bookings".event_id = 1 AND (start_at >= '2010-07-23 00:00:00')) 
ActionView::TemplateError (undefined method `event' for #<Array:0xb67ac8ec>) on line #16 of app/views/items/_item.html.erb:
13: </p>
14:
15: <ul class="event-list">
16: <% if item.upcoming_events.empty? %>
17: <li>Aucun évènement à venir</li>
18: <% else %>
19: <li>Évènements à venir :</li>
app/models/item.rb:22:in `map'
app/models/item.rb:22:in `upcoming_events'
app/views/items/_item.html.erb:16
app/views/items/index.html.erb:4
Rendered rescues/_trace (318.4ms)
Rendered rescues/_request_and_response (0.8ms)
Rendering rescues/layout (internal_server_error)
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:28:12) [GET]
Item Load (1.7ms) SELECT * FROM "items" 
Event Load (0.9ms) SELECT "events".* FROM "events" WHERE ("events".item_id IN (1,2)) 
Rendering template within layouts/application
Rendering items/index
Booking Load (0.9ms) SELECT * FROM "bookings" WHERE ("bookings".event_id = 1 AND (start_at >= '2010-07-23 00:00:00')) 
Event Load (0.8ms) SELECT * FROM "events" WHERE ("events"."id" = 1) 
CACHE (0.0ms) SELECT * FROM "bookings" WHERE ("bookings".event_id = 1 AND (start_at >= '2010-07-23 00:00:00')) 
CACHE (0.0ms) SELECT * FROM "events" WHERE ("events"."id" = 1) 
CACHE (0.0ms) SELECT * FROM "bookings" WHERE ("bookings".event_id = 1 AND (start_at >= '2010-07-23 00:00:00')) 
Rendered bookings/_booking (1.1ms)
Rendered events/_event (4.1ms)
Rendered items/_item (31.6ms)
Rendered items/_item (4.0ms)
Completed in 84ms (View: 38, DB: 4) | 200 OK [http://localhost/]
Processing ItemsController#index (for 127.0.0.1 at 2010-07-23 12:28:52) [GET]
Item Load (1.6ms) SELECT * FROM "items" 
Event Load (1.2ms) SELECT "events".* FROM "events" WHERE ("events".item_id IN (1,2)) 
Rendering template within layouts/application
Rendering items/index
Booking Load (0.8ms) SELECT * FROM "bookings" WHERE ("bookings".event_id = 1 AND (start_at >= '2010-07-23 00:00:00')) 
Event Load (0.8ms) SELECT * FROM "events" WHERE ("events"."id" = 1) 
CACHE (0.0ms) SELECT * FROM "bookings" WHERE ("bookings".event_id = 1 AND (start_at >= '2010-07-23 00:00:00')) 
CACHE (0.0ms) SELECT * FROM "events" WHERE ("events"."id" = 1) 
CACHE (0.0ms) SELECT * FROM "bookings" WHERE ("bookings".event_id = 1 AND (start_at >= '2010-07-23 00:00:00')) 
Rendered bookings/_booking (1.1ms)
Rendered events/_event (4.4ms)
Rendered items/_item (31.9ms)
Rendered items/_item (4.0ms)