reflexive 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. data/Gemfile +16 -0
  2. data/Rakefile +31 -0
  3. data/config.ru +3 -0
  4. data/reflexive.gemspec +1 -1
  5. data/spec/coderay_html_encoder_spec.rb +57 -0
  6. data/spec/coderay_ruby_scanner_spec.rb +194 -0
  7. data/spec/io_interceptor.rb +64 -0
  8. data/spec/method_lookup_spec.rb +0 -0
  9. data/spec/methods_spec.rb +202 -0
  10. data/spec/rails_integration_spec.rb +139 -0
  11. data/spec/rails_integration_spec_helper.rb +115 -0
  12. data/spec/reflexive_ripper_spec.rb +351 -0
  13. data/spec/reflexive_spec.rb +98 -0
  14. data/spec/ripper_events_recorder.rb +50 -0
  15. data/spec/ripper_spec.rb +758 -0
  16. data/spec/sexp_builder_with_scanner_events.rb +39 -0
  17. data/spec/shell_out.rb +417 -0
  18. data/spec/spec_helper.rb +4 -0
  19. data/spec/test_apps/rails2_test_app/README +243 -0
  20. data/spec/test_apps/rails2_test_app/Rakefile +10 -0
  21. data/spec/test_apps/rails2_test_app/app/controllers/application_controller.rb +10 -0
  22. data/spec/test_apps/rails2_test_app/app/controllers/posts_controller.rb +85 -0
  23. data/spec/test_apps/rails2_test_app/app/helpers/application_helper.rb +3 -0
  24. data/spec/test_apps/rails2_test_app/app/helpers/posts_helper.rb +2 -0
  25. data/spec/test_apps/rails2_test_app/app/models/post.rb +5 -0
  26. data/spec/test_apps/rails2_test_app/app/views/layouts/posts.html.erb +17 -0
  27. data/spec/test_apps/rails2_test_app/app/views/posts/edit.html.erb +12 -0
  28. data/spec/test_apps/rails2_test_app/app/views/posts/index.html.erb +18 -0
  29. data/spec/test_apps/rails2_test_app/app/views/posts/new.html.erb +11 -0
  30. data/spec/test_apps/rails2_test_app/app/views/posts/show.html.erb +3 -0
  31. data/spec/test_apps/rails2_test_app/config/boot.rb +110 -0
  32. data/spec/test_apps/rails2_test_app/config/database.yml +22 -0
  33. data/spec/test_apps/rails2_test_app/config/environment.rb +43 -0
  34. data/spec/test_apps/rails2_test_app/config/environments/development.rb +17 -0
  35. data/spec/test_apps/rails2_test_app/config/environments/production.rb +28 -0
  36. data/spec/test_apps/rails2_test_app/config/environments/test.rb +28 -0
  37. data/spec/test_apps/rails2_test_app/config/initializers/backtrace_silencers.rb +7 -0
  38. data/spec/test_apps/rails2_test_app/config/initializers/inflections.rb +10 -0
  39. data/spec/test_apps/rails2_test_app/config/initializers/mime_types.rb +5 -0
  40. data/spec/test_apps/rails2_test_app/config/initializers/new_rails_defaults.rb +21 -0
  41. data/spec/test_apps/rails2_test_app/config/initializers/session_store.rb +15 -0
  42. data/spec/test_apps/rails2_test_app/config/locales/en.yml +5 -0
  43. data/spec/test_apps/rails2_test_app/config/routes.rb +45 -0
  44. data/spec/test_apps/rails2_test_app/db/development.sqlite3 +0 -0
  45. data/spec/test_apps/rails2_test_app/db/migrate/20100512073155_create_posts.rb +12 -0
  46. data/spec/test_apps/rails2_test_app/db/schema.rb +19 -0
  47. data/spec/test_apps/rails2_test_app/db/seeds.rb +7 -0
  48. data/spec/test_apps/rails2_test_app/doc/README_FOR_APP +2 -0
  49. data/spec/test_apps/rails2_test_app/log/development.log +251 -0
  50. data/spec/test_apps/rails2_test_app/log/production.log +0 -0
  51. data/spec/test_apps/rails2_test_app/log/server.log +0 -0
  52. data/spec/test_apps/rails2_test_app/log/test.log +0 -0
  53. data/spec/test_apps/rails2_test_app/public/404.html +30 -0
  54. data/spec/test_apps/rails2_test_app/public/422.html +30 -0
  55. data/spec/test_apps/rails2_test_app/public/500.html +30 -0
  56. data/spec/test_apps/rails2_test_app/public/favicon.ico +0 -0
  57. data/spec/test_apps/rails2_test_app/public/images/rails.png +0 -0
  58. data/spec/test_apps/rails2_test_app/public/index.html +275 -0
  59. data/spec/test_apps/rails2_test_app/public/javascripts/application.js +2 -0
  60. data/spec/test_apps/rails2_test_app/public/javascripts/controls.js +963 -0
  61. data/spec/test_apps/rails2_test_app/public/javascripts/dragdrop.js +973 -0
  62. data/spec/test_apps/rails2_test_app/public/javascripts/effects.js +1128 -0
  63. data/spec/test_apps/rails2_test_app/public/javascripts/prototype.js +4320 -0
  64. data/spec/test_apps/rails2_test_app/public/robots.txt +5 -0
  65. data/spec/test_apps/rails2_test_app/public/stylesheets/1.css +0 -0
  66. data/spec/test_apps/rails2_test_app/public/stylesheets/scaffold.css +54 -0
  67. data/spec/test_apps/rails2_test_app/script/about +4 -0
  68. data/spec/test_apps/rails2_test_app/script/console +3 -0
  69. data/spec/test_apps/rails2_test_app/script/dbconsole +3 -0
  70. data/spec/test_apps/rails2_test_app/script/destroy +3 -0
  71. data/spec/test_apps/rails2_test_app/script/generate +3 -0
  72. data/spec/test_apps/rails2_test_app/script/performance/benchmarker +3 -0
  73. data/spec/test_apps/rails2_test_app/script/performance/profiler +3 -0
  74. data/spec/test_apps/rails2_test_app/script/plugin +3 -0
  75. data/spec/test_apps/rails2_test_app/script/runner +3 -0
  76. data/spec/test_apps/rails2_test_app/script/server +3 -0
  77. data/spec/test_apps/rails2_test_app/test/fixtures/posts.yml +7 -0
  78. data/spec/test_apps/rails2_test_app/test/functional/posts_controller_test.rb +45 -0
  79. data/spec/test_apps/rails2_test_app/test/performance/browsing_test.rb +9 -0
  80. data/spec/test_apps/rails2_test_app/test/test_helper.rb +38 -0
  81. data/spec/test_apps/rails2_test_app/test/unit/helpers/posts_helper_test.rb +4 -0
  82. data/spec/test_apps/rails2_test_app/test/unit/post_test.rb +8 -0
  83. data/spec/test_apps/rails3_test_app/Gemfile +28 -0
  84. data/spec/test_apps/rails3_test_app/README +244 -0
  85. data/spec/test_apps/rails3_test_app/Rakefile +10 -0
  86. data/spec/test_apps/rails3_test_app/app/controllers/application_controller.rb +4 -0
  87. data/spec/test_apps/rails3_test_app/app/controllers/posts_controller.rb +83 -0
  88. data/spec/test_apps/rails3_test_app/app/helpers/application_helper.rb +2 -0
  89. data/spec/test_apps/rails3_test_app/app/helpers/posts_helper.rb +2 -0
  90. data/spec/test_apps/rails3_test_app/app/models/post.rb +2 -0
  91. data/spec/test_apps/rails3_test_app/app/views/layouts/application.html.erb +14 -0
  92. data/spec/test_apps/rails3_test_app/app/views/posts/_form.html.erb +16 -0
  93. data/spec/test_apps/rails3_test_app/app/views/posts/edit.html.erb +6 -0
  94. data/spec/test_apps/rails3_test_app/app/views/posts/index.html.erb +21 -0
  95. data/spec/test_apps/rails3_test_app/app/views/posts/new.html.erb +5 -0
  96. data/spec/test_apps/rails3_test_app/app/views/posts/show.html.erb +5 -0
  97. data/spec/test_apps/rails3_test_app/config/application.rb +49 -0
  98. data/spec/test_apps/rails3_test_app/config/boot.rb +6 -0
  99. data/spec/test_apps/rails3_test_app/config/database.yml +22 -0
  100. data/spec/test_apps/rails3_test_app/config/environment.rb +5 -0
  101. data/spec/test_apps/rails3_test_app/config/environments/development.rb +19 -0
  102. data/spec/test_apps/rails3_test_app/config/environments/production.rb +42 -0
  103. data/spec/test_apps/rails3_test_app/config/environments/test.rb +32 -0
  104. data/spec/test_apps/rails3_test_app/config/initializers/backtrace_silencers.rb +7 -0
  105. data/spec/test_apps/rails3_test_app/config/initializers/inflections.rb +10 -0
  106. data/spec/test_apps/rails3_test_app/config/initializers/mime_types.rb +5 -0
  107. data/spec/test_apps/rails3_test_app/config/initializers/secret_token.rb +7 -0
  108. data/spec/test_apps/rails3_test_app/config/initializers/session_store.rb +8 -0
  109. data/spec/test_apps/rails3_test_app/config/locales/en.yml +5 -0
  110. data/spec/test_apps/rails3_test_app/config/routes.rb +60 -0
  111. data/spec/test_apps/rails3_test_app/config.ru +4 -0
  112. data/spec/test_apps/rails3_test_app/db/development.sqlite3 +0 -0
  113. data/spec/test_apps/rails3_test_app/db/migrate/20100512075428_create_posts.rb +12 -0
  114. data/spec/test_apps/rails3_test_app/db/schema.rb +19 -0
  115. data/spec/test_apps/rails3_test_app/db/seeds.rb +7 -0
  116. data/spec/test_apps/rails3_test_app/doc/README_FOR_APP +2 -0
  117. data/spec/test_apps/rails3_test_app/log/development.log +349 -0
  118. data/spec/test_apps/rails3_test_app/log/production.log +0 -0
  119. data/spec/test_apps/rails3_test_app/log/server.log +0 -0
  120. data/spec/test_apps/rails3_test_app/log/test.log +0 -0
  121. data/spec/test_apps/rails3_test_app/public/404.html +26 -0
  122. data/spec/test_apps/rails3_test_app/public/422.html +26 -0
  123. data/spec/test_apps/rails3_test_app/public/500.html +26 -0
  124. data/spec/test_apps/rails3_test_app/public/favicon.ico +0 -0
  125. data/spec/test_apps/rails3_test_app/public/images/rails.png +0 -0
  126. data/spec/test_apps/rails3_test_app/public/index.html +279 -0
  127. data/spec/test_apps/rails3_test_app/public/javascripts/application.js +2 -0
  128. data/spec/test_apps/rails3_test_app/public/javascripts/controls.js +965 -0
  129. data/spec/test_apps/rails3_test_app/public/javascripts/dragdrop.js +974 -0
  130. data/spec/test_apps/rails3_test_app/public/javascripts/effects.js +1123 -0
  131. data/spec/test_apps/rails3_test_app/public/javascripts/prototype.js +4874 -0
  132. data/spec/test_apps/rails3_test_app/public/javascripts/rails.js +118 -0
  133. data/spec/test_apps/rails3_test_app/public/robots.txt +5 -0
  134. data/spec/test_apps/rails3_test_app/public/stylesheets/scaffold.css +60 -0
  135. data/spec/test_apps/rails3_test_app/script/rails +9 -0
  136. data/spec/test_apps/rails3_test_app/test/fixtures/posts.yml +11 -0
  137. data/spec/test_apps/rails3_test_app/test/functional/posts_controller_test.rb +49 -0
  138. data/spec/test_apps/rails3_test_app/test/performance/browsing_test.rb +9 -0
  139. data/spec/test_apps/rails3_test_app/test/test_helper.rb +13 -0
  140. data/spec/test_apps/rails3_test_app/test/unit/helpers/posts_helper_test.rb +4 -0
  141. data/spec/test_apps/rails3_test_app/test/unit/post_test.rb +8 -0
  142. 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
