nitro 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. data/{ChangeLog → CHANGELOG} +137 -0
  2. data/INSTALL +1 -2
  3. data/README +1 -1
  4. data/Rakefile +10 -61
  5. data/benchmark/{nitro/bench.rb → bench.rb} +1 -1
  6. data/benchmark/{nitro/simple-webrick-n-200.txt → simple-webrick-n-200.txt} +0 -0
  7. data/benchmark/{nitro/static-webrick-n-200.txt → static-webrick-n-200.txt} +0 -0
  8. data/benchmark/{nitro/tiny-lhttpd-n-200-c-5.txt → tiny-lhttpd-n-200-c-5.txt} +0 -0
  9. data/benchmark/{nitro/tiny-webrick-n-200-c-5.txt → tiny-webrick-n-200-c-5.txt} +0 -0
  10. data/benchmark/{nitro/tiny-webrick-n-200.txt → tiny-webrick-n-200.txt} +0 -0
  11. data/benchmark/{nitro/tiny2-webrick-n-200.txt → tiny2-webrick-n-200.txt} +0 -0
  12. data/doc/{ChangeLog.1 → CHANGELOG.1} +0 -0
  13. data/{RELEASES → doc/RELEASES} +46 -0
  14. data/doc/faq.txt +7 -0
  15. data/examples/README.windows +1 -1
  16. data/examples/ajax/controller.rb +21 -0
  17. data/examples/ajax/public/index.xhtml +70 -0
  18. data/examples/ajax/public/js/ajax.js +64 -0
  19. data/examples/ajax/run.rb +16 -0
  20. data/examples/blog/README +6 -3
  21. data/examples/blog/conf/apache.conf +2 -2
  22. data/examples/blog/conf/lhttpd.conf +2 -2
  23. data/examples/blog/log/apache.error_log +777 -0
  24. data/examples/blog/{root → public}/base.xsl +0 -0
  25. data/examples/blog/{root → public}/fcgi.rb +0 -0
  26. data/examples/blog/{root → public}/m/bubbles.gif +0 -0
  27. data/examples/blog/{root → public}/m/comments_curve.gif +0 -0
  28. data/examples/blog/{root → public}/m/down.gif +0 -0
  29. data/examples/blog/{root → public}/m/footer_bg.gif +0 -0
  30. data/examples/blog/{root → public}/m/garrow.gif +0 -0
  31. data/examples/blog/{root → public}/m/gbull.gif +0 -0
  32. data/examples/blog/{root → public}/m/grbull.gif +0 -0
  33. data/examples/blog/{root → public}/m/h1_bg.gif +0 -0
  34. data/examples/blog/{root → public}/m/header_bg.gif +0 -0
  35. data/examples/blog/{root → public}/m/nitro.gif +0 -0
  36. data/examples/blog/{root → public}/m/obull.gif +0 -0
  37. data/examples/blog/{root → public}/m/page_bg.gif +0 -0
  38. data/examples/blog/{root → public}/m/rss.gif +0 -0
  39. data/examples/blog/{root → public}/m/side_title_bg.gif +0 -0
  40. data/examples/blog/{root → public}/m/sidebar_bg.gif +0 -0
  41. data/examples/{no_xsl_blog/root → blog/public}/style.css +6 -0
  42. data/examples/blog/run.rb +10 -12
  43. data/examples/blog/{lib → src}/blog.rb +3 -3
  44. data/examples/blog/{lib/blog → src}/controller.rb +13 -2
  45. data/examples/blog/src/mailer.rb +23 -0
  46. data/examples/blog/{lib/blog/model.rb → src/models/blog.rb} +4 -7
  47. data/examples/blog/src/models/content.rb +52 -0
  48. data/examples/blog/src/views/blog_entry_email.xhtml +16 -0
  49. data/examples/blog/{root → src/views}/comments.xhtml +0 -0
  50. data/examples/blog/{root → src/views}/entry_form.xhtml +0 -0
  51. data/examples/blog/{root → src/views}/error.xhtml +0 -0
  52. data/examples/blog/{root → src/views}/index.xhtml +0 -0
  53. data/examples/blog/{root → src/views}/login.xhtml +0 -0
  54. data/examples/blog/{root → src/views}/recent_posts.xhtml +0 -0
  55. data/examples/blog/{root → src/views}/view_entry.xhtml +8 -0
  56. data/examples/blog/{root → src/views}/view_entry.xml +0 -0
  57. data/examples/blog/src/xsl/base.xsl +153 -0
  58. data/examples/blog/{root → src/xsl}/style.xsl +2 -2
  59. data/examples/no_xsl_blog/README +5 -1
  60. data/examples/no_xsl_blog/conf/apache.conf +2 -2
  61. data/examples/no_xsl_blog/conf/lhttpd.conf +2 -2
  62. data/examples/no_xsl_blog/lib/blog/model.rb +1 -1
  63. data/{lib/parts → examples/no_xsl_blog/lib}/content.rb +1 -11
  64. data/examples/no_xsl_blog/log/apache.error_log +405 -0
  65. data/examples/no_xsl_blog/{root → public}/comments.xhtml +0 -0
  66. data/examples/no_xsl_blog/{root → public}/entry_form.xhtml +0 -0
  67. data/examples/no_xsl_blog/{root → public}/fcgi.rb +0 -0
  68. data/examples/no_xsl_blog/{root → public}/index.xhtml +0 -0
  69. data/examples/no_xsl_blog/{root → public}/login.xhtml +0 -0
  70. data/examples/no_xsl_blog/{root → public}/m/bubbles.gif +0 -0
  71. data/examples/no_xsl_blog/{root → public}/m/comments_curve.gif +0 -0
  72. data/examples/no_xsl_blog/{root → public}/m/down.gif +0 -0
  73. data/examples/no_xsl_blog/{root → public}/m/footer_bg.gif +0 -0
  74. data/examples/no_xsl_blog/{root → public}/m/garrow.gif +0 -0
  75. data/examples/no_xsl_blog/{root → public}/m/gbull.gif +0 -0
  76. data/examples/no_xsl_blog/{root → public}/m/grbull.gif +0 -0
  77. data/examples/no_xsl_blog/{root → public}/m/h1_bg.gif +0 -0
  78. data/examples/no_xsl_blog/{root → public}/m/header_bg.gif +0 -0
  79. data/examples/no_xsl_blog/{root → public}/m/nitro.gif +0 -0
  80. data/examples/no_xsl_blog/{root → public}/m/obull.gif +0 -0
  81. data/examples/no_xsl_blog/{root → public}/m/page_bg.gif +0 -0
  82. data/examples/no_xsl_blog/{root → public}/m/rss.gif +0 -0
  83. data/examples/no_xsl_blog/{root → public}/m/side_title_bg.gif +0 -0
  84. data/examples/no_xsl_blog/{root → public}/m/sidebar_bg.gif +0 -0
  85. data/examples/no_xsl_blog/{root → public}/recent_posts.xhtml +0 -0
  86. data/examples/{blog/root → no_xsl_blog/public}/style.css +0 -0
  87. data/examples/no_xsl_blog/{root → public}/view_entry.xhtml +0 -0
  88. data/examples/no_xsl_blog/{root → public}/view_entry.xml +0 -0
  89. data/examples/tiny/conf/apache.conf +2 -2
  90. data/examples/tiny/log/apache.error_log +100 -0
  91. data/examples/tiny/{root → public}/fcgi.rb +0 -0
  92. data/examples/tiny/{root → public}/include.xhtml +0 -0
  93. data/examples/tiny/{root → public}/index.xhtml +0 -0
  94. data/{bin/proto/root/m → examples/tiny/public}/nitro.png +0 -0
  95. data/examples/tiny/{root → public}/upload.xhtml +0 -0
  96. data/examples/tiny/run.rb +1 -2
  97. data/examples/why_wiki/wiki.yml +1 -0
  98. data/install.rb +5 -2
  99. data/lib/nitro.rb +2 -6
  100. data/lib/nitro/adapters/fastcgi.rb +2 -2
  101. data/lib/nitro/adapters/webrick.rb +4 -4
  102. data/lib/nitro/conf.rb +5 -2
  103. data/lib/nitro/controller.rb +2 -2
  104. data/lib/nitro/dispatcher.rb +19 -8
  105. data/lib/nitro/mail.rb +252 -8
  106. data/lib/nitro/render.rb +24 -21
  107. data/lib/nitro/runner.rb +1 -1
  108. data/lib/nitro/scaffold.rb +2 -5
  109. data/lib/nitro/simple.rb +2 -1
  110. data/lib/nitro/template.rb +42 -2
  111. data/test/nitro/tc_controller.rb +9 -4
  112. data/test/nitro/tc_dispatcher.rb +4 -6
  113. data/test/nitro/tc_mail.rb +95 -0
  114. data/test/{root → public}/blog/list.xhtml +0 -0
  115. data/test/public/dummy_mailer/registration.xhtml +5 -0
  116. data/vendor/README +0 -1
  117. metadata +136 -181
  118. data/benchmark/og/bench.rb +0 -75
  119. data/benchmark/og/sqlite-no-prepare.1.txt +0 -13
  120. data/benchmark/og/sqlite-no-prepare.2.txt +0 -13
  121. data/benchmark/og/sqlite-prepare.1.txt +0 -13
  122. data/benchmark/og/sqlite-prepare.2.txt +0 -13
  123. data/bin/proto/README +0 -34
  124. data/bin/proto/conf/apache.conf +0 -1
  125. data/bin/proto/conf/app.conf.rb +0 -14
  126. data/bin/proto/conf/lhttpd.conf +0 -236
  127. data/bin/proto/ctl +0 -4
  128. data/bin/proto/lib/README +0 -5
  129. data/bin/proto/log/README +0 -3
  130. data/bin/proto/root/fcgi.rb +0 -6
  131. data/bin/proto/root/index.xhtml +0 -69
  132. data/bin/proto/root/style.css +0 -152
  133. data/bin/proto/root/style.xsl +0 -99
  134. data/doc/og_config.txt +0 -35
  135. data/doc/og_tutorial.txt +0 -595
  136. data/examples/og/README +0 -11
  137. data/examples/og/mock_example.rb +0 -50
  138. data/examples/og/mysql_to_psql.rb +0 -96
  139. data/examples/og/run.rb +0 -286
  140. data/examples/tiny/root/nitro.png +0 -0
  141. data/lib/glue.rb +0 -55
  142. data/lib/glue/array.rb +0 -61
  143. data/lib/glue/attribute.rb +0 -83
  144. data/lib/glue/cache.rb +0 -138
  145. data/lib/glue/flexob.rb +0 -12
  146. data/lib/glue/hash.rb +0 -122
  147. data/lib/glue/inflector.rb +0 -91
  148. data/lib/glue/logger.rb +0 -147
  149. data/lib/glue/misc.rb +0 -14
  150. data/lib/glue/mixins.rb +0 -36
  151. data/lib/glue/number.rb +0 -24
  152. data/lib/glue/object.rb +0 -32
  153. data/lib/glue/pool.rb +0 -60
  154. data/lib/glue/property.rb +0 -408
  155. data/lib/glue/string.rb +0 -162
  156. data/lib/glue/time.rb +0 -85
  157. data/lib/glue/validation.rb +0 -394
  158. data/lib/og.rb +0 -185
  159. data/lib/og/adapter.rb +0 -513
  160. data/lib/og/adapters/filesys.rb +0 -121
  161. data/lib/og/adapters/mysql.rb +0 -347
  162. data/lib/og/adapters/oracle.rb +0 -375
  163. data/lib/og/adapters/psql.rb +0 -273
  164. data/lib/og/adapters/sqlite.rb +0 -262
  165. data/lib/og/backend.rb +0 -297
  166. data/lib/og/connection.rb +0 -304
  167. data/lib/og/database.rb +0 -282
  168. data/lib/og/enchant.rb +0 -125
  169. data/lib/og/meta.rb +0 -373
  170. data/lib/og/mock.rb +0 -165
  171. data/lib/og/observer.rb +0 -53
  172. data/lib/og/typemacros.rb +0 -23
  173. data/lib/parts/README +0 -9
  174. data/test/glue/tc_attribute.rb +0 -22
  175. data/test/glue/tc_cache.rb +0 -45
  176. data/test/glue/tc_hash.rb +0 -38
  177. data/test/glue/tc_logger.rb +0 -39
  178. data/test/glue/tc_numbers.rb +0 -20
  179. data/test/glue/tc_property.rb +0 -89
  180. data/test/glue/tc_property_mixins.rb +0 -93
  181. data/test/glue/tc_property_type_checking.rb +0 -35
  182. data/test/glue/tc_strings.rb +0 -103
  183. data/test/glue/tc_validation.rb +0 -188
  184. data/test/og/tc_filesys.rb +0 -83
  185. data/test/og/tc_lifecycle.rb +0 -104
  186. data/test/og/tc_many_to_many.rb +0 -62
  187. data/test/og/tc_meta.rb +0 -55
  188. data/test/og/tc_observer.rb +0 -85
  189. data/test/og/tc_sqlite.rb +0 -87
  190. data/test/tc_og.rb +0 -355
  191. data/vendor/composite_sexp_processor.rb +0 -43
  192. data/vendor/parse_tree.rb +0 -745
  193. data/vendor/sexp_processor.rb +0 -453
