[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
[1m[35m (1.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
Migrating to CreateSaphiraFileItems (20110904172951)
[1m[35m (0.6ms)[0m CREATE TABLE "saphira_file_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "item_type" varchar(255), "file_uid" varchar(255), "file_name" varchar(255), "slug" varchar(255), "path" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "dynamic_attributes" text, "created_at" datetime, "updated_at" datetime)
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("saphira_file_items")[0m
[1m[35m (0.2ms)[0m CREATE INDEX "index_saphira_file_items_on_slug" ON "saphira_file_items" ("slug")
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("saphira_file_items")[0m
[1m[35m (0.0ms)[0m PRAGMA index_info('index_saphira_file_items_on_slug')
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_saphira_file_items_on_path" ON "saphira_file_items" ("path")[0m
[1m[35m (0.1ms)[0m PRAGMA index_list("saphira_file_items")
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_saphira_file_items_on_path')[0m
[1m[35m (0.0ms)[0m PRAGMA index_info('index_saphira_file_items_on_slug')
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_saphira_file_items_on_parent_id" ON "saphira_file_items" ("parent_id")[0m
[1m[35m (0.0ms)[0m PRAGMA index_list("saphira_file_items")
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_saphira_file_items_on_parent_id')[0m
[1m[35m (0.0ms)[0m PRAGMA index_info('index_saphira_file_items_on_path')
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_saphira_file_items_on_slug')[0m
[1m[35m (0.1ms)[0m CREATE INDEX "index_saphira_file_items_on_lft" ON "saphira_file_items" ("lft")
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("saphira_file_items")[0m
[1m[35m (0.0ms)[0m PRAGMA index_info('index_saphira_file_items_on_lft')
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_saphira_file_items_on_parent_id')[0m
[1m[35m (0.0ms)[0m PRAGMA index_info('index_saphira_file_items_on_path')
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_saphira_file_items_on_slug')[0m
[1m[35m (0.1ms)[0m CREATE INDEX "index_saphira_file_items_on_rgt" ON "saphira_file_items" ("rgt")
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110904172951')[0m
Migrating to ActsAsTaggableOnMigration (20110904172952)
[1m[35m (0.5ms)[0m CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
[1m[36m (0.3ms)[0m [1mCREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar(255), "tagger_id" integer, "tagger_type" varchar(255), "context" varchar(255), "created_at" datetime) [0m
[1m[35m (0.0ms)[0m PRAGMA index_list("taggings")
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
[1m[35m (0.1ms)[0m PRAGMA index_list("taggings")
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_taggings_on_tag_id')[0m
[1m[35m (0.2ms)[0m CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110904172952')[0m
[1m[35m (0.5ms)[0m select sqlite_version(*)
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
[1m[35m (0.0ms)[0m PRAGMA index_list("saphira_file_items")
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_saphira_file_items_on_rgt')[0m
[1m[35m (0.0ms)[0m PRAGMA index_info('index_saphira_file_items_on_lft')
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_saphira_file_items_on_parent_id')[0m
[1m[35m (0.0ms)[0m PRAGMA index_info('index_saphira_file_items_on_path')
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_saphira_file_items_on_slug')[0m
[1m[35m (0.2ms)[0m PRAGMA index_list("taggings")
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')[0m
[1m[35m (0.0ms)[0m PRAGMA index_info('index_taggings_on_tag_id')
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("tags")[0m
Started GET "/" for 127.0.0.1 at 2011-09-04 20:05:51 +0200
ActionController::RoutingError (No route matches [GET] "/"):
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (18.9ms)
Started GET "/admin/saphira" for 127.0.0.1 at 2011-09-04 20:06:03 +0200
Processing by Saphira::FileItemsController#index as HTML
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/index.html.erb within layouts/saphira/application (33.6ms)
Completed 500 Internal Server Error in 88ms
ActionView::Template::Error (undefined method `name' for nil:NilClass):
1:
Listing <%= @file_item.name %>
2:
3:
4: <% unless @file_item.id.nil? %>
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms)
Started GET "/admin/saphira" for 127.0.0.1 at 2011-09-04 20:06:23 +0200
Processing by Saphira::FileItemsController#index as HTML
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/index.html.erb within layouts/saphira/application (0.8ms)
Completed 500 Internal Server Error in 8ms
ActionView::Template::Error (undefined method `name' for nil:NilClass):
1: Listing <%= @file_item.name %>
2:
3:
4: <% unless @file_item.id.nil? %>
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms)
Started GET "/admin/saphira" for 127.0.0.1 at 2011-09-04 20:06:25 +0200
Processing by Saphira::FileItemsController#index as HTML
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/index.html.erb within layouts/saphira/application (0.8ms)
Completed 500 Internal Server Error in 9ms
ActionView::Template::Error (undefined method `name' for nil:NilClass):
1: Listing <%= @file_item.name %>
2:
3:
4: <% unless @file_item.id.nil? %>
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms)
Started GET "/admin/saphira" for 127.0.0.1 at 2011-09-04 20:06:43 +0200
Processing by Saphira::FileItemsController#index as HTML
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/index.html.erb within layouts/saphira/application (1.8ms)
Completed 500 Internal Server Error in 9ms
ActionView::Template::Error (Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id):
1: Listing <%#= @file_item.name %>
2:
3:
4: <% unless @file_item.id.nil? %>
5:
6: <%= link_to image_tag('filemanager/icons/32x32/direction_up.png'), (@file_item.parent || file_items_path) %> |
7: <%= link_to '..', (@file_item.parent || file_items_path) %> |
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms)
Started GET "/admin/saphira" for 127.0.0.1 at 2011-09-04 20:07:06 +0200
Processing by Saphira::FileItemsController#index as HTML
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/index.html.erb within layouts/saphira/application (1.9ms)
Completed 500 Internal Server Error in 9ms
ActionView::Template::Error (undefined method `name' for nil:NilClass):
1: Listing <%= @file_item.name %>
2:
3:
4: <% unless @file_item.id.nil? %>
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms)
Started GET "/admin/saphira" for 127.0.0.1 at 2011-09-04 20:07:08 +0200
Processing by Saphira::FileItemsController#index as HTML
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/index.html.erb within layouts/saphira/application (0.8ms)
Completed 500 Internal Server Error in 8ms
ActionView::Template::Error (undefined method `name' for nil:NilClass):
1: Listing <%= @file_item.name %>
2:
3:
4: <% unless @file_item.id.nil? %>
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms)
Started GET "/admin/saphira" for 127.0.0.1 at 2011-09-04 20:07:18 +0200
Processing by Saphira::FileItemsController#index as HTML
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/index.html.erb within layouts/saphira/application (0.9ms)
Completed 500 Internal Server Error in 8ms
ActionView::Template::Error (undefined method `name' for nil:NilClass):
1: Listing <%= @file_item.name %>
2:
3:
4: <% unless @file_item.id.nil? %>
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms)
Started GET "/admin/saphira" for 127.0.0.1 at 2011-09-04 20:07:29 +0200
Processing by Saphira::FileItemsController#index as HTML
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/index.html.erb within layouts/saphira/application (0.9ms)
Completed 500 Internal Server Error in 8ms
ActionView::Template::Error (undefined method `name' for nil:NilClass):
1: Listing <%= @file_item.name %>
2:
3:
4: <% unless @file_item.id.nil? %>
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms)
Started GET "/admin/saphira/" for 127.0.0.1 at 2011-09-04 20:08:03 +0200
Processing by Saphira::FileItemsController#index as HTML
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/index.html.erb within layouts/saphira/application (0.9ms)
Completed 500 Internal Server Error in 8ms
ActionView::Template::Error (undefined method `name' for nil:NilClass):
1: Listing <%= @file_item.name %>
2:
3:
4: <% unless @file_item.id.nil? %>
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms)
Started GET "/admin/saphira" for 127.0.0.1 at 2011-09-04 20:08:07 +0200
Processing by Saphira::FileItemsController#index as HTML
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/index.html.erb within layouts/saphira/application (1.0ms)
Completed 500 Internal Server Error in 8ms
ActionView::Template::Error (undefined method `name' for nil:NilClass):
1: Listing <%= @file_item.name %>
2:
3:
4: <% unless @file_item.id.nil? %>
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms)
Started GET "/admin/saphira" for 127.0.0.1 at 2011-09-04 20:08:41 +0200
Processing by Saphira::FileItemsController#index as HTML
[1m[36mSaphira::FileItem Load (0.1ms)[0m [1mSELECT "saphira_file_items".* FROM "saphira_file_items" WHERE "saphira_file_items"."parent_id" IS NULL[0m
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/index.html.erb within layouts/saphira/application (3.1ms)
Completed 500 Internal Server Error in 98ms
ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Filemanager):
21:
22:
23:
24: <%= link_to 'New File', new_file_item_path(:type => Filemanager::FileItem::TYPE_FILE, :parent_id => @file_item.id) %>
25: <%= link_to 'New Folder', new_file_item_path(:type => Filemanager::FileItem::TYPE_FOLDER, :parent_id => @file_item.id) %>
26:
27: <% unless @file_item.id.nil? %>
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms)
Started GET "/admin/saphira" for 127.0.0.1 at 2011-09-04 20:09:13 +0200
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from at /Users/spieker/Sites/gems-projects/saphira/app/models/saphira/file_item.rb:13)
Processing by Saphira::FileItemsController#index as HTML
[1m[35mSaphira::FileItem Load (0.1ms)[0m SELECT "saphira_file_items".* FROM "saphira_file_items" WHERE "saphira_file_items"."parent_id" IS NULL
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/index.html.erb within layouts/saphira/application (2.8ms)
Completed 500 Internal Server Error in 25ms
ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Filemanager):
21:
22:
23:
24: <%= link_to 'New File', new_file_item_path(:type => Filemanager::FileItem::TYPE_FILE, :parent_id => @file_item.id) %>
25: <%= link_to 'New Folder', new_file_item_path(:type => Filemanager::FileItem::TYPE_FOLDER, :parent_id => @file_item.id) %>
26:
27: <% unless @file_item.id.nil? %>
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms)
Started GET "/admin/saphira" for 127.0.0.1 at 2011-09-04 20:09:39 +0200
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from at /Users/spieker/Sites/gems-projects/saphira/app/models/saphira/file_item.rb:13)
Processing by Saphira::FileItemsController#index as HTML
[1m[36mSaphira::FileItem Load (0.1ms)[0m [1mSELECT "saphira_file_items".* FROM "saphira_file_items" WHERE "saphira_file_items"."parent_id" IS NULL[0m
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/index.html.erb within layouts/saphira/application (53.1ms)
Completed 500 Internal Server Error in 174ms
ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Filemanager):
21:
22:
23:
24: <%= link_to 'New File', new_file_item_path(:type => Filemanager::FileItem::TYPE_FILE, :parent_id => @file_item.id) %>
25: <%= link_to 'New Folder', new_file_item_path(:type => Filemanager::FileItem::TYPE_FOLDER, :parent_id => @file_item.id) %>
26:
27: <% unless @file_item.id.nil? %>
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms)
Started GET "/admin/saphira" for 127.0.0.1 at 2011-09-04 20:11:14 +0200
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from at /Users/spieker/Sites/gems-projects/saphira/app/models/saphira/file_item.rb:13)
Processing by Saphira::FileItemsController#index as HTML
[1m[35mSaphira::FileItem Load (0.1ms)[0m SELECT "saphira_file_items".* FROM "saphira_file_items" WHERE "saphira_file_items"."parent_id" IS NULL
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/index.html.erb within layouts/saphira/application (2.1ms)
Compiled saphira/application.css (1ms) (pid 95518)
Compiled saphira/file_items.css (0ms) (pid 95518)
Completed 500 Internal Server Error in 48ms
ActionView::Template::Error (couldn't find file 'jquery'
(in /Users/spieker/Sites/gems-projects/saphira/app/assets/javascripts/saphira/application.js:7)):
3:
4: Saphira
5: <%= stylesheet_link_tag "saphira/application" %>
6: <%= javascript_include_tag "saphira/application" %>
7: <%= csrf_meta_tags %>
8:
9:
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms)
Started GET "/admin/saphira" for 127.0.0.1 at 2011-09-04 20:12:18 +0200
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from at /Users/spieker/Sites/gems-projects/saphira/app/models/saphira/file_item.rb:13)
Processing by Saphira::FileItemsController#index as HTML
[1m[36mSaphira::FileItem Load (0.1ms)[0m [1mSELECT "saphira_file_items".* FROM "saphira_file_items" WHERE "saphira_file_items"."parent_id" IS NULL[0m
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/index.html.erb within layouts/saphira/application (20.9ms)
Compiled saphira/application.js (4ms) (pid 95583)
Compiled jquery.js (7ms) (pid 95583)
Compiled jquery_ujs.js (1ms) (pid 95583)
Compiled saphira/file_items.js (0ms) (pid 95583)
Completed 200 OK in 194ms (Views: 178.3ms | ActiveRecord: 0.3ms)
Started GET "/assets/saphira/application.css?body=1" for 127.0.0.1 at 2011-09-04 20:12:19 +0200
Served asset /saphira/application.css - 200 OK (110ms)
Started GET "/assets/saphira/file_items.css?body=1" for 127.0.0.1 at 2011-09-04 20:12:19 +0200
Served asset /saphira/file_items.css - 200 OK (22ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-09-04 20:12:19 +0200
Served asset /jquery_ujs.js - 200 OK (7ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-09-04 20:12:19 +0200
Served asset /jquery.js - 200 OK (10ms)
Started GET "/assets/saphira/application.js?body=1" for 127.0.0.1 at 2011-09-04 20:12:19 +0200
Served asset /saphira/application.js - 200 OK (5ms)
Started GET "/assets/saphira/file_items.js?body=1" for 127.0.0.1 at 2011-09-04 20:12:19 +0200
Served asset /saphira/file_items.js - 200 OK (25ms)
Started GET "/admin/saphira/files/new?type=file" for 127.0.0.1 at 2011-09-04 20:12:22 +0200
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from at /Users/spieker/Sites/gems-projects/saphira/app/models/saphira/file_item.rb:13)
Processing by Saphira::FileItemsController#new as HTML
Parameters: {"type"=>"file"}
Completed 500 Internal Server Error in 79ms
NameError (undefined local variable or method `current_user' for #):
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.8ms)
Started GET "/admin/saphira/files/new?type=file" for 127.0.0.1 at 2011-09-04 20:12:48 +0200
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from at /Users/spieker/Sites/gems-projects/saphira/app/models/saphira/file_item.rb:13)
Processing by Saphira::FileItemsController#new as HTML
Parameters: {"type"=>"file"}
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Saphira::FileItem' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/_form.html.erb (178.4ms)
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/new_file.html.erb within layouts/saphira/application (194.1ms)
Completed 500 Internal Server Error in 316ms
ActionView::Template::Error (undefined method `user_id' for #):
26: <%= f.text_field :tag_list %>
27:
28:
29: <%= f.hidden_field :user_id %>
30: <%= f.hidden_field :item_type %>
31: <%= f.hidden_field :parent_id %>
32: <%= f.submit 'Create' %>
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
Rendered /Users/spieker/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms)
Started GET "/admin/saphira/files/new?type=file" for 127.0.0.1 at 2011-09-04 20:13:05 +0200
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from
at /Users/spieker/Sites/gems-projects/saphira/app/models/saphira/file_item.rb:13)
Processing by Saphira::FileItemsController#new as HTML
Parameters: {"type"=>"file"}
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Saphira::FileItem' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/_form.html.erb (16.5ms)
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/new_file.html.erb within layouts/saphira/application (17.8ms)
Completed 200 OK in 90ms (Views: 25.3ms | ActiveRecord: 0.6ms)
Started GET "/assets/saphira/application.css?body=1" for 127.0.0.1 at 2011-09-04 20:13:05 +0200
Served asset /saphira/application.css - 304 Not Modified (0ms)
Started GET "/assets/saphira/file_items.css?body=1" for 127.0.0.1 at 2011-09-04 20:13:05 +0200
Served asset /saphira/file_items.css - 304 Not Modified (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-09-04 20:13:05 +0200
Served asset /jquery.js - 304 Not Modified (0ms)
Started GET "/assets/saphira/file_items.js?body=1" for 127.0.0.1 at 2011-09-04 20:13:05 +0200
Served asset /saphira/file_items.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-09-04 20:13:05 +0200
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/saphira/application.js?body=1" for 127.0.0.1 at 2011-09-04 20:13:05 +0200
Served asset /saphira/application.js - 304 Not Modified (0ms)
Started GET "/admin/saphira/files/new?type=file" for 127.0.0.1 at 2011-09-04 20:16:25 +0200
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from at /Users/spieker/Sites/gems-projects/saphira/app/models/saphira/file_item.rb:13)
Processing by Saphira::FileItemsController#new as HTML
Parameters: {"type"=>"file"}
[1m[36mActsAsTaggableOn::Tag Load (0.3ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Saphira::FileItem' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/_form.html.erb (191.7ms)
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/new_file.html.erb within layouts/saphira/application (226.1ms)
Completed 200 OK in 315ms (Views: 298.9ms | ActiveRecord: 1.2ms)
Started GET "/assets/saphira/application.css?body=1" for 127.0.0.1 at 2011-09-04 20:16:25 +0200
Served asset /saphira/application.css - 304 Not Modified (0ms)
Started GET "/assets/saphira/file_items.css?body=1" for 127.0.0.1 at 2011-09-04 20:16:26 +0200
Served asset /saphira/file_items.css - 304 Not Modified (4ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-09-04 20:16:26 +0200
Served asset /jquery.js - 304 Not Modified (9ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-09-04 20:16:26 +0200
Served asset /jquery_ujs.js - 304 Not Modified (5ms)
Started GET "/assets/saphira/file_items.js?body=1" for 127.0.0.1 at 2011-09-04 20:16:26 +0200
Served asset /saphira/file_items.js - 304 Not Modified (3ms)
Started GET "/assets/saphira/application.js?body=1" for 127.0.0.1 at 2011-09-04 20:16:26 +0200
Served asset /saphira/application.js - 304 Not Modified (0ms)
Started POST "/admin/saphira/files" for 127.0.0.1 at 2011-09-04 20:16:47 +0200
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from at /Users/spieker/Sites/gems-projects/saphira/app/models/saphira/file_item.rb:13)
Processing by Saphira::FileItemsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rQl9zMVj3kNVFvByRC3mORA3vzFs+rxVywKoFEXjNXs=", "file_item"=>{"name"=>"Mülleimer", "file"=>#>, "tag_list"=>"Trash, Orange, Berlin", "item_type"=>"file", "parent_id"=>""}, "commit"=>"Create"}
[1m[35mSaphira::FileItem Load (0.2ms)[0m SELECT "saphira_file_items".* FROM "saphira_file_items" WHERE "saphira_file_items"."parent_id" IS NULL AND ("slug" = 'mulleimer' OR "slug" LIKE 'mulleimer--%') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "saphira_file_items" WHERE ("saphira_file_items"."name" = 'Mülleimer' AND "saphira_file_items"."parent_id" IS NULL) LIMIT 1[0m
[1m[35m (0.3ms)[0m SELECT MAX("saphira_file_items"."rgt") AS max_id FROM "saphira_file_items"
[1m[36mSQL (9.0ms)[0m [1mINSERT INTO "saphira_file_items" ("created_at", "dynamic_attributes", "file_name", "file_uid", "item_type", "lft", "name", "parent_id", "path", "rgt", "slug", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 04 Sep 2011 18:16:52 UTC +00:00], ["dynamic_attributes", "--- \n:field_image_capture_date: 2011-08-26 14:04:10 +02:00\n:field_image_exposure_time: !ruby/object:Rational \n denominator: 40\n numerator: 1\n:field_image_f_number: !ruby/object:Rational \n denominator: 1\n numerator: 10\n:field_image_make: Canon\n:field_image_model: Canon EOS 550D\n:field_image_orientation: 8\n:field_image_orientation_transformed: true\n"], ["file_name", "IMG_0074.JPG"], ["file_uid", "2011/09/04/20_16_51_527_IMG_0074.JPG"], ["item_type", "file"], ["lft", 1], ["name", "Mülleimer"], ["parent_id", nil], ["path", "mulleimer"], ["rgt", 2], ["slug", "mulleimer"], ["updated_at", Sun, 04 Sep 2011 18:16:52 UTC +00:00]]
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE (name LIKE 'Trash' OR name LIKE 'Orange' OR name LIKE 'Berlin')
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "tags" WHERE "tags"."name" = 'Trash' LIMIT 1[0m
[1m[35mSQL (0.2ms)[0m INSERT INTO "tags" ("name") VALUES (?) [["name", "Trash"]]
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "tags" WHERE "tags"."name" = 'Orange' LIMIT 1[0m
[1m[35mSQL (0.0ms)[0m INSERT INTO "tags" ("name") VALUES (?) [["name", "Orange"]]
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "tags" WHERE "tags"."name" = 'Berlin' LIMIT 1[0m
[1m[35mSQL (0.1ms)[0m INSERT INTO "tags" ("name") VALUES (?) [["name", "Berlin"]]
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Saphira::FileItem' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
[1m[35mActsAsTaggableOn::Tagging Load (0.2ms)[0m SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Saphira::FileItem' AND "taggings"."tagger_type" IS NULL AND "taggings"."tagger_id" IS NULL AND "taggings"."context" = 'tags' AND "taggings"."tag_id" IN (NULL)
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "taggings" WHERE ("taggings"."tag_id" = 1 AND "taggings"."taggable_type" = 'Saphira::FileItem' AND "taggings"."taggable_id" = 1 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1[0m
[1m[35mSQL (0.9ms)[0m INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Sun, 04 Sep 2011 18:16:52 UTC +00:00], ["tag_id", 1], ["taggable_id", 1], ["taggable_type", "Saphira::FileItem"], ["tagger_id", nil], ["tagger_type", nil]]
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Saphira::FileItem' AND "taggings"."taggable_id" = 1 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1[0m
[1m[35mSQL (0.6ms)[0m INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Sun, 04 Sep 2011 18:16:52 UTC +00:00], ["tag_id", 2], ["taggable_id", 1], ["taggable_type", "Saphira::FileItem"], ["tagger_id", nil], ["tagger_type", nil]]
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Saphira::FileItem' AND "taggings"."taggable_id" = 1 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1[0m
[1m[35mSQL (0.6ms)[0m INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Sun, 04 Sep 2011 18:16:52 UTC +00:00], ["tag_id", 3], ["taggable_id", 1], ["taggable_type", "Saphira::FileItem"], ["tagger_id", nil], ["tagger_type", nil]]
Redirected to http://localhost:3000/admin/saphira/files/mulleimer
Completed 302 Found in 5184ms
Started GET "/admin/saphira/files/mulleimer" for 127.0.0.1 at 2011-09-04 20:16:52 +0200
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from at /Users/spieker/Sites/gems-projects/saphira/app/models/saphira/file_item.rb:13)
Processing by Saphira::FileItemsController#show as HTML
Parameters: {"id"=>"mulleimer"}
[1m[36mSaphira::FileItem Load (0.1ms)[0m [1mSELECT "saphira_file_items".* FROM "saphira_file_items" WHERE "saphira_file_items"."path" = 'mulleimer' LIMIT 1[0m
[1m[35mActsAsTaggableOn::Tag Load (0.3ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Saphira::FileItem' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
[1m[36mSaphira::FileItem Load (0.2ms)[0m [1mSELECT "saphira_file_items".* FROM "saphira_file_items" WHERE "saphira_file_items"."id" IS NULL LIMIT 1[0m
Rendered /Users/spieker/Sites/gems-projects/saphira/app/views/saphira/file_items/show.html.erb within layouts/saphira/application (26.6ms)
Completed 200 OK in 50ms (Views: 34.5ms | ActiveRecord: 1.0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-09-04 20:16:52 +0200
Served asset /jquery.js - 304 Not Modified (0ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-09-04 20:16:52 +0200
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
Started GET "/assets/saphira/application.js?body=1" for 127.0.0.1 at 2011-09-04 20:16:52 +0200
Served asset /saphira/application.js - 304 Not Modified (0ms)
Started GET "/assets/saphira/file_items.css?body=1" for 127.0.0.1 at 2011-09-04 20:16:52 +0200
Served asset /saphira/file_items.css - 304 Not Modified (0ms)
Started GET "/assets/saphira/file_items.js?body=1" for 127.0.0.1 at 2011-09-04 20:16:52 +0200
Served asset /saphira/file_items.js - 304 Not Modified (0ms)
Started GET "/assets/saphira/application.css?body=1" for 127.0.0.1 at 2011-09-04 20:16:52 +0200
Served asset /saphira/application.css - 304 Not Modified (0ms)