typo 3.99.2 → 3.99.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/app/controllers/articles_controller.rb +21 -14
  2. data/app/controllers/content_controller.rb +3 -5
  3. data/app/controllers/xml_controller.rb +13 -3
  4. data/app/helpers/application_helper.rb +7 -1
  5. data/app/helpers/xml_helper.rb +23 -0
  6. data/app/models/article.rb +5 -0
  7. data/app/models/content.rb +2 -0
  8. data/app/models/ping.rb +32 -22
  9. data/app/views/admin/content/_form.rhtml +1 -0
  10. data/app/views/admin/general/index.rhtml +1 -1
  11. data/app/views/admin/pages/_form.rhtml +1 -0
  12. data/app/views/articles/_comment_box.rhtml +1 -0
  13. data/app/views/xml/_googlesitemap_item_article.rxml +5 -0
  14. data/app/views/xml/_googlesitemap_item_category.rxml +4 -0
  15. data/app/views/xml/_googlesitemap_item_page.rxml +4 -0
  16. data/app/views/xml/_googlesitemap_item_tag.rxml +4 -0
  17. data/app/views/xml/googlesitemap_feed.rxml +7 -0
  18. data/app/views/xml/itunes_feed.rxml +4 -4
  19. data/bin/typo +10 -0
  20. data/components/plugins/sidebars/archives_controller.rb +20 -14
  21. data/components/plugins/sidebars/delicious/content.rhtml +4 -4
  22. data/components/plugins/textfilters/amazon_controller.rb +1 -1
  23. data/config/routes.rb +2 -1
  24. data/doc/Installer.txt +21 -4
  25. data/installer/rails-installer.rb +78 -90
  26. data/installer/rails-installer/commands.rb +117 -0
  27. data/installer/rails-installer/web-server.rb +108 -0
  28. data/installer/rails-installer/web-servers.rb +108 -0
  29. data/installer/rails_installer_defaults.yml +1 -0
  30. data/lib/sidebars/plugin.rb +1 -1
  31. data/lib/tasks/release.rake +2 -1
  32. data/lib/typo_version.rb +1 -1
  33. data/log/development.log-1 +991 -0
  34. data/log/development.log-2 +422 -0
  35. data/log/development.log-3 +429 -0
  36. data/log/development.log-4 +174 -0
  37. data/public/javascripts/typo.js +8 -0
  38. data/test/fixtures/contents.yml +5 -0
  39. data/test/functional/articles_controller_test.rb +2 -2
  40. data/test/functional/xml_controller_test.rb +8 -0
  41. data/test/test_helper.rb +2 -0
  42. data/themes/scribbish/CONTRIBUTORS +2 -0
  43. data/themes/scribbish/about.markdown +9 -0
  44. data/themes/scribbish/images/background.gif +0 -0
  45. data/themes/scribbish/images/gravatar.gif +0 -0
  46. data/themes/scribbish/images/header_shadow.gif +0 -0
  47. data/themes/scribbish/images/spinner.gif +0 -0
  48. data/themes/scribbish/layouts/default.rhtml +42 -0
  49. data/themes/scribbish/preview.png +0 -0
  50. data/themes/scribbish/stylesheets/application.css +27 -0
  51. data/themes/scribbish/stylesheets/content.css +400 -0
  52. data/themes/scribbish/stylesheets/layout.css +70 -0
  53. data/themes/scribbish/views/articles/_article.rhtml +37 -0
  54. data/themes/scribbish/views/articles/_comment.rhtml +14 -0
  55. data/themes/scribbish/views/articles/_comment_form.rhtml +47 -0
  56. data/themes/scribbish/views/articles/_search.rhtml +15 -0
  57. data/themes/scribbish/views/articles/_trackback.rhtml +9 -0
  58. data/themes/scribbish/views/articles/comment_preview.rhtml +10 -0
  59. data/themes/scribbish/views/articles/index.rhtml +5 -0
  60. data/themes/scribbish/views/articles/read.rhtml +42 -0
  61. data/tmp/cache/META/DATA/ACTION_PARAM/10.1.0.181/articles/index/.cache +537 -0
  62. data/tmp/cache/META/DATA/ACTION_PARAM/localhost/articles/index/.cache +537 -0
  63. data/tmp/cache/META/DATA/ACTION_PARAM/localhost/xml/feed/format=atom&type=feed.cache +671 -0
  64. data/tmp/cache/META/DATA/ACTION_PARAM/localhost/xml/feed/format=rss20&type=feed.cache +401 -0
  65. data/tmp/cache/META/META/ACTION_PARAM/10.1.0.181/articles/index/.cache +2 -0
  66. data/tmp/cache/META/META/ACTION_PARAM/localhost/articles/index/.cache +2 -0
  67. data/tmp/cache/META/META/ACTION_PARAM/localhost/xml/feed/format=atom&type=feed.cache +2 -0
  68. data/tmp/cache/META/META/ACTION_PARAM/localhost/xml/feed/format=rss20&type=feed.cache +2 -0
  69. data/vendor/plugins/expiring_action_cache/lib/actionparamcache.rb +2 -1
  70. metadata +91 -2
@@ -0,0 +1,108 @@
1
+ class RailsInstaller
2
+
3
+ # Parent class for webserver plugins for the installer. To create a new
4
+ # webserver handler, subclass this class and define a 'start' and 'stop'
5
+ # class method.
6
+ class WebServer
7
+ @@server_map = {}
8
+
9
+ def self.start(installer, foreground)
10
+ raise "Not Implemented"
11
+ end
12
+
13
+ def self.stop(installer, foreground)
14
+ raise "Not Implemented"
15
+ end
16
+
17
+ def self.inherited(sub)
18
+ name = sub.to_s.gsub(/^.*::/,'').gsub(/([A-Z])/) do |match|
19
+ "_#{match.downcase}"
20
+ end.gsub(/^_/,'')
21
+
22
+ @@server_map[name] = sub
23
+ end
24
+
25
+ def self.servers
26
+ @@server_map
27
+ end
28
+
29
+ class Mongrel < RailsInstaller::WebServer
30
+ def self.start(installer, foreground)
31
+ args = {}
32
+ args['-p'] = installer.config['port-number']
33
+ args['-a'] = installer.config['bind-address']
34
+ args['-e'] = installer.config['rails-environment']
35
+ args['-d'] = foreground
36
+ args['-P'] = pid_file(installer)
37
+
38
+ # Remove keys with nil values
39
+ args.delete_if {|k,v| v==nil}
40
+
41
+ args_array = args.to_a.flatten.map {|e| e.to_s}
42
+ args_array = ['mongrel_rails', 'start', installer.install_directory] + args_array
43
+ installer.message "Starting #{installer.app_name.capitalize} on port #{installer.config['port-number']}"
44
+ in_directory installer.install_directory do
45
+ system(args_array.join(' '))
46
+ end
47
+ end
48
+
49
+ def self.stop(installer)
50
+ args = {}
51
+ args['-P'] = pid_file(installer)
52
+
53
+ args_array = args.to_a.flatten.map {|e| e.to_s}
54
+ args_array = ['mongrel_rails', 'stop', installer.install_directory] + args_array
55
+ installer.message "Stopping #{installer.app_name.capitalize}"
56
+ in_directory installer.install_directory do
57
+ system(args_array.join(' '))
58
+ end
59
+
60
+ end
61
+
62
+ def self.pid_file(installer)
63
+ File.join(installer.install_directory,'tmp','pid.txt')
64
+ end
65
+ end
66
+
67
+ class MongrelCluster < RailsInstaller::WebServer
68
+ def self.start(installer, foreground)
69
+ args = {}
70
+ args['-p'] = installer.config['port-number']
71
+ args['-a'] = installer.config['bind-address']
72
+ args['-e'] = installer.config['rails-environment']
73
+ args['-N'] = installer.config['threads']
74
+
75
+ # Remove keys with nil values
76
+ args.delete_if {|k,v| v==nil}
77
+
78
+ args_array = args.to_a.flatten.map {|e| e.to_s}
79
+ args_array = ['mongrel_rails', 'cluster::configure'] + args_array
80
+ installer.message "Configuring mongrel_cluster for #{installer.app_name.capitalize}"
81
+ in_directory installer.install_directory do
82
+ system(args_array.join(' '))
83
+ end
84
+ installer.message "Starting #{installer.app_name.capitalize} on port #{installer.config['port-number']}"
85
+ in_directory installer.install_directory do
86
+ system('mongrel_rails cluster::start')
87
+ end
88
+
89
+ end
90
+
91
+ def self.stop(installer)
92
+ installer.message "Stopping #{installer.app_name.capitalize}"
93
+ in_directory installer.install_directory do
94
+ system('mongrel_rails cluster::stop')
95
+ end
96
+ end
97
+ end
98
+
99
+ # Do-nothing webserver class. Used when the installer doesn't control the web server.
100
+ class External < RailsInstaller::WebServer
101
+ def self.start(installer, foreground)
102
+ end
103
+
104
+ def self.stop(installer)
105
+ end
106
+ end
107
+ end
108
+ end
@@ -2,3 +2,4 @@
2
2
  rails-environment: production
3
3
  database: sqlite
4
4
  web-server: mongrel
5
+ threads: 2
@@ -38,7 +38,7 @@ module Sidebars
38
38
  class TextAreaField < self
39
39
  def input_html(sidebar)
40
40
  html_options = { "rows" => "10", "cols" => "30", "style" => "width:255px"}.update(options.stringify_keys)
41
- text_area_tag(input_name(sidebar), sidebar.config[key], html_options)
41
+ text_area_tag(input_name(sidebar), h(sidebar.config[key]), html_options)
42
42
  end
43
43
  end
44
44
 
@@ -1,7 +1,7 @@
1
1
  require 'rake/gempackagetask'
2
2
  require 'rake/contrib/rubyforgepublisher'
3
3
 
4
- PKG_VERSION = "3.99.2"
4
+ PKG_VERSION = "3.99.3"
5
5
  PKG_NAME = "typo"
6
6
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
7
7
  RUBY_FORGE_PROJECT = 'typo'
@@ -31,6 +31,7 @@ spec = Gem::Specification.new do |s|
31
31
 
32
32
  s.add_dependency("rails", "= 1.1.4")
33
33
  s.add_dependency("mongrel", ">= 0.3.13.3")
34
+ s.add_dependency("mongrel_cluster", ">= 0.2.0")
34
35
  s.add_dependency("sqlite3-ruby", ">= 1.1.0")
35
36
  end
36
37
 
data/lib/typo_version.rb CHANGED
@@ -1 +1 @@
1
- TYPO_VERSION = '3.99.2'
1
+ TYPO_VERSION = '3.99.3'
@@ -0,0 +1,991 @@
1
+
2
+
3
+ Processing ArticlesController#index (for 127.0.0.1 at 2006-07-07 23:16:20) [GET]
4
+ Parameters: {"action"=>"index", "controller"=>"articles"}
5
+ Blog Load (0.001565) SELECT * FROM blogs ORDER BY id LIMIT 1
6
+ Trigger Load (0.007516) SELECT * FROM triggers WHERE (due_at <= '2006-07-07 23:16:20') 
7
+ SQL (0.005902)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
8
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
9
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
10
+ WHERE a.attrelid = 'users'::regclass
11
+ AND a.attnum > 0 AND NOT a.attisdropped
12
+ ORDER BY a.attnum
13
+ 
14
+ SQL (0.001463) SELECT count(*) AS count_all FROM users 
15
+ SQL (0.004341)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
16
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
17
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
18
+ WHERE a.attrelid = 'blogs'::regclass
19
+ AND a.attnum > 0 AND NOT a.attisdropped
20
+ ORDER BY a.attnum
21
+ 
22
+ SQL (0.005055)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
23
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
24
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
25
+ WHERE a.attrelid = 'contents'::regclass
26
+ AND a.attnum > 0 AND NOT a.attisdropped
27
+ ORDER BY a.attnum
28
+ 
29
+ Article Count (4.068029) SELECT COUNT(DISTINCT contents.id) FROM contents LEFT OUTER JOIN articles_categories ON articles_categories.article_id = contents.id LEFT OUTER JOIN categories ON categories.id = articles_categories.category_id LEFT OUTER JOIN articles_tags ON articles_tags.article_id = contents.id LEFT OUTER JOIN tags ON tags.id = articles_tags.tag_id WHERE (published = 't' AND contents.created_at < '2006-07-07 23:16:20' AND blog_id = 1) AND ( (contents."type" = 'Article' ) ) 
30
+ SQL (0.005346)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
31
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
32
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
33
+ WHERE a.attrelid = 'categories'::regclass
34
+ AND a.attnum > 0 AND NOT a.attisdropped
35
+ ORDER BY a.attnum
36
+ 
37
+ SQL (0.006642)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
38
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
39
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
40
+ WHERE a.attrelid = 'tags'::regclass
41
+ AND a.attnum > 0 AND NOT a.attisdropped
42
+ ORDER BY a.attnum
43
+ 
44
+ Article Load IDs For Limited Eager Loading (0.027400) SELECT id FROM contents WHERE (published = 't' AND contents.created_at < '2006-07-07 23:16:20' AND blog_id = 1) AND ( (contents."type" = 'Article' ) ) ORDER BY contents.published_at DESC LIMIT 15 OFFSET 0
45
+ Article Load Including Associations (0.168275) SELECT contents."id" AS t0_r0, contents."title" AS t0_r1, contents."author" AS t0_r2, contents."body" AS t0_r3, contents."body_html" AS t0_r4, contents."extended" AS t0_r5, contents."excerpt" AS t0_r6, contents."keywords" AS t0_r7, contents."created_at" AS t0_r8, contents."updated_at" AS t0_r9, contents."extended_html" AS t0_r10, contents."user_id" AS t0_r11, contents."permalink" AS t0_r12, contents."guid" AS t0_r13, contents."text_filter_id" AS t0_r14, contents."whiteboard" AS t0_r15, contents."comments_count" AS t0_r16, contents."trackbacks_count" AS t0_r17, contents."type" AS t0_r18, contents."article_id" AS t0_r19, contents."email" AS t0_r20, contents."url" AS t0_r21, contents."ip" AS t0_r22, contents."blog_name" AS t0_r23, contents."name" AS t0_r24, contents."published" AS t0_r25, contents."allow_pings" AS t0_r26, contents."allow_comments" AS t0_r27, contents."blog_id" AS t0_r28, contents."published_at" AS t0_r29, categories."id" AS t1_r0, categories."name" AS t1_r1, categories."position" AS t1_r2, categories."is_primary" AS t1_r3, categories."permalink" AS t1_r4, tags."id" AS t2_r0, tags."name" AS t2_r1, tags."created_at" AS t2_r2, tags."updated_at" AS t2_r3, tags."display_name" AS t2_r4 FROM contents LEFT OUTER JOIN articles_categories ON articles_categories.article_id = contents.id LEFT OUTER JOIN categories ON categories.id = articles_categories.category_id LEFT OUTER JOIN articles_tags ON articles_tags.article_id = contents.id LEFT OUTER JOIN tags ON tags.id = articles_tags.tag_id WHERE (published = 't' AND contents.created_at < '2006-07-07 23:16:20' AND blog_id = 1) AND ( (contents."type" = 'Article' ) ) AND contents.id IN ('1640', '562', '561', '560', '559', '558', '557', '556', '555', '554', '553', '552', '551', '550', '549') ORDER BY contents.published_at DESC 
46
+ Rendering within ../../themes/scribbish/layouts/default
47
+ Rendering articles/index
48
+ Blog Load (0.004094) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
49
+ User Load (0.002614) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
50
+ Blog Load (0.001653) SELECT * FROM blogs ORDER BY id LIMIT 1
51
+ Rendered articles/_article (0.10659)
52
+ Blog Load (0.002632) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
53
+ User Load (0.005914) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
54
+ Rendered articles/_article (0.03171)
55
+ Blog Load (0.002035) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
56
+ User Load (0.004772) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
57
+ Rendered articles/_article (0.03215)
58
+ Blog Load (0.002005) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
59
+ User Load (0.005331) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
60
+ Rendered articles/_article (0.02031)
61
+ Blog Load (0.002556) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
62
+ User Load (0.001946) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
63
+ Rendered articles/_article (0.02090)
64
+ Blog Load (0.002632) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
65
+ User Load (0.006022) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
66
+ Rendered articles/_article (0.02930)
67
+ Blog Load (0.009309) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
68
+ User Load (0.002016) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
69
+ Rendered articles/_article (0.03237)
70
+ Blog Load (0.001745) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
71
+ User Load (0.001891) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
72
+ Rendered articles/_article (0.02063)
73
+ Blog Load (0.002474) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
74
+ User Load (0.001943) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
75
+ Rendered articles/_article (0.02105)
76
+ Blog Load (0.001995) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
77
+ User Load (0.028648) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
78
+ Rendered articles/_article (0.04766)
79
+ Blog Load (0.006375) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
80
+ User Load (0.002167) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
81
+ Rendered articles/_article (0.03493)
82
+ Blog Load (0.001892) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
83
+ User Load (0.001972) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
84
+ Rendered articles/_article (0.02128)
85
+ Blog Load (0.001800) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
86
+ User Load (0.003931) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
87
+ Rendered articles/_article (0.02123)
88
+ Blog Load (0.001872) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
89
+ User Load (0.002870) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
90
+ Rendered articles/_article (0.05251)
91
+ Blog Load (0.002083) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
92
+ User Load (0.002029) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
93
+ Rendered articles/_article (0.02532)
94
+ Rendered articles/_search (0.00250)
95
+ Start rendering component ({:controller=>SidebarController, :action=>"display_plugins"}):
96
+
97
+
98
+ Processing SidebarController#display_plugins (for 127.0.0.1 at 2006-07-07 23:16:25)
99
+ Blog Load (0.002002) SELECT * FROM blogs ORDER BY id LIMIT 1
100
+ Trigger Load (0.001579) SELECT * FROM triggers WHERE (due_at <= '2006-07-07 23:16:25') 
101
+ Sidebar Load (0.001738) SELECT * FROM sidebars WHERE (active_position is not null) ORDER BY active_position 
102
+ SQL (0.003962)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
103
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
104
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
105
+ WHERE a.attrelid = 'sidebars'::regclass
106
+ AND a.attnum > 0 AND NOT a.attisdropped
107
+ ORDER BY a.attnum
108
+ 
109
+ Rendering sidebar/display_plugins
110
+ Start rendering component ({:controller=>Plugins::Sidebars::TagController, :action=>"index", :layout=>false}):
111
+
112
+
113
+ Processing TagController#index (for 127.0.0.1 at 2006-07-07 23:16:25)
114
+ Blog Load (0.001389) SELECT * FROM blogs ORDER BY id LIMIT 1
115
+ Trigger Load (0.003236) SELECT * FROM triggers WHERE (due_at <= '2006-07-07 23:16:25') 
116
+ Tag Load (0.074440) 
117
+ SELECT tags.id, tags.name, tags.display_name, COUNT(articles_tags.article_id) AS article_counter
118
+ FROM tags tags LEFT OUTER JOIN articles_tags articles_tags
119
+ ON articles_tags.tag_id = tags.id
120
+ LEFT OUTER JOIN contents articles
121
+ ON articles_tags.article_id = articles.id
122
+ WHERE articles.published = 't'
123
+ GROUP BY tags.id, tags.name, tags.display_name
124
+ ORDER BY article_counter DESC
125
+ LIMIT 20
126
+ 
127
+ Rendering plugins/sidebars/tag/content
128
+ Completed in 0.11900 (8 reqs/sec) | Rendering: 0.01984 (16%) | DB: 0.07907 (66%) | 200 OK [http://localhost/]
129
+
130
+
131
+ End of component rendering
132
+ BENCHMARK: display_plugins: tag (0.12650)
133
+ Rendered sidebar/_sidebar (0.12840)
134
+ Start rendering component ({:controller=>Plugins::Sidebars::ArchivesController, :action=>"index", :layout=>false}):
135
+
136
+
137
+ Processing ArchivesController#index (for 127.0.0.1 at 2006-07-07 23:16:25)
138
+ Blog Load (0.001422) SELECT * FROM blogs ORDER BY id LIMIT 1
139
+ Trigger Load (0.001531) SELECT * FROM triggers WHERE (due_at <= '2006-07-07 23:16:25') 
140
+ Article Load Including Associations (5.809857) SELECT contents."id" AS t0_r0, contents."title" AS t0_r1, contents."author" AS t0_r2, contents."body" AS t0_r3, contents."body_html" AS t0_r4, contents."extended" AS t0_r5, contents."excerpt" AS t0_r6, contents."keywords" AS t0_r7, contents."created_at" AS t0_r8, contents."updated_at" AS t0_r9, contents."extended_html" AS t0_r10, contents."user_id" AS t0_r11, contents."permalink" AS t0_r12, contents."guid" AS t0_r13, contents."text_filter_id" AS t0_r14, contents."whiteboard" AS t0_r15, contents."comments_count" AS t0_r16, contents."trackbacks_count" AS t0_r17, contents."type" AS t0_r18, contents."article_id" AS t0_r19, contents."email" AS t0_r20, contents."url" AS t0_r21, contents."ip" AS t0_r22, contents."blog_name" AS t0_r23, contents."name" AS t0_r24, contents."published" AS t0_r25, contents."allow_pings" AS t0_r26, contents."allow_comments" AS t0_r27, contents."blog_id" AS t0_r28, contents."published_at" AS t0_r29, categories."id" AS t1_r0, categories."name" AS t1_r1, categories."position" AS t1_r2, categories."is_primary" AS t1_r3, categories."permalink" AS t1_r4, tags."id" AS t2_r0, tags."name" AS t2_r1, tags."created_at" AS t2_r2, tags."updated_at" AS t2_r3, tags."display_name" AS t2_r4 FROM contents LEFT OUTER JOIN articles_categories ON articles_categories.article_id = contents.id LEFT OUTER JOIN categories ON categories.id = articles_categories.category_id LEFT OUTER JOIN articles_tags ON articles_tags.article_id = contents.id LEFT OUTER JOIN tags ON tags.id = articles_tags.tag_id WHERE (contents.blog_id = 1 AND (published = 't')) AND ( (contents."type" = 'Article' ) ) ORDER BY contents.created_at DESC 
141
+ Rendering plugins/sidebars/archives/content
142
+ Completed in 7.61391 (0 reqs/sec) | Rendering: 0.00637 (0%) | DB: 5.81281 (76%) | 200 OK [http://localhost/]
143
+
144
+
145
+ End of component rendering
146
+ BENCHMARK: display_plugins: archives (7.62084)
147
+ Rendered sidebar/_sidebar (7.62515)
148
+ Start rendering component ({:controller=>Plugins::Sidebars::StaticController, :action=>"index", :layout=>false}):
149
+
150
+
151
+ Processing StaticController#index (for 127.0.0.1 at 2006-07-07 23:16:33)
152
+ Blog Load (0.001484) SELECT * FROM blogs ORDER BY id LIMIT 1
153
+ Trigger Load (0.001650) SELECT * FROM triggers WHERE (due_at <= '2006-07-07 23:16:33') 
154
+ Rendering plugins/sidebars/static/content
155
+ Completed in 0.03285 (30 reqs/sec) | Rendering: 0.00605 (18%) | DB: 0.00313 (9%) | 200 OK [http://localhost/]
156
+
157
+
158
+ End of component rendering
159
+ BENCHMARK: display_plugins: static (0.04737)
160
+ Rendered sidebar/_sidebar (0.05244)
161
+ BENCHMARK: display_plugins (8.12747)
162
+ Completed in 8.16413 (0 reqs/sec) | Rendering: 8.13079 (99%) | DB: 0.13050 (1%) | 200 OK [http://localhost/]
163
+
164
+
165
+ End of component rendering
166
+ Article Load (0.011267) SELECT * FROM contents WHERE (published = 't' AND created_at > '2006-07-07 23:16:20') AND ( (contents."type" = 'Article' ) ) ORDER BY created_at ASC LIMIT 1
167
+ Completed in 13.48180 (0 reqs/sec) | Rendering: 9.00241 (66%) | DB: 4.31280 (31%) | 200 OK [http://localhost/]
168
+
169
+
170
+ Processing XmlController#feed (for 127.0.0.1 at 2006-07-07 23:16:34) [GET]
171
+ Parameters: {"format"=>"atom", "type"=>"feed", "action"=>"feed", "controller"=>"xml"}
172
+ Blog Load (0.001397) SELECT * FROM blogs ORDER BY id LIMIT 1
173
+ Trigger Load (0.001832) SELECT * FROM triggers WHERE (due_at <= '2006-07-07 23:16:34') 
174
+ SQL (0.004322)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
175
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
176
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
177
+ WHERE a.attrelid = 'blogs'::regclass
178
+ AND a.attnum > 0 AND NOT a.attisdropped
179
+ ORDER BY a.attnum
180
+ 
181
+ SQL (0.005126)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
182
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
183
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
184
+ WHERE a.attrelid = 'contents'::regclass
185
+ AND a.attnum > 0 AND NOT a.attisdropped
186
+ ORDER BY a.attnum
187
+ 
188
+ Article Load (0.047932) SELECT * FROM contents WHERE (( contents.blog_id = 1 ) AND ( published_at < '2006-07-07 23:16:34' )) AND ((published = 't')) AND ( (contents."type" = 'Article' ) ) ORDER BY created_at DESC LIMIT 15
189
+ Rendering xml/atom10_feed
190
+ User Load (0.001939) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
191
+ SQL (0.007526)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
192
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
193
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
194
+ WHERE a.attrelid = 'users'::regclass
195
+ AND a.attnum > 0 AND NOT a.attisdropped
196
+ ORDER BY a.attnum
197
+ 
198
+ Blog Load (0.001760) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
199
+ SQL (0.004469)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
200
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
201
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
202
+ WHERE a.attrelid = 'articles_categories'::regclass
203
+ AND a.attnum > 0 AND NOT a.attisdropped
204
+ ORDER BY a.attnum
205
+ 
206
+ Category Load (0.003582) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 1640 ) 
207
+ SQL (0.004094)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
208
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
209
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
210
+ WHERE a.attrelid = 'articles_tags'::regclass
211
+ AND a.attnum > 0 AND NOT a.attisdropped
212
+ ORDER BY a.attnum
213
+ 
214
+ Tag Load (0.013028) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 1640 ) 
215
+ Resource Load (0.001944) SELECT * FROM resources WHERE (resources.article_id = 1640) ORDER BY created_at DESC 
216
+ Blog Load (0.001364) SELECT * FROM blogs ORDER BY id LIMIT 1
217
+ Rendered xml/_atom10_item_article (0.13630)
218
+ User Load (0.001958) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
219
+ Blog Load (0.001794) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
220
+ SQL (0.004070)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
221
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
222
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
223
+ WHERE a.attrelid = 'articles_categories'::regclass
224
+ AND a.attnum > 0 AND NOT a.attisdropped
225
+ ORDER BY a.attnum
226
+ 
227
+ Category Load (0.004477) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 562 ) 
228
+ SQL (0.006738)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
229
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
230
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
231
+ WHERE a.attrelid = 'articles_tags'::regclass
232
+ AND a.attnum > 0 AND NOT a.attisdropped
233
+ ORDER BY a.attnum
234
+ 
235
+ Tag Load (0.010360) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 562 ) 
236
+ SQL (0.004941)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
237
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
238
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
239
+ WHERE a.attrelid = 'tags'::regclass
240
+ AND a.attnum > 0 AND NOT a.attisdropped
241
+ ORDER BY a.attnum
242
+ 
243
+ Resource Load (0.002244) SELECT * FROM resources WHERE (resources.article_id = 562) ORDER BY created_at DESC 
244
+ Rendered xml/_atom10_item_article (0.11380)
245
+ User Load (0.001968) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
246
+ Blog Load (0.002049) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
247
+ SQL (0.004128)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
248
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
249
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
250
+ WHERE a.attrelid = 'articles_categories'::regclass
251
+ AND a.attnum > 0 AND NOT a.attisdropped
252
+ ORDER BY a.attnum
253
+ 
254
+ Category Load (0.004632) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 561 ) 
255
+ SQL (0.008784)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
256
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
257
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
258
+ WHERE a.attrelid = 'articles_tags'::regclass
259
+ AND a.attnum > 0 AND NOT a.attisdropped
260
+ ORDER BY a.attnum
261
+ 
262
+ Tag Load (0.011008) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 561 ) 
263
+ Resource Load (0.001999) SELECT * FROM resources WHERE (resources.article_id = 561) ORDER BY created_at DESC 
264
+ Rendered xml/_atom10_item_article (0.09149)
265
+ User Load (0.001940) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
266
+ Blog Load (0.002304) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
267
+ SQL (0.008432)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
268
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
269
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
270
+ WHERE a.attrelid = 'articles_categories'::regclass
271
+ AND a.attnum > 0 AND NOT a.attisdropped
272
+ ORDER BY a.attnum
273
+ 
274
+ Category Load (0.005079) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 560 ) 
275
+ SQL (0.003788)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
276
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
277
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
278
+ WHERE a.attrelid = 'articles_tags'::regclass
279
+ AND a.attnum > 0 AND NOT a.attisdropped
280
+ ORDER BY a.attnum
281
+ 
282
+ Tag Load (0.008207) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 560 ) 
283
+ Resource Load (0.002723) SELECT * FROM resources WHERE (resources.article_id = 560) ORDER BY created_at DESC 
284
+ Rendered xml/_atom10_item_article (0.08631)
285
+ User Load (0.007356) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
286
+ Blog Load (0.001792) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
287
+ SQL (0.005432)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
288
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
289
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
290
+ WHERE a.attrelid = 'articles_categories'::regclass
291
+ AND a.attnum > 0 AND NOT a.attisdropped
292
+ ORDER BY a.attnum
293
+ 
294
+ Category Load (0.004020) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 559 ) 
295
+ SQL (0.003822)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
296
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
297
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
298
+ WHERE a.attrelid = 'articles_tags'::regclass
299
+ AND a.attnum > 0 AND NOT a.attisdropped
300
+ ORDER BY a.attnum
301
+ 
302
+ Tag Load (0.011306) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 559 ) 
303
+ Resource Load (0.001927) SELECT * FROM resources WHERE (resources.article_id = 559) ORDER BY created_at DESC 
304
+ Rendered xml/_atom10_item_article (0.09418)
305
+ User Load (0.001987) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
306
+ Blog Load (0.001785) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
307
+ SQL (0.004111)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
308
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
309
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
310
+ WHERE a.attrelid = 'articles_categories'::regclass
311
+ AND a.attnum > 0 AND NOT a.attisdropped
312
+ ORDER BY a.attnum
313
+ 
314
+ Category Load (0.003755) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 558 ) 
315
+ SQL (0.004621)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
316
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
317
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
318
+ WHERE a.attrelid = 'categories'::regclass
319
+ AND a.attnum > 0 AND NOT a.attisdropped
320
+ ORDER BY a.attnum
321
+ 
322
+ SQL (0.004097)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
323
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
324
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
325
+ WHERE a.attrelid = 'articles_tags'::regclass
326
+ AND a.attnum > 0 AND NOT a.attisdropped
327
+ ORDER BY a.attnum
328
+ 
329
+ Tag Load (0.007031) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 558 ) 
330
+ Resource Load (0.003781) SELECT * FROM resources WHERE (resources.article_id = 558) ORDER BY created_at DESC 
331
+ Rendered xml/_atom10_item_article (0.09800)
332
+ User Load (0.003288) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
333
+ Blog Load (0.002344) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
334
+ SQL (0.004517)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
335
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
336
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
337
+ WHERE a.attrelid = 'articles_categories'::regclass
338
+ AND a.attnum > 0 AND NOT a.attisdropped
339
+ ORDER BY a.attnum
340
+ 
341
+ Category Load (0.005622) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 557 ) 
342
+ SQL (0.005100)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
343
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
344
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
345
+ WHERE a.attrelid = 'articles_tags'::regclass
346
+ AND a.attnum > 0 AND NOT a.attisdropped
347
+ ORDER BY a.attnum
348
+ 
349
+ Tag Load (0.008110) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 557 ) 
350
+ Resource Load (0.003545) SELECT * FROM resources WHERE (resources.article_id = 557) ORDER BY created_at DESC 
351
+ Rendered xml/_atom10_item_article (0.08805)
352
+ User Load (0.002095) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
353
+ Blog Load (0.001812) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
354
+ SQL (0.007212)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
355
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
356
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
357
+ WHERE a.attrelid = 'articles_categories'::regclass
358
+ AND a.attnum > 0 AND NOT a.attisdropped
359
+ ORDER BY a.attnum
360
+ 
361
+ Category Load (0.003742) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 556 ) 
362
+ SQL (0.004446)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
363
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
364
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
365
+ WHERE a.attrelid = 'articles_tags'::regclass
366
+ AND a.attnum > 0 AND NOT a.attisdropped
367
+ ORDER BY a.attnum
368
+ 
369
+ Tag Load (0.016154) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 556 ) 
370
+ Resource Load (0.029684) SELECT * FROM resources WHERE (resources.article_id = 556) ORDER BY created_at DESC 
371
+ Rendered xml/_atom10_item_article (0.12265)
372
+ User Load (0.002826) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
373
+ Blog Load (0.003165) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
374
+ SQL (0.007111)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
375
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
376
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
377
+ WHERE a.attrelid = 'articles_categories'::regclass
378
+ AND a.attnum > 0 AND NOT a.attisdropped
379
+ ORDER BY a.attnum
380
+ 
381
+ Category Load (0.003694) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 555 ) 
382
+ SQL (0.006704)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
383
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
384
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
385
+ WHERE a.attrelid = 'articles_tags'::regclass
386
+ AND a.attnum > 0 AND NOT a.attisdropped
387
+ ORDER BY a.attnum
388
+ 
389
+ Tag Load (0.008007) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 555 ) 
390
+ Resource Load (0.002194) SELECT * FROM resources WHERE (resources.article_id = 555) ORDER BY created_at DESC 
391
+ Rendered xml/_atom10_item_article (0.49476)
392
+ User Load (0.002435) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
393
+ Blog Load (0.001723) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
394
+ SQL (0.005690)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
395
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
396
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
397
+ WHERE a.attrelid = 'articles_categories'::regclass
398
+ AND a.attnum > 0 AND NOT a.attisdropped
399
+ ORDER BY a.attnum
400
+ 
401
+ Category Load (0.006441) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 554 ) 
402
+ SQL (0.004029)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
403
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
404
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
405
+ WHERE a.attrelid = 'articles_tags'::regclass
406
+ AND a.attnum > 0 AND NOT a.attisdropped
407
+ ORDER BY a.attnum
408
+ 
409
+ Tag Load (0.008789) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 554 ) 
410
+ Resource Load (0.002713) SELECT * FROM resources WHERE (resources.article_id = 554) ORDER BY created_at DESC 
411
+ Rendered xml/_atom10_item_article (0.08675)
412
+ User Load (0.001936) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
413
+ Blog Load (0.001733) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
414
+ SQL (0.004032)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
415
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
416
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
417
+ WHERE a.attrelid = 'articles_categories'::regclass
418
+ AND a.attnum > 0 AND NOT a.attisdropped
419
+ ORDER BY a.attnum
420
+ 
421
+ Category Load (0.005053) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 553 ) 
422
+ SQL (0.004069)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
423
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
424
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
425
+ WHERE a.attrelid = 'articles_tags'::regclass
426
+ AND a.attnum > 0 AND NOT a.attisdropped
427
+ ORDER BY a.attnum
428
+ 
429
+ Tag Load (0.007943) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 553 ) 
430
+ Resource Load (0.001987) SELECT * FROM resources WHERE (resources.article_id = 553) ORDER BY created_at DESC 
431
+ Rendered xml/_atom10_item_article (0.09099)
432
+ User Load (0.002882) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
433
+ Blog Load (0.001729) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
434
+ SQL (0.003895)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
435
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
436
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
437
+ WHERE a.attrelid = 'articles_categories'::regclass
438
+ AND a.attnum > 0 AND NOT a.attisdropped
439
+ ORDER BY a.attnum
440
+ 
441
+ Category Load (0.003969) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 552 ) 
442
+ SQL (0.005548)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
443
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
444
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
445
+ WHERE a.attrelid = 'articles_tags'::regclass
446
+ AND a.attnum > 0 AND NOT a.attisdropped
447
+ ORDER BY a.attnum
448
+ 
449
+ Tag Load (0.009455) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 552 ) 
450
+ Resource Load (0.001966) SELECT * FROM resources WHERE (resources.article_id = 552) ORDER BY created_at DESC 
451
+ Rendered xml/_atom10_item_article (0.08672)
452
+ User Load (0.001931) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
453
+ Blog Load (0.001744) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
454
+ SQL (0.006203)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
455
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
456
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
457
+ WHERE a.attrelid = 'articles_categories'::regclass
458
+ AND a.attnum > 0 AND NOT a.attisdropped
459
+ ORDER BY a.attnum
460
+ 
461
+ Category Load (0.007537) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 551 ) 
462
+ SQL (0.006121)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
463
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
464
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
465
+ WHERE a.attrelid = 'articles_tags'::regclass
466
+ AND a.attnum > 0 AND NOT a.attisdropped
467
+ ORDER BY a.attnum
468
+ 
469
+ Tag Load (0.010048) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 551 ) 
470
+ Resource Load (0.002272) SELECT * FROM resources WHERE (resources.article_id = 551) ORDER BY created_at DESC 
471
+ Rendered xml/_atom10_item_article (0.08957)
472
+ User Load (0.003061) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
473
+ Blog Load (0.002190) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
474
+ SQL (0.007018)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
475
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
476
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
477
+ WHERE a.attrelid = 'articles_categories'::regclass
478
+ AND a.attnum > 0 AND NOT a.attisdropped
479
+ ORDER BY a.attnum
480
+ 
481
+ Category Load (0.008691) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 550 ) 
482
+ SQL (0.008627)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
483
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
484
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
485
+ WHERE a.attrelid = 'articles_tags'::regclass
486
+ AND a.attnum > 0 AND NOT a.attisdropped
487
+ ORDER BY a.attnum
488
+ 
489
+ Tag Load (0.012505) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 550 ) 
490
+ Resource Load (0.003051) SELECT * FROM resources WHERE (resources.article_id = 550) ORDER BY created_at DESC 
491
+ Rendered xml/_atom10_item_article (0.12860)
492
+ User Load (0.003892) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
493
+ Blog Load (0.002383) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
494
+ SQL (0.008224)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
495
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
496
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
497
+ WHERE a.attrelid = 'articles_categories'::regclass
498
+ AND a.attnum > 0 AND NOT a.attisdropped
499
+ ORDER BY a.attnum
500
+ 
501
+ Category Load (0.005290) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 549 ) 
502
+ SQL (0.004563)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
503
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
504
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
505
+ WHERE a.attrelid = 'articles_tags'::regclass
506
+ AND a.attnum > 0 AND NOT a.attisdropped
507
+ ORDER BY a.attnum
508
+ 
509
+ Tag Load (0.008045) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 549 ) 
510
+ Resource Load (0.002047) SELECT * FROM resources WHERE (resources.article_id = 549) ORDER BY created_at DESC 
511
+ Rendered xml/_atom10_item_article (0.10712)
512
+ Article Load (0.039920) SELECT * FROM contents WHERE (published = 't' AND created_at > '2006-07-07 23:16:34') AND ( (contents."type" = 'Article' ) ) ORDER BY created_at ASC LIMIT 1
513
+ Completed in 2.48003 (0 reqs/sec) | Rendering: 1.41738 (57%) | DB: 0.64551 (26%) | 200 OK [http://localhost/xml/atom/feed.xml]
514
+
515
+
516
+ Processing XmlController#feed (for 127.0.0.1 at 2006-07-07 23:16:38) [GET]
517
+ Parameters: {"format"=>"rss20", "type"=>"feed", "action"=>"feed", "controller"=>"xml"}
518
+ Blog Load (0.064161) SELECT * FROM blogs ORDER BY id LIMIT 1
519
+ Trigger Load (0.001615) SELECT * FROM triggers WHERE (due_at <= '2006-07-07 23:16:38') 
520
+ SQL (0.007284)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
521
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
522
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
523
+ WHERE a.attrelid = 'blogs'::regclass
524
+ AND a.attnum > 0 AND NOT a.attisdropped
525
+ ORDER BY a.attnum
526
+ 
527
+ SQL (0.007773)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
528
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
529
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
530
+ WHERE a.attrelid = 'contents'::regclass
531
+ AND a.attnum > 0 AND NOT a.attisdropped
532
+ ORDER BY a.attnum
533
+ 
534
+ Article Load (0.051225) SELECT * FROM contents WHERE (( contents.blog_id = 1 ) AND ( published_at < '2006-07-07 23:16:38' )) AND ((published = 't')) AND ( (contents."type" = 'Article' ) ) ORDER BY created_at DESC LIMIT 15
535
+ Rendering xml/rss20_feed
536
+ Blog Load (0.001881) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
537
+ Blog Load (0.001736) SELECT * FROM blogs ORDER BY id LIMIT 1
538
+ User Load (0.002033) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
539
+ SQL (0.004971)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
540
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
541
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
542
+ WHERE a.attrelid = 'users'::regclass
543
+ AND a.attnum > 0 AND NOT a.attisdropped
544
+ ORDER BY a.attnum
545
+ 
546
+ SQL (0.007906)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
547
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
548
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
549
+ WHERE a.attrelid = 'articles_categories'::regclass
550
+ AND a.attnum > 0 AND NOT a.attisdropped
551
+ ORDER BY a.attnum
552
+ 
553
+ Category Load (0.011284) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 1640 ) 
554
+ SQL (0.005729)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
555
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
556
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
557
+ WHERE a.attrelid = 'articles_tags'::regclass
558
+ AND a.attnum > 0 AND NOT a.attisdropped
559
+ ORDER BY a.attnum
560
+ 
561
+ Tag Load (0.005946) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 1640 ) 
562
+ SQL (0.051343)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
563
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
564
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
565
+ WHERE a.attrelid = 'resources'::regclass
566
+ AND a.attnum > 0 AND NOT a.attisdropped
567
+ ORDER BY a.attnum
568
+ 
569
+ SQL (0.002538) SELECT count(*) AS count_all FROM resources WHERE (resources.article_id = 1640) 
570
+ Rendered xml/_rss20_item_article (0.58812)
571
+ Blog Load (0.001971) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
572
+ User Load (0.002018) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
573
+ SQL (0.007537)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
574
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
575
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
576
+ WHERE a.attrelid = 'articles_categories'::regclass
577
+ AND a.attnum > 0 AND NOT a.attisdropped
578
+ ORDER BY a.attnum
579
+ 
580
+ Category Load (0.003607) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 562 ) 
581
+ SQL (0.005074)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
582
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
583
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
584
+ WHERE a.attrelid = 'articles_tags'::regclass
585
+ AND a.attnum > 0 AND NOT a.attisdropped
586
+ ORDER BY a.attnum
587
+ 
588
+ Tag Load (0.011412) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 562 ) 
589
+ SQL (0.004677)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
590
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
591
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
592
+ WHERE a.attrelid = 'tags'::regclass
593
+ AND a.attnum > 0 AND NOT a.attisdropped
594
+ ORDER BY a.attnum
595
+ 
596
+ SQL (0.001839) SELECT count(*) AS count_all FROM resources WHERE (resources.article_id = 562) 
597
+ Rendered xml/_rss20_item_article (0.51876)
598
+ Blog Load (0.001781) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
599
+ User Load (0.001964) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
600
+ SQL (0.006392)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
601
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
602
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
603
+ WHERE a.attrelid = 'articles_categories'::regclass
604
+ AND a.attnum > 0 AND NOT a.attisdropped
605
+ ORDER BY a.attnum
606
+ 
607
+ Category Load (0.003829) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 561 ) 
608
+ SQL (0.004639)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
609
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
610
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
611
+ WHERE a.attrelid = 'articles_tags'::regclass
612
+ AND a.attnum > 0 AND NOT a.attisdropped
613
+ ORDER BY a.attnum
614
+ 
615
+ Tag Load (0.049801) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 561 ) 
616
+ SQL (0.003923) SELECT count(*) AS count_all FROM resources WHERE (resources.article_id = 561) 
617
+ Rendered xml/_rss20_item_article (0.11470)
618
+ Blog Load (0.001867) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
619
+ User Load (0.001976) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
620
+ SQL (0.004226)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
621
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
622
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
623
+ WHERE a.attrelid = 'articles_categories'::regclass
624
+ AND a.attnum > 0 AND NOT a.attisdropped
625
+ ORDER BY a.attnum
626
+ 
627
+ Category Load (0.004213) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 560 ) 
628
+ SQL (0.009893)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
629
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
630
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
631
+ WHERE a.attrelid = 'articles_tags'::regclass
632
+ AND a.attnum > 0 AND NOT a.attisdropped
633
+ ORDER BY a.attnum
634
+ 
635
+ Tag Load (0.012943) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 560 ) 
636
+ SQL (0.003724) SELECT count(*) AS count_all FROM resources WHERE (resources.article_id = 560) 
637
+ Rendered xml/_rss20_item_article (0.09607)
638
+ Blog Load (0.001807) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
639
+ User Load (0.001968) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
640
+ SQL (0.004372)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
641
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
642
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
643
+ WHERE a.attrelid = 'articles_categories'::regclass
644
+ AND a.attnum > 0 AND NOT a.attisdropped
645
+ ORDER BY a.attnum
646
+ 
647
+ Category Load (0.003859) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 559 ) 
648
+ SQL (0.009135)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
649
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
650
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
651
+ WHERE a.attrelid = 'articles_tags'::regclass
652
+ AND a.attnum > 0 AND NOT a.attisdropped
653
+ ORDER BY a.attnum
654
+ 
655
+ Tag Load (0.012807) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 559 ) 
656
+ SQL (0.001746) SELECT count(*) AS count_all FROM resources WHERE (resources.article_id = 559) 
657
+ Rendered xml/_rss20_item_article (0.08011)
658
+ Blog Load (0.001759) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
659
+ User Load (0.001951) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
660
+ SQL (0.004430)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
661
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
662
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
663
+ WHERE a.attrelid = 'articles_categories'::regclass
664
+ AND a.attnum > 0 AND NOT a.attisdropped
665
+ ORDER BY a.attnum
666
+ 
667
+ Category Load (0.004215) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 558 ) 
668
+ SQL (0.007002)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
669
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
670
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
671
+ WHERE a.attrelid = 'categories'::regclass
672
+ AND a.attnum > 0 AND NOT a.attisdropped
673
+ ORDER BY a.attnum
674
+ 
675
+ SQL (0.003805)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
676
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
677
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
678
+ WHERE a.attrelid = 'articles_tags'::regclass
679
+ AND a.attnum > 0 AND NOT a.attisdropped
680
+ ORDER BY a.attnum
681
+ 
682
+ Tag Load (0.009262) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 558 ) 
683
+ SQL (0.001790) SELECT count(*) AS count_all FROM resources WHERE (resources.article_id = 558) 
684
+ Rendered xml/_rss20_item_article (0.09786)
685
+ Blog Load (0.005236) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
686
+ User Load (0.002532) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
687
+ SQL (0.003827)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
688
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
689
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
690
+ WHERE a.attrelid = 'articles_categories'::regclass
691
+ AND a.attnum > 0 AND NOT a.attisdropped
692
+ ORDER BY a.attnum
693
+ 
694
+ Category Load (0.005316) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 557 ) 
695
+ SQL (0.003930)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
696
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
697
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
698
+ WHERE a.attrelid = 'articles_tags'::regclass
699
+ AND a.attnum > 0 AND NOT a.attisdropped
700
+ ORDER BY a.attnum
701
+ 
702
+ Tag Load (0.015551) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 557 ) 
703
+ SQL (0.002088) SELECT count(*) AS count_all FROM resources WHERE (resources.article_id = 557) 
704
+ Rendered xml/_rss20_item_article (0.09110)
705
+ Blog Load (0.001770) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
706
+ User Load (0.001970) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
707
+ SQL (0.003848)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
708
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
709
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
710
+ WHERE a.attrelid = 'articles_categories'::regclass
711
+ AND a.attnum > 0 AND NOT a.attisdropped
712
+ ORDER BY a.attnum
713
+ 
714
+ Category Load (0.005259) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 556 ) 
715
+ SQL (0.010753)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
716
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
717
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
718
+ WHERE a.attrelid = 'articles_tags'::regclass
719
+ AND a.attnum > 0 AND NOT a.attisdropped
720
+ ORDER BY a.attnum
721
+ 
722
+ Tag Load (0.007447) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 556 ) 
723
+ SQL (0.001967) SELECT count(*) AS count_all FROM resources WHERE (resources.article_id = 556) 
724
+ Rendered xml/_rss20_item_article (0.08329)
725
+ Blog Load (0.002025) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
726
+ User Load (0.012149) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
727
+ SQL (0.010899)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
728
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
729
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
730
+ WHERE a.attrelid = 'articles_categories'::regclass
731
+ AND a.attnum > 0 AND NOT a.attisdropped
732
+ ORDER BY a.attnum
733
+ 
734
+ Category Load (0.004549) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 555 ) 
735
+ SQL (0.003843)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
736
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
737
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
738
+ WHERE a.attrelid = 'articles_tags'::regclass
739
+ AND a.attnum > 0 AND NOT a.attisdropped
740
+ ORDER BY a.attnum
741
+ 
742
+ Tag Load (0.011446) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 555 ) 
743
+ SQL (0.004659) SELECT count(*) AS count_all FROM resources WHERE (resources.article_id = 555) 
744
+ Rendered xml/_rss20_item_article (0.09176)
745
+ Blog Load (0.001734) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
746
+ User Load (0.004103) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
747
+ SQL (0.004543)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
748
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
749
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
750
+ WHERE a.attrelid = 'articles_categories'::regclass
751
+ AND a.attnum > 0 AND NOT a.attisdropped
752
+ ORDER BY a.attnum
753
+ 
754
+ Category Load (0.003683) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 554 ) 
755
+ SQL (0.003723)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
756
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
757
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
758
+ WHERE a.attrelid = 'articles_tags'::regclass
759
+ AND a.attnum > 0 AND NOT a.attisdropped
760
+ ORDER BY a.attnum
761
+ 
762
+ Tag Load (0.007839) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 554 ) 
763
+ SQL (0.009524) SELECT count(*) AS count_all FROM resources WHERE (resources.article_id = 554) 
764
+ Rendered xml/_rss20_item_article (0.09292)
765
+ Blog Load (0.005616) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
766
+ User Load (0.005996) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
767
+ SQL (0.007647)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
768
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
769
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
770
+ WHERE a.attrelid = 'articles_categories'::regclass
771
+ AND a.attnum > 0 AND NOT a.attisdropped
772
+ ORDER BY a.attnum
773
+ 
774
+ Category Load (0.011410) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 553 ) 
775
+ SQL (0.007515)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
776
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
777
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
778
+ WHERE a.attrelid = 'articles_tags'::regclass
779
+ AND a.attnum > 0 AND NOT a.attisdropped
780
+ ORDER BY a.attnum
781
+ 
782
+ Tag Load (0.024719) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 553 ) 
783
+ SQL (0.005074) SELECT count(*) AS count_all FROM resources WHERE (resources.article_id = 553) 
784
+ Rendered xml/_rss20_item_article (0.08419)
785
+ Blog Load (0.005028) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
786
+ User Load (0.005556) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
787
+ SQL (0.004160)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
788
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
789
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
790
+ WHERE a.attrelid = 'articles_categories'::regclass
791
+ AND a.attnum > 0 AND NOT a.attisdropped
792
+ ORDER BY a.attnum
793
+ 
794
+ Category Load (0.003917) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 552 ) 
795
+ SQL (0.003963)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
796
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
797
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
798
+ WHERE a.attrelid = 'articles_tags'::regclass
799
+ AND a.attnum > 0 AND NOT a.attisdropped
800
+ ORDER BY a.attnum
801
+ 
802
+ Tag Load (0.012510) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 552 ) 
803
+ SQL (0.002107) SELECT count(*) AS count_all FROM resources WHERE (resources.article_id = 552) 
804
+ Rendered xml/_rss20_item_article (0.08348)
805
+ Blog Load (0.002094) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
806
+ User Load (0.002794) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
807
+ SQL (0.009748)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
808
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
809
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
810
+ WHERE a.attrelid = 'articles_categories'::regclass
811
+ AND a.attnum > 0 AND NOT a.attisdropped
812
+ ORDER BY a.attnum
813
+ 
814
+ Category Load (0.005311) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 551 ) 
815
+ SQL (0.003835)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
816
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
817
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
818
+ WHERE a.attrelid = 'articles_tags'::regclass
819
+ AND a.attnum > 0 AND NOT a.attisdropped
820
+ ORDER BY a.attnum
821
+ 
822
+ Tag Load (0.008015) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 551 ) 
823
+ SQL (0.001761) SELECT count(*) AS count_all FROM resources WHERE (resources.article_id = 551) 
824
+ Rendered xml/_rss20_item_article (0.08117)
825
+ Blog Load (0.012403) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
826
+ User Load (0.001974) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
827
+ SQL (0.005004)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
828
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
829
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
830
+ WHERE a.attrelid = 'articles_categories'::regclass
831
+ AND a.attnum > 0 AND NOT a.attisdropped
832
+ ORDER BY a.attnum
833
+ 
834
+ Category Load (0.003639) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 550 ) 
835
+ SQL (0.007037)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
836
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
837
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
838
+ WHERE a.attrelid = 'articles_tags'::regclass
839
+ AND a.attnum > 0 AND NOT a.attisdropped
840
+ ORDER BY a.attnum
841
+ 
842
+ Tag Load (0.011365) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 550 ) 
843
+ SQL (0.006361) SELECT count(*) AS count_all FROM resources WHERE (resources.article_id = 550) 
844
+ Rendered xml/_rss20_item_article (0.09530)
845
+ Blog Load (0.001797) SELECT * FROM blogs WHERE (blogs.id = 1) LIMIT 1
846
+ User Load (0.004540) SELECT * FROM users WHERE (users.id = 1) LIMIT 1
847
+ SQL (0.006165)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
848
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
849
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
850
+ WHERE a.attrelid = 'articles_categories'::regclass
851
+ AND a.attnum > 0 AND NOT a.attisdropped
852
+ ORDER BY a.attnum
853
+ 
854
+ Category Load (0.004026) SELECT * FROM categories INNER JOIN articles_categories ON categories.id = articles_categories.category_id WHERE (articles_categories.article_id = 549 ) 
855
+ SQL (0.005002)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
856
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
857
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
858
+ WHERE a.attrelid = 'articles_tags'::regclass
859
+ AND a.attnum > 0 AND NOT a.attisdropped
860
+ ORDER BY a.attnum
861
+ 
862
+ Tag Load (0.007484) SELECT * FROM tags INNER JOIN articles_tags ON tags.id = articles_tags.tag_id WHERE (articles_tags.article_id = 549 ) 
863
+ SQL (0.003269) SELECT count(*) AS count_all FROM resources WHERE (resources.article_id = 549) 
864
+ Rendered xml/_rss20_item_article (0.07938)
865
+ Article Load (0.010888) SELECT * FROM contents WHERE (published = 't' AND created_at > '2006-07-07 23:16:38') AND ( (contents."type" = 'Article' ) ) ORDER BY created_at ASC LIMIT 1
866
+ Completed in 2.67656 (0 reqs/sec) | Rendering: 1.66198 (62%) | DB: 0.83258 (31%) | 200 OK [http://localhost/xml/rss20/feed.xml]
867
+
868
+
869
+ Processing ThemeController#stylesheets (for 127.0.0.1 at 2006-07-07 23:16:42) [GET]
870
+ Parameters: {"action"=>"stylesheets", "controller"=>"theme", "filename"=>"application.css"}
871
+ Blog Load (0.001659) SELECT * FROM blogs ORDER BY id LIMIT 1
872
+ Trigger Load (0.001625) SELECT * FROM triggers WHERE (due_at <= '2006-07-07 23:16:42') 
873
+ SQL (0.004587)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
874
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
875
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
876
+ WHERE a.attrelid = 'blogs'::regclass
877
+ AND a.attnum > 0 AND NOT a.attisdropped
878
+ ORDER BY a.attnum
879
+ 
880
+ Sending file script/../config/../themes/scribbish/stylesheets/application.css
881
+ Completed in 0.03762 (26 reqs/sec) | Rendering: 0.00017 (0%) | DB: 0.00787 (20%) | 200 OK [http://localhost/stylesheets/theme/application.css?]
882
+
883
+
884
+ Processing ThemeController#stylesheets (for 127.0.0.1 at 2006-07-07 23:16:43) [GET]
885
+ Parameters: {"action"=>"stylesheets", "controller"=>"theme", "filename"=>"layout.css"}
886
+ Blog Load (0.001401) SELECT * FROM blogs ORDER BY id LIMIT 1
887
+ Trigger Load (0.001587) SELECT * FROM triggers WHERE (due_at <= '2006-07-07 23:16:43') 
888
+ SQL (0.003923)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
889
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
890
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
891
+ WHERE a.attrelid = 'blogs'::regclass
892
+ AND a.attnum > 0 AND NOT a.attisdropped
893
+ ORDER BY a.attnum
894
+ 
895
+ Sending file script/../config/../themes/scribbish/stylesheets/layout.css
896
+ Completed in 0.03921 (25 reqs/sec) | Rendering: 0.00018 (0%) | DB: 0.00691 (17%) | 200 OK [http://localhost/stylesheets/theme/layout.css]
897
+
898
+
899
+ Processing ThemeController#stylesheets (for 127.0.0.1 at 2006-07-07 23:16:44) [GET]
900
+ Parameters: {"action"=>"stylesheets", "controller"=>"theme", "filename"=>"content.css"}
901
+ Blog Load (0.001451) SELECT * FROM blogs ORDER BY id LIMIT 1
902
+ Trigger Load (0.001965) SELECT * FROM triggers WHERE (due_at <= '2006-07-07 23:16:44') 
903
+ SQL (0.004200)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
904
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
905
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
906
+ WHERE a.attrelid = 'blogs'::regclass
907
+ AND a.attnum > 0 AND NOT a.attisdropped
908
+ ORDER BY a.attnum
909
+ 
910
+ Sending file script/../config/../themes/scribbish/stylesheets/content.css
911
+ Completed in 0.04577 (21 reqs/sec) | Rendering: 0.00017 (0%) | DB: 0.00762 (16%) | 200 OK [http://localhost/stylesheets/theme/content.css]
912
+
913
+
914
+ Processing ThemeController#javascript (for 127.0.0.1 at 2006-07-07 23:16:45) [GET]
915
+ Parameters: {"action"=>"javascript", "controller"=>"theme", "filename"=>"application.js"}
916
+ Blog Load (0.001377) SELECT * FROM blogs ORDER BY id LIMIT 1
917
+ Trigger Load (0.001584) SELECT * FROM triggers WHERE (due_at <= '2006-07-07 23:16:45') 
918
+ SQL (0.004452)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
919
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
920
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
921
+ WHERE a.attrelid = 'blogs'::regclass
922
+ AND a.attnum > 0 AND NOT a.attisdropped
923
+ ORDER BY a.attnum
924
+ 
925
+
926
+
927
+ ActionController::MissingFile (Cannot read file script/../config/../themes/scribbish/javascript/application.js):
928
+ /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/streaming.rb:55:in `send_file'
929
+ /app/controllers/theme_controller.rb:28:in `render_theme_item'
930
+ /app/controllers/theme_controller.rb:10:in `javascript'
931
+ /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:910:in `perform_action_without_filters'
932
+ /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/filters.rb:368:in `perform_action_without_benchmark'
933
+ /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
934
+ /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
935
+ /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
936
+ /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/rescue.rb:82:in `perform_action'
937
+ /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:381:in `process_without_filters'
938
+ /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/filters.rb:377:in `process_without_session_management_support'
939
+ /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/session_management.rb:117:in `process'
940
+ /opt/local/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/dispatcher.rb:38:in `dispatch'
941
+ /opt/local/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/webrick_server.rb:115:in `handle_dispatch'
942
+ /opt/local/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/webrick_server.rb:81:in `service'
943
+ /opt/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
944
+ /opt/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
945
+ /opt/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
946
+ /opt/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
947
+ /opt/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
948
+ /opt/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
949
+ /opt/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
950
+ /opt/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
951
+ /opt/local/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/webrick_server.rb:67:in `dispatch'
952
+ /opt/local/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/commands/servers/webrick.rb:59
953
+ /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
954
+ /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'
955
+ /opt/local/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/commands/server.rb:30
956
+ /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
957
+ /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'
958
+ ./script/server:3
959
+
960
+
961
+ Rendering /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
962
+
963
+
964
+ Processing ThemeController#images (for 127.0.0.1 at 2006-07-07 23:16:48) [GET]
965
+ Parameters: {"action"=>"images", "controller"=>"theme", "filename"=>"background.gif"}
966
+ Blog Load (0.002276) SELECT * FROM blogs ORDER BY id LIMIT 1
967
+ Trigger Load (0.002752) SELECT * FROM triggers WHERE (due_at <= '2006-07-07 23:16:48') 
968
+ SQL (0.004891)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
969
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
970
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
971
+ WHERE a.attrelid = 'blogs'::regclass
972
+ AND a.attnum > 0 AND NOT a.attisdropped
973
+ ORDER BY a.attnum
974
+ 
975
+ Sending file script/../config/../themes/scribbish/images/background.gif
976
+ Completed in 0.03837 (26 reqs/sec) | Rendering: 0.00018 (0%) | DB: 0.01733 (45%) | 200 OK [http://localhost/images/theme/background.gif]
977
+
978
+
979
+ Processing ThemeController#images (for 127.0.0.1 at 2006-07-07 23:16:48) [GET]
980
+ Parameters: {"action"=>"images", "controller"=>"theme", "filename"=>"header_shadow.gif"}
981
+ Blog Load (0.001399) SELECT * FROM blogs ORDER BY id LIMIT 1
982
+ Trigger Load (0.001654) SELECT * FROM triggers WHERE (due_at <= '2006-07-07 23:16:48') 
983
+ SQL (0.006053)  SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
984
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
985
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
986
+ WHERE a.attrelid = 'blogs'::regclass
987
+ AND a.attnum > 0 AND NOT a.attisdropped
988
+ ORDER BY a.attnum
989
+ 
990
+ Sending file script/../config/../themes/scribbish/images/header_shadow.gif
991
+ Completed in 0.03425 (29 reqs/sec) | Rendering: 0.00017 (0%) | DB: 0.00911 (26%) | 200 OK [http://localhost/images/theme/header_shadow.gif]