@@ -5,7 +5,7 @@ A Simple Shader
5
5
 
6
6
  * George Moschovitis <gm@navel.gr>
7
7
  (c) 2004-2005 Navel, all rights reserved.
8
- $Id: style.xsl 270 2005-03-07 17:52:16Z gmosx $
8
+ $Id: style.xsl 313 2005-03-16 19:18:09Z gmosx $
9
9
  -->
10
10
 
11
11
  <!DOCTYPE shader
@@ -23,7 +23,7 @@ $Id: style.xsl 270 2005-03-07 17:52:16Z gmosx $
23
23
  xmlns:x="http://www.navel.gr/xml/shader.xsd" version="1.0"
24
24
  exclude-result-prefixes="x xl">
25
25
 
26
- <xsl:include href="root/base.xsl" />
26
+ <xsl:include href="src/xsl/base.xsl" />
27
27
 
28
28
  <xsl:output method="xml" indent="yes" encoding="iso-8859-1" />
29
29
 
@@ -11,10 +11,14 @@ least you shold configure the database username/password.
11
11
  When running on windows, the database binaries should
12
12
  be in the PATH.
13
13
 
14
- To see the example browse http://127.0.0.1:8069
14
+ To see the example browse http://127.0.0.1:9999
15
15
 
16
16
  = WARNING
