From 8e309c7e2c7ca045490e448d9cd06301ef80e0af Mon Sep 17 00:00:00 2001 From: Cameron Yule Date: Thu, 30 Oct 2008 11:58:18 +0000 Subject: [PATCH] Updating to SWFUpload v2.2.0 Beta 2 and Rails 2.1.2 --- README | 2 +- app/views/assets/new.html.erb | 22 +- config/environment.rb | 2 +- log/development.log | 2299 ----------------------- public/.DS_Store | Bin 6148 -> 0 bytes public/flash/swfupload.swf | Bin 0 -> 11931 bytes public/flash/swfupload_f9.swf | Bin 9506 -> 0 bytes public/images/TestImageNoText_65x29.png | Bin 0 -> 1131 bytes public/javascripts/swfupload.js | 345 +++- public/stylesheets/swfupload.css | 55 +- 10 files changed, 331 insertions(+), 2394 deletions(-) delete mode 100644 log/development.log delete mode 100644 public/.DS_Store create mode 100755 public/flash/swfupload.swf delete mode 100755 public/flash/swfupload_f9.swf create mode 100755 public/images/TestImageNoText_65x29.png diff --git a/README b/README index 5794303..77f24e3 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ swfupload-rails-authentication ============================== -Demo Rails 2.1 app showing SWFUpload working in tandem with restful-authentication, CSRF protection and attachment_fu. +Demo Rails 2.1.2 app showing SWFUpload working in tandem with restful-authentication, CSRF protection and attachment_fu. Requirements diff --git a/app/views/assets/new.html.erb b/app/views/assets/new.html.erb index 3c0afa4..ea92ce2 100644 --- a/app/views/assets/new.html.erb +++ b/app/views/assets/new.html.erb @@ -6,12 +6,25 @@ window.onload = function () { swfu = new SWFUpload({ upload_url : '<%= assets_path -%>?_swfupload_demo_session=<%= u session.session_id %>', - flash_url : '/flash/swfupload_f9.swf', + flash_url : '/flash/swfupload.swf', + + // Button settings + button_image_url: "/images/TestImageNoText_65x29.png", // Relative to the Flash file + button_width: "65", + button_height: "29", + button_placeholder_id: "spanButtonPlaceHolder", + button_text: 'Hello', + button_text_style: ".theFont { font-size: 16; }", + button_text_left_padding: 12, + button_text_top_padding: 3, file_size_limit : '10000', file_types : '*.jpg', file_types_description : 'JPG Images', file_upload_limit : '0', + custom_settings : { + progressTarget : "fsUploadProgress" + }, file_queue_error_handler : fileQueueError, file_dialog_complete_handler : fileDialogComplete, @@ -39,9 +52,10 @@ <% form_for(@asset) do |f| %>
- +
0 Files Uploaded
+
+ +
<% end %> diff --git a/config/environment.rb b/config/environment.rb index 33f36cd..889a2f4 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -5,7 +5,7 @@ # ENV['RAILS_ENV'] ||= 'production' # Specifies gem version of Rails to use when vendor/rails is not present -RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION +RAILS_GEM_VERSION = '2.1.2' unless defined? RAILS_GEM_VERSION # Bootstrap the Rails environment, frameworks, and default configuration require File.join(File.dirname(__FILE__), 'boot') diff --git a/log/development.log b/log/development.log deleted file mode 100644 index 56a7163..0000000 --- a/log/development.log +++ /dev/null @@ -1,2299 +0,0 @@ - - -Processing AssetsController#index (for 127.0.0.1 at 2008-07-31 11:51:39) [GET] - Session ID: 325b68e6a6b8749f82e4b2cecf0a9ffe - Parameters: {"action"=>"index", "controller"=>"assets"} - - -ActiveRecord::StatementInvalid (Could not find table 'users'): - /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/sqlite3_adapter.rb:29:in `table_structure' - /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/core_ext/object/misc.rb:28:in `returning' - /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/sqlite3_adapter.rb:28:in `table_structure' - /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/sqlite_adapter.rb:189:in `columns' - /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1145:in `columns' - /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1158:in `column_names' - /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1171:in `column_methods_hash' - /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1714:in `all_attributes_exists?' - /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/inflector.rb:283:in `all?' - /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1714:in `each' - /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1714:in `all?' - /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1714:in `all_attributes_exists?' - /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1613:in `method_missing' - /lib/authenticated_system.rb:123:in `login_from_cookie' - /lib/authenticated_system.rb:12:in `current_user' - /lib/authenticated_system.rb:6:in `logged_in?' - /lib/authenticated_system.rb:35:in `authorized?' - /lib/authenticated_system.rb:53:in `login_required' - /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:173:in `send' - /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:173:in `evaluate_method' - /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:161:in `call' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:430:in `call' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:592:in `run_before_filters' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:578:in `call_filters' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:573:in `perform_action_without_benchmark' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/rescue.rb:201:in `perform_action_without_caching' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' - /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/query_cache.rb:8:in `cache' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:529:in `send' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:529:in `process_without_filters' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:569:in `process_without_session_management_support' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/session_management.rb:130:in `process' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:389:in `process' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:149:in `handle_request' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:107:in `dispatch' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `synchronize' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `dispatch' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi' - /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:35:in `dispatch' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:502:in `load' - /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:502:in `load' - /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:in `new_constants_in' - /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:502:in `load' - /opt/local/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/servers/mongrel.rb:64 - /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in `require' - /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:in `new_constants_in' - /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in `require' - /opt/local/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/server.rb:39 - /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - ./script/server:3 - -Rendering /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) - SQL (0.000905)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.000411) select sqlite_version(*) - SQL (0.002635) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  - SQL (0.002163) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") - SQL (0.000534)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.000278) SELECT version FROM schema_migrations - SQL (0.000320) SELECT version FROM schema_migrations -Migrating to CreateAssets (20080731103639) - SQL (0.000176) SELECT version FROM schema_migrations - SQL (0.003042) CREATE TABLE "assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT NULL NULL, "filename" varchar(255) DEFAULT NULL NULL, "content_type" varchar(255) DEFAULT NULL NULL, "size" integer DEFAULT NULL NULL, "width" integer DEFAULT NULL NULL, "height" integer DEFAULT NULL NULL, "thumbnail" varchar(255) DEFAULT NULL NULL, "user_id" integer DEFAULT NULL NULL, "parent_id" integer DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL)  - SQL (0.002211) INSERT INTO schema_migrations (version) VALUES ('20080731103639') -Migrating to CreateUsers (20080731103753) - SQL (0.000351) SELECT version FROM schema_migrations - SQL (0.000440)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.002382) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40) DEFAULT NULL NULL, "name" varchar(100) DEFAULT '' NULL, "email" varchar(100) DEFAULT NULL NULL, "crypted_password" varchar(40) DEFAULT NULL NULL, "salt" varchar(40) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL, "remember_token" varchar(40) DEFAULT NULL NULL, "remember_token_expires_at" datetime DEFAULT NULL NULL)  - SQL (0.002416) CREATE UNIQUE INDEX "index_users_on_login" ON "users" ("login") - SQL (0.002126) INSERT INTO schema_migrations (version) VALUES ('20080731103753') - SQL (0.000469) SELECT version FROM schema_migrations - SQL (0.000565)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.000109) PRAGMA index_list("assets") - SQL (0.000252) PRAGMA index_list("users") - SQL (0.000269) PRAGMA index_info('index_users_on_login') - - -Processing AssetsController#index (for 127.0.0.1 at 2008-07-31 11:51:54) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo -SGFzaHsABjoKQHVzZWR7AA==--b4007aeaca37979edbede6521c836f27630d30e9 - Parameters: {"action"=>"index", "controller"=>"assets"} - User Load (0.000358) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.02159 (46 reqs/sec) | DB: 0.00036 (1%) | 302 Found [http://localhost/] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:54) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIgYvIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy -OjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--9ee3f66265440a3818f02e43d509ef88891da04c - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000425) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01574 (63 reqs/sec) | DB: 0.00043 (2%) | 302 Found [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:54) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000333) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01557 (64 reqs/sec) | DB: 0.00033 (2%) | 302 Found [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:54) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000341) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01551 (64 reqs/sec) | DB: 0.00034 (2%) | 302 Found [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:54) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000372) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01681 (59 reqs/sec) | DB: 0.00037 (2%) | 302 Found [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:55) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000385) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01615 (61 reqs/sec) | DB: 0.00039 (2%) | 302 Found [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:55) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000342) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01592 (62 reqs/sec) | DB: 0.00034 (2%) | 302 Found [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:55) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000336) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01556 (64 reqs/sec) | DB: 0.00034 (2%) | 302 Found [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:55) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000420) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01622 (61 reqs/sec) | DB: 0.00042 (2%) | 302 Found [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:55) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000375) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01579 (63 reqs/sec) | DB: 0.00038 (2%) | 302 Found [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:55) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000375) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01661 (60 reqs/sec) | DB: 0.00038 (2%) | 302 Found [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:55) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000343) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01613 (61 reqs/sec) | DB: 0.00034 (2%) | 302 Found [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:55) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000391) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01769 (56 reqs/sec) | DB: 0.00039 (2%) | 302 Found [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:55) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000335) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01558 (64 reqs/sec) | DB: 0.00033 (2%) | 302 Found [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:55) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000339) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01559 (64 reqs/sec) | DB: 0.00034 (2%) | 302 Found [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:55) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000337) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01609 (62 reqs/sec) | DB: 0.00034 (2%) | 302 Found [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:51:56) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"new", "controller"=>"sessions"} - User Load (0.000343) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.13424 (7 reqs/sec) | DB: 0.00034 (0%) | 302 Found [http://localhost/session/new] - - -Processing AssetsController#index (for 127.0.0.1 at 2008-07-31 11:52:44) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIhEvc2Vzc2lvbi9uZXciCmZsYXNoSUM6J0FjdGlv -bkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2VkewA=--ffd7cdf8db7da453500491a84cf47007a3b9fb71 - Parameters: {"action"=>"index", "controller"=>"assets"} - User Load (0.000345) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.01606 (62 reqs/sec) | DB: 0.00034 (2%) | 302 Found [http://localhost/] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:52:45) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIgYvIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy -OjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--9ee3f66265440a3818f02e43d509ef88891da04c - Parameters: {"action"=>"new", "controller"=>"sessions"} -Rendering sessions/new -Completed in 0.00712 (140 reqs/sec) | Rendering: 0.00363 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/session/new] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:52:46) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIgYvIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy -OjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--9ee3f66265440a3818f02e43d509ef88891da04c - Parameters: {"action"=>"new", "controller"=>"sessions"} -Rendering sessions/new -Completed in 0.00493 (202 reqs/sec) | Rendering: 0.00165 (33%) | DB: 0.00000 (0%) | 200 OK [http://localhost/session/new] - - -Processing AssetsController#index (for 127.0.0.1 at 2008-07-31 11:54:01) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIgYvIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy -OjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--9ee3f66265440a3818f02e43d509ef88891da04c - Parameters: {"action"=>"index", "controller"=>"assets"} - User Load (0.000386) SELECT * FROM "users" WHERE ("users"."remember_token" = '') LIMIT 1 -Redirected to http://localhost:3000/session/new -Filter chain halted as [:login_required] rendered_or_redirected. -Completed in 0.02282 (43 reqs/sec) | DB: 0.00039 (1%) | 302 Found [http://localhost/] - - -Processing SessionsController#new (for 127.0.0.1 at 2008-07-31 11:54:01) [GET] - Session ID: BAh7BzoOcmV0dXJuX3RvIgYvIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy -OjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--9ee3f66265440a3818f02e43d509ef88891da04c - Parameters: {"action"=>"new", "controller"=>"sessions"} -Rendering sessions/new -Completed in 0.00628 (159 reqs/sec) | Rendering: 0.00293 (46%) | DB: 0.00000 (0%) | 200 OK [http://localhost/session/new] - - -Processing SessionsController#create (for 127.0.0.1 at 2008-07-31 11:54:07) [POST] - Session ID: BAh7BzoOcmV0dXJuX3RvIgYvIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy -OjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--9ee3f66265440a3818f02e43d509ef88891da04c - Parameters: {"commit"=>"Log in", "authenticity_token"=>"dd1eb8f6351bf51e8aeac6a9752986bcc11ab149", "action"=>"create", "controller"=>"sessions", "password"=>"monkey", "login"=>"quentin"} -Cookie set: auth_token=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT - User Load (0.000692) SELECT * FROM "users" WHERE ("users"."login" = 'quentin') LIMIT 1 - User Update (0.000639) UPDATE "users" SET "remember_token" = NULL, "remember_token_expires_at" = NULL, "updated_at" = '2008-07-31 10:54:07' WHERE "id" = 1 -Cookie set: auth_token=; path=/ -Redirected to http://localhost:3000/ -Completed in 0.02908 (34 reqs/sec) | DB: 0.00133 (4%) | 302 Found [http://localhost/session] - - -Processing AssetsController#index (for 127.0.0.1 at 2008-07-31 11:54:07) [GET] - Session ID: BAh7CDoMdXNlcl9pZGkGOg5yZXR1cm5fdG8wIgpmbGFzaElDOidBY3Rpb25D -b250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewY6C25vdGljZSIbTG9nZ2Vk -IGluIHN1Y2Nlc3NmdWxseQY6CkB1c2VkewY7CEY=--fa98f0ea8358e42581d9bf574aa16faa9578d17c - Parameters: {"action"=>"index", "controller"=>"assets"} - User Load (0.000793) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1 - Asset Load (0.000456) SELECT * FROM "assets"  -Rendering assets/index -Completed in 0.09017 (11 reqs/sec) | Rendering: 0.00285 (3%) | DB: 0.00125 (1%) | 200 OK [http://localhost/] - - -Processing AssetsController#index (for 127.0.0.1 at 2008-07-31 11:55:48) [GET] - Session ID: BAh7CDoMdXNlcl9pZGkGOg5yZXR1cm5fdG8wIgpmbGFzaElDOidBY3Rpb25D -b250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewY6C25vdGljZSIbTG9nZ2Vk -IGluIHN1Y2Nlc3NmdWxseQY6CkB1c2VkewY7CFQ=--32cfd0c3209d0e38e5f4ef1a6176db198b3d35ec - Parameters: {"action"=>"index", "controller"=>"assets"} - User Load (0.000657) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1 - Asset Load (0.000408) SELECT * FROM "assets"  -Rendering assets/index -Completed in 0.03290 (30 reqs/sec) | Rendering: 0.00058 (1%) | DB: 0.00106 (3%) | 200 OK [http://localhost/] - - -Processing AssetsController#new (for 127.0.0.1 at 2008-07-31 11:55:50) [GET] - Session ID: BAh7CDoMdXNlcl9pZGkGOg5yZXR1cm5fdG8wIgpmbGFzaElDOidBY3Rpb25D -b250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--03dd36042cb0f647636e8f287f91a6e96a3ead91 - Parameters: {"action"=>"new", "controller"=>"assets"} - User Load (0.000657) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1 -Rendering assets/new - - -ActionView::TemplateError (undefined method `l' for :file:Symbol) on line #1 of assets/new.html.erb: -1:

<%= :new.l_with_args(:object => :file.l) %>

-2: -3: