reflexive 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +16 -0
- data/Rakefile +31 -0
- data/config.ru +3 -0
- data/reflexive.gemspec +1 -1
- data/spec/coderay_html_encoder_spec.rb +57 -0
- data/spec/coderay_ruby_scanner_spec.rb +194 -0
- data/spec/io_interceptor.rb +64 -0
- data/spec/method_lookup_spec.rb +0 -0
- data/spec/methods_spec.rb +202 -0
- data/spec/rails_integration_spec.rb +139 -0
- data/spec/rails_integration_spec_helper.rb +115 -0
- data/spec/reflexive_ripper_spec.rb +351 -0
- data/spec/reflexive_spec.rb +98 -0
- data/spec/ripper_events_recorder.rb +50 -0
- data/spec/ripper_spec.rb +758 -0
- data/spec/sexp_builder_with_scanner_events.rb +39 -0
- data/spec/shell_out.rb +417 -0
- data/spec/spec_helper.rb +4 -0
- data/spec/test_apps/rails2_test_app/README +243 -0
- data/spec/test_apps/rails2_test_app/Rakefile +10 -0
- data/spec/test_apps/rails2_test_app/app/controllers/application_controller.rb +10 -0
- data/spec/test_apps/rails2_test_app/app/controllers/posts_controller.rb +85 -0
- data/spec/test_apps/rails2_test_app/app/helpers/application_helper.rb +3 -0
- data/spec/test_apps/rails2_test_app/app/helpers/posts_helper.rb +2 -0
- data/spec/test_apps/rails2_test_app/app/models/post.rb +5 -0
- data/spec/test_apps/rails2_test_app/app/views/layouts/posts.html.erb +17 -0
- data/spec/test_apps/rails2_test_app/app/views/posts/edit.html.erb +12 -0
- data/spec/test_apps/rails2_test_app/app/views/posts/index.html.erb +18 -0
- data/spec/test_apps/rails2_test_app/app/views/posts/new.html.erb +11 -0
- data/spec/test_apps/rails2_test_app/app/views/posts/show.html.erb +3 -0
- data/spec/test_apps/rails2_test_app/config/boot.rb +110 -0
- data/spec/test_apps/rails2_test_app/config/database.yml +22 -0
- data/spec/test_apps/rails2_test_app/config/environment.rb +43 -0
- data/spec/test_apps/rails2_test_app/config/environments/development.rb +17 -0
- data/spec/test_apps/rails2_test_app/config/environments/production.rb +28 -0
- data/spec/test_apps/rails2_test_app/config/environments/test.rb +28 -0
- data/spec/test_apps/rails2_test_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/test_apps/rails2_test_app/config/initializers/inflections.rb +10 -0
- data/spec/test_apps/rails2_test_app/config/initializers/mime_types.rb +5 -0
- data/spec/test_apps/rails2_test_app/config/initializers/new_rails_defaults.rb +21 -0
- data/spec/test_apps/rails2_test_app/config/initializers/session_store.rb +15 -0
- data/spec/test_apps/rails2_test_app/config/locales/en.yml +5 -0
- data/spec/test_apps/rails2_test_app/config/routes.rb +45 -0
- data/spec/test_apps/rails2_test_app/db/development.sqlite3 +0 -0
- data/spec/test_apps/rails2_test_app/db/migrate/20100512073155_create_posts.rb +12 -0
- data/spec/test_apps/rails2_test_app/db/schema.rb +19 -0
- data/spec/test_apps/rails2_test_app/db/seeds.rb +7 -0
- data/spec/test_apps/rails2_test_app/doc/README_FOR_APP +2 -0
- data/spec/test_apps/rails2_test_app/log/development.log +251 -0
- data/spec/test_apps/rails2_test_app/log/production.log +0 -0
- data/spec/test_apps/rails2_test_app/log/server.log +0 -0
- data/spec/test_apps/rails2_test_app/log/test.log +0 -0
- data/spec/test_apps/rails2_test_app/public/404.html +30 -0
- data/spec/test_apps/rails2_test_app/public/422.html +30 -0
- data/spec/test_apps/rails2_test_app/public/500.html +30 -0
- data/spec/test_apps/rails2_test_app/public/favicon.ico +0 -0
- data/spec/test_apps/rails2_test_app/public/images/rails.png +0 -0
- data/spec/test_apps/rails2_test_app/public/index.html +275 -0
- data/spec/test_apps/rails2_test_app/public/javascripts/application.js +2 -0
- data/spec/test_apps/rails2_test_app/public/javascripts/controls.js +963 -0
- data/spec/test_apps/rails2_test_app/public/javascripts/dragdrop.js +973 -0
- data/spec/test_apps/rails2_test_app/public/javascripts/effects.js +1128 -0
- data/spec/test_apps/rails2_test_app/public/javascripts/prototype.js +4320 -0
- data/spec/test_apps/rails2_test_app/public/robots.txt +5 -0
- data/spec/test_apps/rails2_test_app/public/stylesheets/1.css +0 -0
- data/spec/test_apps/rails2_test_app/public/stylesheets/scaffold.css +54 -0
- data/spec/test_apps/rails2_test_app/script/about +4 -0
- data/spec/test_apps/rails2_test_app/script/console +3 -0
- data/spec/test_apps/rails2_test_app/script/dbconsole +3 -0
- data/spec/test_apps/rails2_test_app/script/destroy +3 -0
- data/spec/test_apps/rails2_test_app/script/generate +3 -0
- data/spec/test_apps/rails2_test_app/script/performance/benchmarker +3 -0
- data/spec/test_apps/rails2_test_app/script/performance/profiler +3 -0
- data/spec/test_apps/rails2_test_app/script/plugin +3 -0
- data/spec/test_apps/rails2_test_app/script/runner +3 -0
- data/spec/test_apps/rails2_test_app/script/server +3 -0
- data/spec/test_apps/rails2_test_app/test/fixtures/posts.yml +7 -0
- data/spec/test_apps/rails2_test_app/test/functional/posts_controller_test.rb +45 -0
- data/spec/test_apps/rails2_test_app/test/performance/browsing_test.rb +9 -0
- data/spec/test_apps/rails2_test_app/test/test_helper.rb +38 -0
- data/spec/test_apps/rails2_test_app/test/unit/helpers/posts_helper_test.rb +4 -0
- data/spec/test_apps/rails2_test_app/test/unit/post_test.rb +8 -0
- data/spec/test_apps/rails3_test_app/Gemfile +28 -0
- data/spec/test_apps/rails3_test_app/README +244 -0
- data/spec/test_apps/rails3_test_app/Rakefile +10 -0
- data/spec/test_apps/rails3_test_app/app/controllers/application_controller.rb +4 -0
- data/spec/test_apps/rails3_test_app/app/controllers/posts_controller.rb +83 -0
- data/spec/test_apps/rails3_test_app/app/helpers/application_helper.rb +2 -0
- data/spec/test_apps/rails3_test_app/app/helpers/posts_helper.rb +2 -0
- data/spec/test_apps/rails3_test_app/app/models/post.rb +2 -0
- data/spec/test_apps/rails3_test_app/app/views/layouts/application.html.erb +14 -0
- data/spec/test_apps/rails3_test_app/app/views/posts/_form.html.erb +16 -0
- data/spec/test_apps/rails3_test_app/app/views/posts/edit.html.erb +6 -0
- data/spec/test_apps/rails3_test_app/app/views/posts/index.html.erb +21 -0
- data/spec/test_apps/rails3_test_app/app/views/posts/new.html.erb +5 -0
- data/spec/test_apps/rails3_test_app/app/views/posts/show.html.erb +5 -0
- data/spec/test_apps/rails3_test_app/config/application.rb +49 -0
- data/spec/test_apps/rails3_test_app/config/boot.rb +6 -0
- data/spec/test_apps/rails3_test_app/config/database.yml +22 -0
- data/spec/test_apps/rails3_test_app/config/environment.rb +5 -0
- data/spec/test_apps/rails3_test_app/config/environments/development.rb +19 -0
- data/spec/test_apps/rails3_test_app/config/environments/production.rb +42 -0
- data/spec/test_apps/rails3_test_app/config/environments/test.rb +32 -0
- data/spec/test_apps/rails3_test_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/test_apps/rails3_test_app/config/initializers/inflections.rb +10 -0
- data/spec/test_apps/rails3_test_app/config/initializers/mime_types.rb +5 -0
- data/spec/test_apps/rails3_test_app/config/initializers/secret_token.rb +7 -0
- data/spec/test_apps/rails3_test_app/config/initializers/session_store.rb +8 -0
- data/spec/test_apps/rails3_test_app/config/locales/en.yml +5 -0
- data/spec/test_apps/rails3_test_app/config/routes.rb +60 -0
- data/spec/test_apps/rails3_test_app/config.ru +4 -0
- data/spec/test_apps/rails3_test_app/db/development.sqlite3 +0 -0
- data/spec/test_apps/rails3_test_app/db/migrate/20100512075428_create_posts.rb +12 -0
- data/spec/test_apps/rails3_test_app/db/schema.rb +19 -0
- data/spec/test_apps/rails3_test_app/db/seeds.rb +7 -0
- data/spec/test_apps/rails3_test_app/doc/README_FOR_APP +2 -0
- data/spec/test_apps/rails3_test_app/log/development.log +349 -0
- data/spec/test_apps/rails3_test_app/log/production.log +0 -0
- data/spec/test_apps/rails3_test_app/log/server.log +0 -0
- data/spec/test_apps/rails3_test_app/log/test.log +0 -0
- data/spec/test_apps/rails3_test_app/public/404.html +26 -0
- data/spec/test_apps/rails3_test_app/public/422.html +26 -0
- data/spec/test_apps/rails3_test_app/public/500.html +26 -0
- data/spec/test_apps/rails3_test_app/public/favicon.ico +0 -0
- data/spec/test_apps/rails3_test_app/public/images/rails.png +0 -0
- data/spec/test_apps/rails3_test_app/public/index.html +279 -0
- data/spec/test_apps/rails3_test_app/public/javascripts/application.js +2 -0
- data/spec/test_apps/rails3_test_app/public/javascripts/controls.js +965 -0
- data/spec/test_apps/rails3_test_app/public/javascripts/dragdrop.js +974 -0
- data/spec/test_apps/rails3_test_app/public/javascripts/effects.js +1123 -0
- data/spec/test_apps/rails3_test_app/public/javascripts/prototype.js +4874 -0
- data/spec/test_apps/rails3_test_app/public/javascripts/rails.js +118 -0
- data/spec/test_apps/rails3_test_app/public/robots.txt +5 -0
- data/spec/test_apps/rails3_test_app/public/stylesheets/scaffold.css +60 -0
- data/spec/test_apps/rails3_test_app/script/rails +9 -0
- data/spec/test_apps/rails3_test_app/test/fixtures/posts.yml +11 -0
- data/spec/test_apps/rails3_test_app/test/functional/posts_controller_test.rb +49 -0
- data/spec/test_apps/rails3_test_app/test/performance/browsing_test.rb +9 -0
- data/spec/test_apps/rails3_test_app/test/test_helper.rb +13 -0
- data/spec/test_apps/rails3_test_app/test/unit/helpers/posts_helper_test.rb +4 -0
- data/spec/test_apps/rails3_test_app/test/unit/post_test.rb +8 -0
- metadata +142 -2
@@ -0,0 +1,349 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
Started GET "/reflexive/constants/CGI" for 192.168.74.1 at 2010-05-05 09:12:29
|
4
|
+
|
5
|
+
|
6
|
+
Started GET "/stylesheets/reflexive/reflexive.css?1273075949" for 192.168.74.1 at 2010-05-05 09:12:33
|
7
|
+
|
8
|
+
|
9
|
+
Started GET "/stylesheets/reflexive/coderay.css?1273075949" for 192.168.74.1 at 2010-05-05 09:12:33
|
10
|
+
|
11
|
+
|
12
|
+
Started GET "/javascripts/reflexive/jquery-1.4.2.js?1273075949" for 192.168.74.1 at 2010-05-05 09:12:33
|
13
|
+
|
14
|
+
|
15
|
+
Started GET "/javascripts/reflexive/reflexive.js?1273075949" for 192.168.74.1 at 2010-05-05 09:12:33
|
16
|
+
|
17
|
+
|
18
|
+
Started GET "/stylesheets/123" for 192.168.74.1 at 2010-05-05 09:12:49
|
19
|
+
|
20
|
+
|
21
|
+
Started GET "/__sinatra__/500.png" for 192.168.74.1 at 2010-05-05 09:12:49
|
22
|
+
|
23
|
+
|
24
|
+
Started GET "/stylesheets/application.css" for 192.168.74.1 at 2010-05-05 09:12:58
|
25
|
+
|
26
|
+
|
27
|
+
Started GET "/javascripts%5Capplication.js" for 192.168.74.1 at 2010-05-05 09:13:45
|
28
|
+
|
29
|
+
|
30
|
+
Started GET "/javascripts/application.js123" for 192.168.74.1 at 2010-05-05 09:13:52
|
31
|
+
|
32
|
+
|
33
|
+
Started GET "/qwe/asd" for 192.168.74.1 at 2010-05-05 09:13:59
|
34
|
+
|
35
|
+
|
36
|
+
Started GET "/qwe/asd" for 192.168.74.1 at 2010-05-05 09:16:26
|
37
|
+
|
38
|
+
ActionController::RoutingError (No route matches "/qwe/asd"):
|
39
|
+
|
40
|
+
|
41
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head@reflexive_rails3/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.7ms)
|
42
|
+
|
43
|
+
|
44
|
+
Started GET "/qwe/asd" for 192.168.74.1 at 2010-05-05 09:16:30
|
45
|
+
|
46
|
+
ActionController::RoutingError (No route matches "/qwe/asd"):
|
47
|
+
|
48
|
+
|
49
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head@reflexive_rails3/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
|
50
|
+
|
51
|
+
|
52
|
+
Started GET "/stylesheets/123" for 192.168.74.1 at 2010-05-05 09:16:41
|
53
|
+
|
54
|
+
ActionController::RoutingError (No route matches "/stylesheets/123"):
|
55
|
+
|
56
|
+
|
57
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head@reflexive_rails3/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
|
58
|
+
|
59
|
+
|
60
|
+
Started GET "/stylesheets/123" for 192.168.74.1 at 2010-05-05 09:16:41
|
61
|
+
|
62
|
+
ActionController::RoutingError (No route matches "/stylesheets/123"):
|
63
|
+
|
64
|
+
|
65
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head@reflexive_rails3/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
|
66
|
+
[1m[36mSQL (1.3ms)[0m [1m SELECT name
|
67
|
+
FROM sqlite_master
|
68
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
69
|
+
[0m
|
70
|
+
[1m[35mSQL (0.3ms)[0m select sqlite_version(*)
|
71
|
+
[1m[36mSQL (3.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
72
|
+
[1m[35mSQL (3.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
73
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
74
|
+
FROM sqlite_master
|
75
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
76
|
+
[0m
|
77
|
+
[1m[35mSQL (0.6ms)[0m SELECT name
|
78
|
+
FROM sqlite_master
|
79
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
80
|
+
[1m[36mSQL (0.8ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
81
|
+
Migrating to CreatePosts (20100512075428)
|
82
|
+
[1m[35mSQL (2.8ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
83
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20100512075428')[0m
|
84
|
+
[1m[35mSQL (0.7ms)[0m SELECT name
|
85
|
+
FROM sqlite_master
|
86
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
87
|
+
[1m[36mSQL (0.6ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
88
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
89
|
+
FROM sqlite_master
|
90
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
91
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("posts")[0m
|
92
|
+
|
93
|
+
|
94
|
+
Started GET "/posts/exists%3F" for 192.168.74.1 at 2010-05-12 00:55:06
|
95
|
+
Processing by PostsController#show as HTML
|
96
|
+
Parameters: {"id"=>"exists?"}
|
97
|
+
[1m[36mSQL (1.7ms)[0m [1m SELECT name
|
98
|
+
FROM sqlite_master
|
99
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
100
|
+
[0m
|
101
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
|
102
|
+
|
103
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists?):
|
104
|
+
app/controllers/posts_controller.rb:16:in `show'
|
105
|
+
|
106
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms)
|
107
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.7ms)
|
108
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.3ms)
|
109
|
+
|
110
|
+
|
111
|
+
Started GET "/posts/exists%3F" for 192.168.74.1 at 2010-05-12 00:55:10
|
112
|
+
Processing by PostsController#show as HTML
|
113
|
+
Parameters: {"id"=>"exists?"}
|
114
|
+
[1m[36mPost Load (1.4ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1[0m
|
115
|
+
|
116
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists?):
|
117
|
+
app/controllers/posts_controller.rb:16:in `show'
|
118
|
+
|
119
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
|
120
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.0ms)
|
121
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.0ms)
|
122
|
+
|
123
|
+
|
124
|
+
Started GET "/posts/exists" for 192.168.74.1 at 2010-05-12 00:55:19
|
125
|
+
Processing by PostsController#show as HTML
|
126
|
+
Parameters: {"id"=>"exists"}
|
127
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
|
128
|
+
|
129
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists):
|
130
|
+
app/controllers/posts_controller.rb:16:in `show'
|
131
|
+
|
132
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
|
133
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.9ms)
|
134
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.1ms)
|
135
|
+
|
136
|
+
|
137
|
+
Started GET "/posts/exists" for 192.168.74.1 at 2010-05-12 00:55:19
|
138
|
+
Processing by PostsController#show as HTML
|
139
|
+
Parameters: {"id"=>"exists"}
|
140
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1[0m
|
141
|
+
|
142
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists):
|
143
|
+
app/controllers/posts_controller.rb:16:in `show'
|
144
|
+
|
145
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
|
146
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.0ms)
|
147
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.9ms)
|
148
|
+
|
149
|
+
|
150
|
+
Started GET "/posts/exists" for 192.168.74.1 at 2010-05-12 00:55:24
|
151
|
+
Processing by PostsController#show as HTML
|
152
|
+
Parameters: {"id"=>"exists"}
|
153
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
|
154
|
+
|
155
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists):
|
156
|
+
app/controllers/posts_controller.rb:16:in `show'
|
157
|
+
|
158
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
|
159
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.9ms)
|
160
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.9ms)
|
161
|
+
|
162
|
+
|
163
|
+
Started GET "/posts/exists" for 192.168.74.1 at 2010-05-12 00:55:24
|
164
|
+
Processing by PostsController#show as HTML
|
165
|
+
Parameters: {"id"=>"exists"}
|
166
|
+
[1m[36mPost Load (0.8ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1[0m
|
167
|
+
|
168
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists):
|
169
|
+
app/controllers/posts_controller.rb:16:in `show'
|
170
|
+
|
171
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
172
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.9ms)
|
173
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.4ms)
|
174
|
+
|
175
|
+
|
176
|
+
Started GET "/posts/exists" for 192.168.74.1 at 2010-05-12 00:55:27
|
177
|
+
Processing by PostsController#show as HTML
|
178
|
+
Parameters: {"id"=>"exists"}
|
179
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
|
180
|
+
|
181
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists):
|
182
|
+
app/controllers/posts_controller.rb:16:in `show'
|
183
|
+
|
184
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
|
185
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.0ms)
|
186
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.3ms)
|
187
|
+
|
188
|
+
|
189
|
+
Started GET "/posts/exists" for 192.168.74.1 at 2010-05-12 00:55:27
|
190
|
+
Processing by PostsController#show as HTML
|
191
|
+
Parameters: {"id"=>"exists"}
|
192
|
+
[1m[36mPost Load (0.7ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1[0m
|
193
|
+
|
194
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists):
|
195
|
+
app/controllers/posts_controller.rb:16:in `show'
|
196
|
+
|
197
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
|
198
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.9ms)
|
199
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.3ms)
|
200
|
+
|
201
|
+
|
202
|
+
Started GET "/posts/exists?qwe=1" for 192.168.74.1 at 2010-05-12 00:55:31
|
203
|
+
Processing by PostsController#show as HTML
|
204
|
+
Parameters: {"qwe"=>"1", "id"=>"exists"}
|
205
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
|
206
|
+
|
207
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists):
|
208
|
+
app/controllers/posts_controller.rb:16:in `show'
|
209
|
+
|
210
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
|
211
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.0ms)
|
212
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.0ms)
|
213
|
+
|
214
|
+
|
215
|
+
Started GET "/posts/exists?qwe=1" for 192.168.74.1 at 2010-05-12 00:55:31
|
216
|
+
Processing by PostsController#show as HTML
|
217
|
+
Parameters: {"qwe"=>"1", "id"=>"exists"}
|
218
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1[0m
|
219
|
+
|
220
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists):
|
221
|
+
app/controllers/posts_controller.rb:16:in `show'
|
222
|
+
|
223
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
224
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.1ms)
|
225
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.7ms)
|
226
|
+
|
227
|
+
|
228
|
+
Started GET "/posts/exists%3Fqwe=1" for 192.168.74.1 at 2010-05-12 00:55:37
|
229
|
+
Processing by PostsController#show as HTML
|
230
|
+
Parameters: {"id"=>"exists?qwe=1"}
|
231
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
|
232
|
+
|
233
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists?qwe=1):
|
234
|
+
app/controllers/posts_controller.rb:16:in `show'
|
235
|
+
|
236
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
237
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.7ms)
|
238
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.7ms)
|
239
|
+
|
240
|
+
|
241
|
+
Started GET "/posts/exists%3Fqwe=1" for 192.168.74.1 at 2010-05-12 00:55:37
|
242
|
+
Processing by PostsController#show as HTML
|
243
|
+
Parameters: {"id"=>"exists?qwe=1"}
|
244
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1[0m
|
245
|
+
|
246
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists?qwe=1):
|
247
|
+
app/controllers/posts_controller.rb:16:in `show'
|
248
|
+
|
249
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
|
250
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.7ms)
|
251
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.3ms)
|
252
|
+
|
253
|
+
|
254
|
+
Started GET "/posts/exists%2Fq" for 192.168.74.1 at 2010-05-12 01:16:35
|
255
|
+
Processing by PostsController#show as HTML
|
256
|
+
Parameters: {"id"=>"exists/q"}
|
257
|
+
[1m[36mSQL (1.9ms)[0m [1m SELECT name
|
258
|
+
FROM sqlite_master
|
259
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
260
|
+
[0m
|
261
|
+
[1m[35mPost Load (1.0ms)[0m SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
|
262
|
+
|
263
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists/q):
|
264
|
+
app/controllers/posts_controller.rb:16:in `show'
|
265
|
+
|
266
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.1ms)
|
267
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.8ms)
|
268
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.3ms)
|
269
|
+
|
270
|
+
|
271
|
+
Started GET "/posts/exists%2Fq" for 192.168.74.1 at 2010-05-12 01:16:39
|
272
|
+
Processing by PostsController#show as HTML
|
273
|
+
Parameters: {"id"=>"exists/q"}
|
274
|
+
[1m[36mPost Load (1.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1[0m
|
275
|
+
|
276
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists/q):
|
277
|
+
app/controllers/posts_controller.rb:16:in `show'
|
278
|
+
|
279
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
280
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.4ms)
|
281
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.1ms)
|
282
|
+
|
283
|
+
|
284
|
+
Started GET "/posts/exists%2Fq" for 192.168.74.1 at 2010-05-12 01:16:41
|
285
|
+
Processing by PostsController#show as HTML
|
286
|
+
Parameters: {"id"=>"exists/q"}
|
287
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
|
288
|
+
|
289
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists/q):
|
290
|
+
app/controllers/posts_controller.rb:16:in `show'
|
291
|
+
|
292
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
|
293
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.1ms)
|
294
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.4ms)
|
295
|
+
|
296
|
+
|
297
|
+
Started GET "/posts/exists%2Fq" for 192.168.74.1 at 2010-05-12 01:16:41
|
298
|
+
Processing by PostsController#show as HTML
|
299
|
+
Parameters: {"id"=>"exists/q"}
|
300
|
+
[1m[36mPost Load (0.7ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1[0m
|
301
|
+
|
302
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=exists/q):
|
303
|
+
app/controllers/posts_controller.rb:16:in `show'
|
304
|
+
|
305
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
|
306
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.2ms)
|
307
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.0ms)
|
308
|
+
|
309
|
+
|
310
|
+
Started GET "/posts/exists/q" for 192.168.74.1 at 2010-05-12 01:17:13
|
311
|
+
|
312
|
+
ActionController::RoutingError (No route matches "/posts/exists/q"):
|
313
|
+
|
314
|
+
|
315
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.2ms)
|
316
|
+
|
317
|
+
|
318
|
+
Started GET "/posts/exists/q" for 192.168.74.1 at 2010-05-12 01:17:13
|
319
|
+
|
320
|
+
ActionController::RoutingError (No route matches "/posts/exists/q"):
|
321
|
+
|
322
|
+
|
323
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.3ms)
|
324
|
+
|
325
|
+
|
326
|
+
Started GET "/posts/%2F" for 192.168.74.1 at 2010-05-12 01:19:28
|
327
|
+
Processing by PostsController#show as HTML
|
328
|
+
Parameters: {"id"=>"/"}
|
329
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
|
330
|
+
|
331
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=/):
|
332
|
+
app/controllers/posts_controller.rb:16:in `show'
|
333
|
+
|
334
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
|
335
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.5ms)
|
336
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.0ms)
|
337
|
+
|
338
|
+
|
339
|
+
Started GET "/posts/%2F" for 192.168.74.1 at 2010-05-12 01:19:28
|
340
|
+
Processing by PostsController#show as HTML
|
341
|
+
Parameters: {"id"=>"/"}
|
342
|
+
[1m[36mPost Load (1.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1[0m
|
343
|
+
|
344
|
+
ActiveRecord::RecordNotFound (Couldn't find Post with ID=/):
|
345
|
+
app/controllers/posts_controller.rb:16:in `show'
|
346
|
+
|
347
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
|
348
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.0ms)
|
349
|
+
Rendered /usr/local/rvm/gems/ruby-1.9.2-head/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.7ms)
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
File without changes
|
Binary file
|