17
17
 
18
18
  This example seems to have some problems when running
19
19
  with Internet Explorer 6. For the moment, please
20
20
  try running it with Firefox and/or Mozilla.
21
+
22
+ Not all features of the blog example are converted.
23
+ Moreover, this example uses an alternative directory
24
+ structure to show the flexibility of Nitro.
@@ -6,7 +6,7 @@ Listen 9999
6
6
 
7
7
  PidFile /var/tmp/httpd.pid
8
8
  TypesConfig /etc/mime.types
9
- DocumentRoot /home/gmosx/navel/nitro/examples/no_xsl_blog/root
9
+ DocumentRoot /home/gmosx/navel/nitro/examples/no_xsl_blog/public
10
10
 
11
11
  # The error log.
12
12
  ErrorLog log/apache.error_log
@@ -18,7 +18,7 @@ LoadModule fastcgi_module /usr/local/apache2/modules/mod_fastcgi.so
18
18
 
19
19
  FastCgiIpcDir /var/tmp/fcgi
20
20
  # gmosx: if you have installed the distribution the -I is not needed.
21
- FastCgiConfig -initial-env 'RUBYOPT=-rubygems -I/home/gmosx/navel/nitro/lib'
21
+ FastCgiConfig -initial-env 'RUBYOPT=-rubygems -I/home/gmosx/navel/nitro/lib -I/home/gmosx/navel/og/lib -I/home/gmosx/navel/glue/lib'
22
22
  AddHandler fastcgi-script fcgi rb