+ SQL (1.3ms)  SELECT name
67
+ FROM sqlite_master
68
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
69
+ 
70
+ SQL (0.3ms) select sqlite_version(*)
71
+ SQL (3.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
72
+ SQL (3.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
73
+ SQL (0.6ms)  SELECT name
74
+ FROM sqlite_master
75
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
76
+ 
77
+ SQL (0.6ms) SELECT name
78
+ FROM sqlite_master
79
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
80
+ SQL (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
81
+ Migrating to CreatePosts (20100512075428)
82
+ SQL (2.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
83
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100512075428')
84
+ SQL (0.7ms) SELECT name
85
+ FROM sqlite_master
86
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
87
+ SQL (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
88
+ SQL (0.4ms) SELECT name
89
+ FROM sqlite_master
90
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
91
+ SQL (0.1ms) PRAGMA index_list("posts")
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
+ SQL (1.7ms)  SELECT name
98
+ FROM sqlite_master
99
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
100
+ 
101
+ Post Load (0.6ms) 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
+ Post Load (1.4ms) SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
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
+ Post Load (0.5ms) 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
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
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
+ Post Load (0.5ms) 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
+ Post Load (0.8ms) SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
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
+ Post Load (0.6ms) 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
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
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
+ Post Load (0.5ms) 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
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
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
+ Post Load (0.5ms) 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
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
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
+ SQL (1.9ms)  SELECT name
258
+ FROM sqlite_master
259
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
260
+ 
261
+ Post Load (1.0ms) 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
+ Post Load (1.3ms) SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
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
+ Post Load (0.5ms) 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
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
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
+ Post Load (0.5ms) 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
+ Post Load (1.3ms) SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 0) LIMIT 1
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