added the associated models to the controllers
[Folio.git] / log / development.log
blob27e9bff49eb1592300e0512b3408d90cfd80afe0
1   \e[4;36;1mSQL (0.023165)\e[0m   \e[0;1mselect sqlite_version(*)\e[0m
2   \e[4;35;1mSQL (0.003785)\e[0m   \e[0mCREATE TABLE schema_info (version integer)\e[0m
3   \e[4;36;1mSQL (0.002915)\e[0m   \e[0;1mINSERT INTO schema_info (version) VALUES(0)\e[0m
4   \e[4;35;1mSQL (0.000000)\e[0m   \e[0mSQLite3::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer)\e[0m
5   \e[4;36;1mSQL (0.000447)\e[0m   \e[0;1mSELECT version FROM schema_info\e[0m
6 Migrating to CreateUsers (1)
7   \e[4;35;1mSQL (0.000000)\e[0m   \e[0mSQLite3::SQLException: no such table: users: DROP TABLE users\e[0m
8   \e[4;36;1mSQL (0.002803)\e[0m   \e[0;1mCREATE TABLE users ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(255) DEFAULT NULL, "email" varchar(255) DEFAULT NULL, "crypted_password" varchar(40) DEFAULT NULL, "salt" varchar(40) DEFAULT NULL, "created_at" datetime DEFAULT NULL, "updated_at" datetime DEFAULT NULL, "remember_token" varchar(255) DEFAULT NULL, "remember_token_expires_at" datetime DEFAULT NULL) \e[0m
9   \e[4;35;1mSQL (0.002688)\e[0m   \e[0mUPDATE schema_info SET version = 1\e[0m
10   \e[4;36;1mSQL (0.000390)\e[0m   \e[0;1mSELECT * FROM schema_info\e[0m
11   \e[4;35;1mSQL (0.000362)\e[0m   \e[0m SELECT name
12  FROM sqlite_master
13  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
14 \e[0m
15   \e[4;36;1mSQL (0.000093)\e[0m   \e[0;1mPRAGMA index_list(users)\e[0m
16   \e[4;36;1mSQL (0.000230)\e[0m   \e[0;1mselect sqlite_version(*)\e[0m
17   \e[4;35;1mSQL (0.000000)\e[0m   \e[0mSQLite3::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer)\e[0m
18   \e[4;36;1mSQL (0.000000)\e[0m   \e[0;1mSQLite3::SQLException: table schema_info already exists: CREATE TABLE schema_info (version integer)\e[0m
19   \e[4;35;1mSQL (0.000224)\e[0m   \e[0mSELECT version FROM schema_info\e[0m
20   \e[4;36;1mSQL (0.000193)\e[0m   \e[0;1mSELECT version FROM schema_info\e[0m
21 Migrating to CreateProjects (2)
22   \e[4;35;1mSQL (0.040089)\e[0m   \e[0mCREATE TABLE projects ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer DEFAULT NULL, "name" varchar(255) DEFAULT NULL, "client" varchar(255) DEFAULT NULL, "url" varchar(255) DEFAULT NULL, "launch_date" date DEFAULT NULL, "frontpage" boolean DEFAULT 't', "description" text DEFAULT NULL, "created_at" datetime DEFAULT NULL, "updated_at" datetime DEFAULT NULL) \e[0m
23   \e[4;36;1mSQL (0.002280)\e[0m   \e[0;1mUPDATE schema_info SET version = 2\e[0m
24   \e[4;35;1mSQL (0.000579)\e[0m   \e[0mSELECT version FROM schema_info\e[0m
25 Migrating to CreateCategories (3)
26   \e[4;36;1mSQL (0.002889)\e[0m   \e[0;1mCREATE TABLE categories ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT NULL, "created_at" datetime DEFAULT NULL, "updated_at" datetime DEFAULT NULL) \e[0m
27   \e[4;35;1mSQL (0.002198)\e[0m   \e[0mUPDATE schema_info SET version = 3\e[0m
28   \e[4;36;1mSQL (0.000344)\e[0m   \e[0;1mSELECT * FROM schema_info\e[0m
29   \e[4;35;1mSQL (0.000478)\e[0m   \e[0m SELECT name
30  FROM sqlite_master
31  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
32 \e[0m
33   \e[4;36;1mSQL (0.000100)\e[0m   \e[0;1mPRAGMA index_list(categories)\e[0m
34   \e[4;35;1mSQL (0.000117)\e[0m   \e[0mPRAGMA index_list(projects)\e[0m
35   \e[4;36;1mSQL (0.000111)\e[0m   \e[0;1mPRAGMA index_list(users)\e[0m
38 Processing ApplicationController#index (for 127.0.0.1 at 2008-01-26 23:32:31) [GET]
39   Session ID: 027cab903d61e65138ce1ea54d704bf2
40   Parameters: {"action"=>"index", "controller"=>"categories"}
43 NoMethodError (undefined method `scaffold' for CategoriesController:Class):
44     /app/controllers/categories_controller.rb:2
45     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking'
46     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:203:in `load_file'
47     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
48     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:202:in `load_file'
49     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:94:in `require_or_load'
50     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:248:in `load_missing_constant'
51     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:453:in `const_missing'
52     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:465:in `const_missing'
53     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/inflector.rb:257:in `constantize'
54     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/core_ext/string/inflections.rb:148:in `constantize'
55     /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/routing.rb:1426:in `recognize'
56     /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:170:in `handle_request'
57     /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch'
58     /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
59     /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch'
60     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel/rails.rb:76:in `process'
61     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel/rails.rb:74:in `synchronize'
62     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel/rails.rb:74:in `process'
63     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:159:in `process_client'
64     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:158:in `each'
65     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:158:in `process_client'
66     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:285:in `run'
67     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:285:in `initialize'
68     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:285:in `new'
69     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:285:in `run'
70     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:268:in `initialize'
71     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:268:in `new'
72     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:268:in `run'
73     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:282:in `run'
74     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:281:in `each'
75     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/configurator.rb:281:in `run'
76     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:128:in `run'
77     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/command.rb:212:in `run'
78     /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:281
79     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load'
80     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load'
81     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
82     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load'
83     /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64
84     /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
85     /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
86     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
87     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
88     /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
89     /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
90     /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
91     /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
92     script/server:3
94 Rendering /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/templates/rescues/layout.erb (internal_server_error)