23
23
  Options +FollowSymLinks +ExecCGI
24
24
 
@@ -28,7 +28,7 @@ server.modules = (
28
28
 
29
29
  ## a static document-root, for virtual-hosting take look at the
30
30
  ## server.virtual-* options
31
- server.document-root = "/home/gmosx/navel/nitro/examples/no_xsl_blog/root/"
31
+ server.document-root = "/home/gmosx/navel/nitro/examples/no_xsl_blog/public/"
32
32
 
33
33
  ## where to send error-messages to
34
34
  server.errorlog = "/home/gmosx/navel/nitro/examples/no_xsl_blog/log/lighttpd.error.log"
@@ -163,7 +163,7 @@ fastcgi.server = ( ".rb" =>
163
163
  ( "localhost" =>
164
164
  (
165
165
  "socket" => "/tmp/nitro-fcgi.socket",
166
- "bin-path" => "/home/gmosx/navel/nitro/examples/no_xsl_blog/root/fcgi.rb"
166
+ "bin-path" => "/home/gmosx/navel/nitro/examples/no_xsl_blog/public/fcgi.rb"
167
167
  )
168
168
  )
169
169
  )
@@ -2,7 +2,7 @@
2
2
  # (c) 2004-2005 Navel, all rights reserved.
3
3
  # $Id$
4
4
 
5
- require 'parts/content'
5
+ require 'lib/content'
6
6
 
7
7
  # The models used in the Blog part.
8
8
 
@@ -1,6 +1,6 @@
1
1
  # * George Moschovitis <gm@navel.gr>
2
2
  # (c) 2004 Navel, all rights reserved.
3
- # $Id$
3
+ # $Id: content.rb 297 2005-03-10 14:23:00Z gmosx $
4
4
 
5
5
  require 'nitro/markup'
6
6
 
@@ -52,14 +52,4 @@ class Category
52
52
  include BaseContent
53
53
  end
54
54
 
55
- # Unix style permissions.
56
-
57
- module ACL
58
- # bits:
59
- # 0, 1, 2: owner read, write, execute
60
- # 3, 4, 5: group read, write, execute
61
- # 6, 7, 8: other read, write, execute
62
- prop_accessor :permissions
63
- end
64
-
65
55
  end
@@ -66,3 +66,408 @@ DEBUG: Rendering '/entry_form'.
66
66
  DEBUG: Compiling action 'root/entry_form'
67
67
  DEBUG: Transforming 'root/entry_form.xhtml'
68
68
  [Sun Feb 27 14:44:37 2005] [notice] caught SIGTERM, shutting down
69
+ [Thu Mar 17 12:22:34 2005] [notice] Digest: generating secret for digest authentication ...
70
+ [Thu Mar 17 12:22:34 2005] [notice] Digest: done
71
+ [Thu Mar 17 12:22:35 2005] [notice] FastCGI: process manager initialized (pid 4791)
72
+ [Thu Mar 17 12:22:35 2005] [notice] Apache/2.0.53 (Unix) DAV/2 mod_fastcgi/2.4.2 configured -- resuming normal operations
73
+ [Thu Mar 17 12:22:36 2005] [warn] FastCGI: (dynamic) server "/home/gmosx/navel/nitro/examples/no_xsl_blog/public/fcgi.rb" started (pid 4797)
74
+ INFO: Connecting to database 'blog' using the 'mysql' adapter.
75
+ DEBUG: Og auto manages the following classes:
76
+ DEBUG: [BlogEntry, N::Category, Comment]
77
+ DEBUG: Rendering '/'.
78
+ DEBUG: Compiling action 'root/index'
79
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
80
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
81
+ DEBUG: Rendering '/'.
82
+ DEBUG: Compiling action 'root/index'
83
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
84
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
85
+ DEBUG: Rendering '/'.
86
+ DEBUG: Compiling action 'root/index'
87
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
88
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
89
+ DEBUG: Rendering '/'.
90
+ DEBUG: Compiling action 'root/index'
91
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
92
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
93
+ DEBUG: Rendering '/'.
94
+ DEBUG: Compiling action 'root/index'
95
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
96
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
97
+ DEBUG: Rendering '/'.
98
+ DEBUG: Compiling action 'root/index'
99
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
100
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
101
+ DEBUG: Rendering '/'.
102
+ DEBUG: Compiling action 'root/index'
103
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
104
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
105
+ DEBUG: Rendering '/'.
106
+ DEBUG: Compiling action 'root/index'
107
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
108
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
109
+ DEBUG: Rendering '/'.
110
+ DEBUG: Compiling action 'root/index'
111
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
112
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
113
+ DEBUG: Rendering '/'.
114
+ DEBUG: Compiling action 'root/index'
115
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
116
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
117
+ DEBUG: Rendering '/'.
118
+ DEBUG: Compiling action 'root/index'
119
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
120
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
121
+ DEBUG: Rendering '/'.
122
+ DEBUG: Compiling action 'root/index'
123
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
124
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
125
+ DEBUG: Rendering '/'.
126
+ DEBUG: Compiling action 'root/index'
127
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
128
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
129
+ DEBUG: Rendering '/'.
130
+ DEBUG: Compiling action 'root/index'
131
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
132
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
133
+ DEBUG: Rendering '/'.
134
+ DEBUG: Compiling action 'root/index'
135
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
136
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
137
+ DEBUG: Rendering '/'.
138
+ DEBUG: Compiling action 'root/index'
139
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
140
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
141
+ DEBUG: Rendering '/'.
142
+ DEBUG: Compiling action 'root/index'
143
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
144
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
145
+ DEBUG: Rendering '/'.
146
+ DEBUG: Compiling action 'root/index'
147
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
148
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
149
+ DEBUG: Rendering '/'.
150
+ DEBUG: Compiling action 'root/index'
151
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
152
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
153
+ DEBUG: Rendering '/'.
154
+ DEBUG: Compiling action 'root/index'
155
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
156
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
157
+ DEBUG: Rendering '/'.
158
+ DEBUG: Compiling action 'root/index'
159
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
160
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
161
+ DEBUG: Rendering '/'.
162
+ DEBUG: Compiling action 'root/index'
163
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
164
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
165
+ DEBUG: Rendering '/'.
166
+ DEBUG: Compiling action 'root/index'
167
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
168
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
169
+ DEBUG: Rendering '/'.
170
+ DEBUG: Compiling action 'root/index'
171
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
172
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
173
+ DEBUG: Rendering '/'.
174
+ DEBUG: Compiling action 'root/index'
175
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
176
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
177
+ DEBUG: Rendering '/'.
178
+ DEBUG: Compiling action 'root/index'
179
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
180
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
181
+ DEBUG: Rendering '/'.
182
+ DEBUG: Compiling action 'root/index'
183
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
184
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
185
+ DEBUG: Rendering '/'.
186
+ DEBUG: Compiling action 'root/index'
187
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
188
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
189
+ DEBUG: Rendering '/'.
190
+ DEBUG: Compiling action 'root/index'
191
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
192
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
193
+ DEBUG: Rendering '/'.
194
+ DEBUG: Compiling action 'root/index'
195
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
196
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
197
+ DEBUG: Rendering '/'.
198
+ DEBUG: Compiling action 'root/index'
199
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
200
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
201
+ DEBUG: Rendering '/'.
202
+ DEBUG: Compiling action 'root/index'
203
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
204
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
205
+ DEBUG: Rendering '/'.
206
+ DEBUG: Compiling action 'root/index'
207
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
208
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
209
+ DEBUG: Rendering '/'.
210
+ DEBUG: Compiling action 'root/index'
211
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
212
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
213
+ DEBUG: Rendering '/'.
214
+ DEBUG: Compiling action 'root/index'
215
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
216
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
217
+ DEBUG: Rendering '/'.
218
+ DEBUG: Compiling action 'root/index'
219
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
220
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
221
+ DEBUG: Rendering '/'.
222
+ DEBUG: Compiling action 'root/index'
223
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
224
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
225
+ DEBUG: Rendering '/'.
226
+ DEBUG: Compiling action 'root/index'
227
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
228
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
229
+ DEBUG: Rendering '/'.
230
+ DEBUG: Compiling action 'root/index'
231
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
232
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
233
+ DEBUG: Rendering '/'.
234
+ DEBUG: Compiling action 'root/index'
235
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
236
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
237
+ DEBUG: Rendering '/'.
238
+ DEBUG: Compiling action 'root/index'
239
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
240
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
241
+ DEBUG: Rendering '/'.
242
+ DEBUG: Compiling action 'root/index'
243
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
244
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
245
+ [Thu Mar 17 12:23:22 2005] [notice] caught SIGTERM, shutting down
246
+ [Thu Mar 17 12:25:18 2005] [notice] Digest: generating secret for digest authentication ...
247
+ [Thu Mar 17 12:25:18 2005] [notice] Digest: done
248
+ [Thu Mar 17 12:25:19 2005] [notice] FastCGI: process manager initialized (pid 4824)
249
+ [Thu Mar 17 12:25:19 2005] [notice] Apache/2.0.53 (Unix) DAV/2 mod_fastcgi/2.4.2 configured -- resuming normal operations
250
+ [Thu Mar 17 12:25:21 2005] [warn] FastCGI: (dynamic) server "/home/gmosx/navel/nitro/examples/no_xsl_blog/public/fcgi.rb" started (pid 4830)
251
+ INFO: Connecting to database 'blog' using the 'mysql' adapter.
252
+ DEBUG: Og auto manages the following classes:
253
+ DEBUG: [BlogEntry, N::Category, Comment]
254
+ DEBUG: Rendering '/view_entry/3'.
255
+ DEBUG: Compiling action 'root/view_entry'
256
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
257
+ DEBUG: Rendering '/view_entry/3'.
258
+ DEBUG: Compiling action 'root/view_entry'
259
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
260
+ DEBUG: Rendering '/view_entry/3'.
261
+ DEBUG: Compiling action 'root/view_entry'
262
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
263
+ DEBUG: Rendering '/view_entry/3'.
264
+ DEBUG: Compiling action 'root/view_entry'
265
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
266
+ DEBUG: Rendering '/view_entry/3'.
267
+ DEBUG: Compiling action 'root/view_entry'
268
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
269
+ DEBUG: Rendering '/view_entry/3'.
270
+ DEBUG: Compiling action 'root/view_entry'
271
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
272
+ DEBUG: Rendering '/view_entry/3'.
273
+ DEBUG: Compiling action 'root/view_entry'
274
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
275
+ DEBUG: Rendering '/view_entry/3'.
276
+ DEBUG: Compiling action 'root/view_entry'
277
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
278
+ DEBUG: Rendering '/view_entry/3'.
279
+ DEBUG: Compiling action 'root/view_entry'
280
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
281
+ DEBUG: Rendering '/view_entry/3'.
282
+ DEBUG: Compiling action 'root/view_entry'
283
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
284
+ DEBUG: Rendering '/view_entry/3'.
285
+ DEBUG: Compiling action 'root/view_entry'
286
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
287
+ DEBUG: Rendering '/view_entry/3'.
288
+ DEBUG: Compiling action 'root/view_entry'
289
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
290
+ DEBUG: Rendering '/view_entry/3'.
291
+ DEBUG: Compiling action 'root/view_entry'
292
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
293
+ DEBUG: Rendering '/view_entry/3'.
294
+ DEBUG: Compiling action 'root/view_entry'
295
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
296
+ DEBUG: Rendering '/view_entry/3'.
297
+ DEBUG: Compiling action 'root/view_entry'
298
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
299
+ DEBUG: Rendering '/view_entry/3'.
300
+ DEBUG: Compiling action 'root/view_entry'
301
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
302
+ DEBUG: Rendering '/view_entry/3'.
303
+ DEBUG: Compiling action 'root/view_entry'
304
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
305
+ DEBUG: Rendering '/view_entry/3'.
306
+ DEBUG: Compiling action 'root/view_entry'
307
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
308
+ DEBUG: Rendering '/view_entry/3'.
309
+ DEBUG: Compiling action 'root/view_entry'
310
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
311
+ DEBUG: Rendering '/view_entry/3'.
312
+ DEBUG: Compiling action 'root/view_entry'
313
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
314
+ DEBUG: Rendering '/view_entry/3'.
315
+ DEBUG: Compiling action 'root/view_entry'
316
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
317
+ [Thu Mar 17 12:26:18 2005] [notice] caught SIGTERM, shutting down
318
+ [Thu Mar 17 12:26:25 2005] [notice] Digest: generating secret for digest authentication ...
319
+ [Thu Mar 17 12:26:25 2005] [notice] Digest: done
320
+ [Thu Mar 17 12:26:26 2005] [notice] FastCGI: process manager initialized (pid 4846)
321
+ [Thu Mar 17 12:26:26 2005] [notice] Apache/2.0.53 (Unix) DAV/2 mod_fastcgi/2.4.2 configured -- resuming normal operations
322
+ [Thu Mar 17 12:26:31 2005] [warn] FastCGI: (dynamic) server "/home/gmosx/navel/nitro/examples/no_xsl_blog/public/fcgi.rb" started (pid 4853)
323
+ INFO: Connecting to database 'blog' using the 'mysql' adapter.
324
+ DEBUG: Og auto manages the following classes:
325
+ DEBUG: [BlogEntry, N::Category, Comment]
326
+ DEBUG: Rendering '/view_entry/3'.
327
+ DEBUG: Compiling action 'root/view_entry'
328
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
329
+ DEBUG: Rendering '/view_entry/3'.
330
+ DEBUG: Compiling action 'root/view_entry'
331
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
332
+ DEBUG: Rendering '/view_entry/3'.
333
+ DEBUG: Compiling action 'root/view_entry'
334
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
335
+ DEBUG: Rendering '/view_entry/3'.
336
+ DEBUG: Compiling action 'root/view_entry'
337
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
338
+ DEBUG: Rendering '/view_entry/3'.
339
+ DEBUG: Compiling action 'root/view_entry'
340
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
341
+ DEBUG: Rendering '/view_entry/3'.
342
+ DEBUG: Compiling action 'root/view_entry'
343
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
344
+ DEBUG: Rendering '/view_entry/3'.
345
+ DEBUG: Compiling action 'root/view_entry'
346
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
347
+ DEBUG: Rendering '/view_entry/3'.
348
+ DEBUG: Compiling action 'root/view_entry'
349
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
350
+ DEBUG: Rendering '/view_entry/3'.
351
+ DEBUG: Compiling action 'root/view_entry'
352
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
353
+ DEBUG: Rendering '/view_entry/3'.
354
+ DEBUG: Compiling action 'root/view_entry'
355
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
356
+ DEBUG: Rendering '/view_entry/3'.
357
+ DEBUG: Compiling action 'root/view_entry'
358
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
359
+ DEBUG: Rendering '/view_entry/3'.
360
+ DEBUG: Compiling action 'root/view_entry'
361
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
362
+ DEBUG: Rendering '/view_entry/3'.
363
+ DEBUG: Compiling action 'root/view_entry'
364
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
365
+ DEBUG: Rendering '/view_entry/3'.
366
+ DEBUG: Compiling action 'root/view_entry'
367
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
368
+ DEBUG: Rendering '/view_entry/3'.
369
+ DEBUG: Compiling action 'root/view_entry'
370
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
371
+ DEBUG: Rendering '/view_entry/3'.
372
+ DEBUG: Compiling action 'root/view_entry'
373
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
374
+ DEBUG: Rendering '/view_entry/3'.
375
+ DEBUG: Compiling action 'root/view_entry'
376
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
377
+ DEBUG: Rendering '/view_entry/3'.
378
+ DEBUG: Compiling action 'root/view_entry'
379
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
380
+ DEBUG: Rendering '/view_entry/3'.
381
+ DEBUG: Compiling action 'root/view_entry'
382
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
383
+ DEBUG: Rendering '/view_entry/3'.
384
+ DEBUG: Compiling action 'root/view_entry'
385
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
386
+ DEBUG: Rendering '/view_entry/3'.
387
+ DEBUG: Compiling action 'root/view_entry'
388
+ DEBUG: SELECT * FROM og_blogentry WHERE oid=3
389
+ DEBUG: Rendering '/'.
390
+ DEBUG: Compiling action 'root/index'
391
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
392
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
393
+ DEBUG: Rendering '/'.
394
+ DEBUG: Compiling action 'root/index'
395
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
396
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
397
+ DEBUG: Rendering '/'.
398
+ DEBUG: Compiling action 'root/index'
399
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
400
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
401
+ DEBUG: Rendering '/'.
402
+ DEBUG: Compiling action 'root/index'
403
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
404
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
405
+ DEBUG: Rendering '/'.
406
+ DEBUG: Compiling action 'root/index'
407
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
408
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
409
+ DEBUG: Rendering '/'.
410
+ DEBUG: Compiling action 'root/index'
411
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
412
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
413
+ DEBUG: Rendering '/'.
414
+ DEBUG: Compiling action 'root/index'
415
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
416
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
417
+ DEBUG: Rendering '/'.
418
+ DEBUG: Compiling action 'root/index'
419
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
420
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
421
+ DEBUG: Rendering '/'.
422
+ DEBUG: Compiling action 'root/index'
423
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
424
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
425
+ DEBUG: Rendering '/'.
426
+ DEBUG: Compiling action 'root/index'
427
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
428
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
429
+ DEBUG: Rendering '/'.
430
+ DEBUG: Compiling action 'root/index'
431
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
432
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
433
+ DEBUG: Rendering '/'.
434
+ DEBUG: Compiling action 'root/index'
435
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
436
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
437
+ DEBUG: Rendering '/'.
438
+ DEBUG: Compiling action 'root/index'
439
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
440
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
441
+ DEBUG: Rendering '/'.
442
+ DEBUG: Compiling action 'root/index'
443
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
444
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
445
+ DEBUG: Rendering '/'.
446
+ DEBUG: Compiling action 'root/index'
447
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
448
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
449
+ DEBUG: Rendering '/'.
450
+ DEBUG: Compiling action 'root/index'
451
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
452
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
453
+ DEBUG: Rendering '/'.
454
+ DEBUG: Compiling action 'root/index'
455
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
456
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
457
+ DEBUG: Rendering '/'.
458
+ DEBUG: Compiling action 'root/index'
459
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
460
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
461
+ DEBUG: Rendering '/'.
462
+ DEBUG: Compiling action 'root/index'
463
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
464
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
465
+ DEBUG: Rendering '/'.
466
+ DEBUG: Compiling action 'root/index'
467
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
468
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
469
+ DEBUG: Rendering '/'.
470
+ DEBUG: Compiling action 'root/index'
471
+ DEBUG: SELECT * FROM og_blogentry ORDER BY oid DESC LIMIT 3
472
+ DEBUG: SELECT COUNT(*) FROM og_blogentry
473
+ [Thu Mar 17 12:30:33 2005] [notice] caught SIGTERM, shutting down