data_fabric 1.2.7 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. data/CHANGELOG +7 -0
  2. data/README.rdoc +9 -8
  3. data/Rakefile +9 -41
  4. data/TESTING.rdoc +3 -3
  5. data/example23/Rakefile +28 -27
  6. data/example23/config/environment.rb +4 -2
  7. data/example30/Gemfile +5 -0
  8. data/example30/Gemfile.lock +79 -0
  9. data/example30/README +256 -0
  10. data/example30/Rakefile +52 -0
  11. data/{example → example30}/app/controllers/accounts_controller.rb +0 -0
  12. data/{example/app/controllers/application.rb → example30/app/controllers/application_controller.rb} +0 -0
  13. data/{example → example30}/app/controllers/figments_controller.rb +0 -0
  14. data/example30/app/helpers/application_helper.rb +2 -0
  15. data/{example → example30}/app/models/account.rb +0 -0
  16. data/{example → example30}/app/models/figment.rb +0 -0
  17. data/{example → example30}/app/views/accounts/index.html.erb +2 -2
  18. data/{example → example30}/app/views/layouts/application.html.erb +0 -0
  19. data/example30/config.ru +4 -0
  20. data/example30/config/application.rb +42 -0
  21. data/example30/config/boot.rb +13 -0
  22. data/{example → example30}/config/database.yml +0 -0
  23. data/example30/config/environment.rb +5 -0
  24. data/example30/config/environments/development.rb +26 -0
  25. data/example30/config/environments/production.rb +49 -0
  26. data/example30/config/environments/test.rb +35 -0
  27. data/example30/config/initializers/backtrace_silencers.rb +7 -0
  28. data/{example → example30}/config/initializers/inflections.rb +2 -2
  29. data/{example → example30}/config/initializers/mime_types.rb +0 -0
  30. data/example30/config/initializers/secret_token.rb +7 -0
  31. data/example30/config/initializers/session_store.rb +8 -0
  32. data/example30/config/locales/en.yml +5 -0
  33. data/example30/config/routes.rb +65 -0
  34. data/example30/db/development.sqlite3 +0 -0
  35. data/{example → example30}/db/migrate/20080702154628_create_accounts.rb +0 -0
  36. data/{example → example30}/db/migrate/20080702154820_create_figments.rb +0 -0
  37. data/example30/db/s0_development.sqlite3 +0 -0
  38. data/example30/db/s0_test.sqlite3 +0 -0
  39. data/example30/db/s1_development.sqlite3 +0 -0
  40. data/example30/db/s1_test.sqlite3 +0 -0
  41. data/{example23 → example30}/db/schema.rb +7 -6
  42. data/example30/db/seeds.rb +7 -0
  43. data/example30/db/test.sqlite3 +0 -0
  44. data/example30/log/development.log +132 -0
  45. data/example30/log/test.log +444 -0
  46. data/example30/script/rails +6 -0
  47. data/{example → example30}/test/fixtures/accounts.yml +0 -0
  48. data/{example → example30}/test/functional/accounts_controller_test.rb +0 -0
  49. data/{example → example30}/test/integration/account_figments_test.rb +0 -0
  50. data/example30/test/performance/browsing_test.rb +9 -0
  51. data/example30/test/test_helper.rb +13 -0
  52. data/lib/data_fabric.rb +14 -21
  53. data/lib/data_fabric/{ar22.rb → connection_proxy.rb} +43 -63
  54. data/lib/data_fabric/extensions.rb +29 -0
  55. data/lib/data_fabric/version.rb +1 -1
  56. data/test/connection_test.rb +17 -12
  57. data/test/database_test.rb +3 -11
  58. data/test/test_helper.rb +3 -8
  59. data/test/thread_test.rb +0 -14
  60. data/test/vr_austin_master.db +0 -0
  61. data/test/vr_austin_slave.db +0 -0
  62. data/test/vr_dallas_master.db +0 -0
  63. data/test/vr_dallas_slave.db +0 -0
  64. metadata +72 -99
  65. data/example/Rakefile +0 -58
  66. data/example/app/helpers/accounts_helper.rb +0 -2
  67. data/example/app/helpers/application_helper.rb +0 -3
  68. data/example/app/helpers/figments_helper.rb +0 -2
  69. data/example/config/boot.rb +0 -109
  70. data/example/config/environment.rb +0 -67
  71. data/example/config/environments/development.rb +0 -17
  72. data/example/config/environments/production.rb +0 -22
  73. data/example/config/environments/test.rb +0 -22
  74. data/example/config/initializers/new_rails_defaults.rb +0 -15
  75. data/example/config/routes.rb +0 -45
  76. data/example/db/schema.rb +0 -28
  77. data/example/public/404.html +0 -30
  78. data/example/public/422.html +0 -30
  79. data/example/public/500.html +0 -30
  80. data/example/public/dispatch.cgi +0 -10
  81. data/example/public/dispatch.fcgi +0 -24
  82. data/example/public/dispatch.rb +0 -10
  83. data/example/public/favicon.ico +0 -0
  84. data/example/public/images/rails.png +0 -0
  85. data/example/public/robots.txt +0 -5
  86. data/example/script/about +0 -3
  87. data/example/script/console +0 -3
  88. data/example/script/dbconsole +0 -3
  89. data/example/script/destroy +0 -3
  90. data/example/script/generate +0 -3
  91. data/example/script/performance/benchmarker +0 -3
  92. data/example/script/performance/profiler +0 -3
  93. data/example/script/performance/request +0 -3
  94. data/example/script/plugin +0 -3
  95. data/example/script/process/inspector +0 -3
  96. data/example/script/process/reaper +0 -3
  97. data/example/script/process/spawner +0 -3
  98. data/example/script/runner +0 -3
  99. data/example/script/server +0 -3
  100. data/example/test/test_helper.rb +0 -41
  101. data/example23/db/development.sqlite3 +0 -0
  102. data/example23/db/s0_development.sqlite3 +0 -0
  103. data/example23/db/s0_test.sqlite3 +0 -0
  104. data/example23/db/s1_development.sqlite3 +0 -0
  105. data/example23/db/s1_test.sqlite3 +0 -0
  106. data/example23/db/test.sqlite3 +0 -0
  107. data/example23/log/development.log +0 -295
  108. data/example23/log/test.log +0 -551
  109. data/example23/vendor/plugins/data_fabric/init.rb +0 -3
  110. data/example23/vendor/plugins/data_fabric/lib/data_fabric.rb +0 -106
  111. data/example23/vendor/plugins/data_fabric/lib/data_fabric/ar20.rb +0 -133
  112. data/example23/vendor/plugins/data_fabric/lib/data_fabric/ar22.rb +0 -181
  113. data/example23/vendor/plugins/data_fabric/lib/data_fabric/dash.rb +0 -20
  114. data/example23/vendor/plugins/data_fabric/lib/data_fabric/version.rb +0 -7
  115. data/init.rb +0 -3
  116. data/lib/data_fabric/ar20.rb +0 -133
  117. data/lib/data_fabric/dash.rb +0 -20
  118. data/rails/init.rb +0 -1
@@ -1,551 +0,0 @@
1
- # Logfile created on 2010-08-10 12:53:43 -0700 SQL (0.4ms)  SELECT name
2
- FROM sqlite_master
3
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
4
- 
5
- SQL (0.4ms)  SELECT name
6
- FROM sqlite_master
7
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8
- 
9
- SQL (0.4ms)  SELECT name
10
- FROM sqlite_master
11
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
12
- 
13
- SQL (0.1ms) SELECT version FROM schema_migrations
14
- Migrating to CreateAccounts (20080702154628)
15
- Migrating to CreateFigments (20080702154820)
16
- SQL (0.1ms) select sqlite_version(*)
17
- SQL (0.1ms)  SELECT name
18
- FROM sqlite_master
19
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
20
- 
21
- SQL (0.1ms) SELECT version FROM schema_migrations
22
- SQL (0.1ms)  SELECT name
23
- FROM sqlite_master
24
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
25
- 
26
- SQL (0.0ms) PRAGMA index_list("accounts")
27
- SQL (0.0ms) PRAGMA index_list("figments")
28
-
29
-
30
- Processing AccountsController#index (for 0.0.0.0 at 2010-08-10 13:03:22) [GET]
31
- Account Load (0.2ms) SELECT * FROM "accounts" 
32
- Rendering template within layouts/application
33
- Rendering accounts/index
34
- Completed in 6ms (View: 4, DB: 1) | 200 OK [http://test.host/accounts]
35
- SQL (1.6ms) delete from figments
36
- SQL (1.3ms) delete from figments
37
- SQL (0.1ms) select count(*) as c from figments
38
- SQL (0.1ms) select count(*) as c from figments
39
-
40
-
41
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:03:24) [GET]
42
- Account Load (0.3ms) SELECT * FROM "accounts" 
43
- Rendering template within layouts/application
44
- Rendering accounts/index
45
- Completed in 15ms (View: 6, DB: 0) | 200 OK [http://www.example.com/accounts]
46
-
47
-
48
- Processing AccountsController#create (for 127.0.0.1 at 2010-08-10 13:03:24) [POST]
49
- Parameters: {"acct"=>{"name"=>"mike", "shard"=>"0"}}
50
- Account Create (0.3ms) INSERT INTO "accounts" ("name", "shard", "created_at", "updated_at") VALUES('mike', '0', '2010-08-10 20:03:24', '2010-08-10 20:03:24')
51
- Redirected to http://www.example.com/
52
- Completed in 3ms (DB: 0) | 302 Found [http://www.example.com/accounts]
53
-
54
-
55
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:03:24) [GET]
56
- Account Load (0.3ms) SELECT * FROM "accounts" 
57
- Rendering template within layouts/application
58
- Rendering accounts/index
59
- Completed in 3ms (View: 1, DB: 0) | 200 OK [http://www.example.com/]
60
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."name" = 'mike') LIMIT 1
61
-
62
-
63
- Processing AccountsController#choose (for 127.0.0.1 at 2010-08-10 13:03:24) [GET]
64
- Parameters: {"id"=>"1033447817"}
65
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
66
- Redirected to http://www.example.com/
67
- Completed in 1ms (DB: 0) | 302 Found [http://www.example.com/accounts/1033447817/choose]
68
-
69
-
70
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:03:24) [GET]
71
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
72
- Account Load (0.1ms) SELECT * FROM "accounts" 
73
- Rendering template within layouts/application
74
- Rendering accounts/index
75
- Figment Load (0.3ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447817) 
76
- Completed in 5ms (View: 4, DB: 0) | 200 OK [http://www.example.com/]
77
- SQL (0.1ms) SELECT count(*) AS count_all FROM "figments" WHERE ("figments".account_id = 1033447817) 
78
-
79
-
80
- Processing FigmentsController#create (for 127.0.0.1 at 2010-08-10 13:03:24) [POST]
81
- Parameters: {"figment"=>{"value"=>"14"}}
82
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
83
- Figment Create (0.3ms) INSERT INTO "figments" ("account_id", "value", "created_at", "updated_at") VALUES(1033447817, 14, '2010-08-10 20:03:24', '2010-08-10 20:03:24')
84
- Redirected to http://www.example.com/
85
- Completed in 6ms (DB: 0) | 302 Found [http://www.example.com/figments]
86
-
87
-
88
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:03:24) [GET]
89
- Account Load (0.2ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
90
- Account Load (0.1ms) SELECT * FROM "accounts" 
91
- Rendering template within layouts/application
92
- Rendering accounts/index
93
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447817) 
94
- CACHE (0.0ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
95
- Completed in 4ms (View: 2, DB: 0) | 200 OK [http://www.example.com/]
96
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447817) 
97
- SQL (0.1ms) select count(*) as c from figments
98
- SQL (0.1ms) select count(*) as c from figments
99
-
100
-
101
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:03:24) [GET]
102
- Account Load (0.2ms) SELECT * FROM "accounts" 
103
- Rendering template within layouts/application
104
- Rendering accounts/index
105
- Completed in 2ms (View: 1, DB: 0) | 200 OK [http://www.example.com/accounts]
106
-
107
-
108
- Processing AccountsController#create (for 127.0.0.1 at 2010-08-10 13:03:24) [POST]
109
- Parameters: {"acct"=>{"name"=>"bob", "shard"=>"1"}}
110
- Account Create (0.1ms) INSERT INTO "accounts" ("name", "shard", "created_at", "updated_at") VALUES('bob', '1', '2010-08-10 20:03:24', '2010-08-10 20:03:24')
111
- Redirected to http://www.example.com/
112
- Completed in 2ms (DB: 0) | 302 Found [http://www.example.com/accounts]
113
-
114
-
115
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:03:24) [GET]
116
- Account Load (0.2ms) SELECT * FROM "accounts" 
117
- Rendering template within layouts/application
118
- Rendering accounts/index
119
- Completed in 3ms (View: 1, DB: 0) | 200 OK [http://www.example.com/]
120
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."name" = 'bob') LIMIT 1
121
-
122
-
123
- Processing AccountsController#choose (for 127.0.0.1 at 2010-08-10 13:03:24) [GET]
124
- Parameters: {"id"=>"1033447818"}
125
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
126
- Redirected to http://www.example.com/
127
- Completed in 1ms (DB: 0) | 302 Found [http://www.example.com/accounts/1033447818/choose]
128
-
129
-
130
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:03:24) [GET]
131
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
132
- Account Load (0.1ms) SELECT * FROM "accounts" 
133
- Rendering template within layouts/application
134
- Rendering accounts/index
135
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447818) 
136
- Completed in 5ms (View: 3, DB: 0) | 200 OK [http://www.example.com/]
137
- SQL (0.1ms) SELECT count(*) AS count_all FROM "figments" WHERE ("figments".account_id = 1033447818) 
138
-
139
-
140
- Processing FigmentsController#create (for 127.0.0.1 at 2010-08-10 13:03:24) [POST]
141
- Parameters: {"figment"=>{"value"=>"66"}}
142
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
143
- Figment Create (0.3ms) INSERT INTO "figments" ("account_id", "value", "created_at", "updated_at") VALUES(1033447818, 66, '2010-08-10 20:03:24', '2010-08-10 20:03:24')
144
- Redirected to http://www.example.com/
145
- Completed in 4ms (DB: 0) | 302 Found [http://www.example.com/figments]
146
-
147
-
148
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:03:25) [GET]
149
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
150
- Account Load (0.1ms) SELECT * FROM "accounts" 
151
- Rendering template within layouts/application
152
- Rendering accounts/index
153
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447818) 
154
- CACHE (0.0ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
155
- Completed in 4ms (View: 2, DB: 0) | 200 OK [http://www.example.com/]
156
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447818) 
157
- SQL (0.1ms) select count(*) as c from figments
158
- SQL (0.1ms) select count(*) as c from figments
159
-
160
-
161
- Processing AccountsController#index (for 0.0.0.0 at 2010-08-10 13:14:34) [GET]
162
- Account Load (0.2ms) SELECT * FROM "accounts" 
163
- Rendering template within layouts/application
164
- Rendering accounts/index
165
- Completed in 5ms (View: 3, DB: 1) | 200 OK [http://test.host/accounts]
166
- SQL (1.6ms) delete from figments
167
- SQL (1.3ms) delete from figments
168
- SQL (0.1ms) select count(*) as c from figments
169
- SQL (0.1ms) select count(*) as c from figments
170
-
171
-
172
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:14:37) [GET]
173
- Account Load (0.2ms) SELECT * FROM "accounts" 
174
- Rendering template within layouts/application
175
- Rendering accounts/index
176
- Completed in 15ms (View: 6, DB: 0) | 200 OK [http://www.example.com/accounts]
177
-
178
-
179
- Processing AccountsController#create (for 127.0.0.1 at 2010-08-10 13:14:37) [POST]
180
- Parameters: {"acct"=>{"name"=>"mike", "shard"=>"0"}}
181
- Account Create (0.3ms) INSERT INTO "accounts" ("name", "shard", "created_at", "updated_at") VALUES('mike', '0', '2010-08-10 20:14:37', '2010-08-10 20:14:37')
182
- Redirected to http://www.example.com/
183
- Completed in 3ms (DB: 0) | 302 Found [http://www.example.com/accounts]
184
-
185
-
186
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:14:37) [GET]
187
- Account Load (0.2ms) SELECT * FROM "accounts" 
188
- Rendering template within layouts/application
189
- Rendering accounts/index
190
- Completed in 2ms (View: 1, DB: 0) | 200 OK [http://www.example.com/]
191
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."name" = 'mike') LIMIT 1
192
-
193
-
194
- Processing AccountsController#choose (for 127.0.0.1 at 2010-08-10 13:14:37) [GET]
195
- Parameters: {"id"=>"1033447817"}
196
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
197
- Redirected to http://www.example.com/
198
- Completed in 1ms (DB: 0) | 302 Found [http://www.example.com/accounts/1033447817/choose]
199
-
200
-
201
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:14:37) [GET]
202
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
203
- Account Load (0.1ms) SELECT * FROM "accounts" 
204
- Rendering template within layouts/application
205
- Rendering accounts/index
206
- Figment Load (0.3ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447817) 
207
- Completed in 5ms (View: 4, DB: 0) | 200 OK [http://www.example.com/]
208
- SQL (0.1ms) SELECT count(*) AS count_all FROM "figments" WHERE ("figments".account_id = 1033447817) 
209
-
210
-
211
- Processing FigmentsController#create (for 127.0.0.1 at 2010-08-10 13:14:37) [POST]
212
- Parameters: {"figment"=>{"value"=>"14"}}
213
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
214
- Figment Create (0.3ms) INSERT INTO "figments" ("account_id", "value", "created_at", "updated_at") VALUES(1033447817, 14, '2010-08-10 20:14:37', '2010-08-10 20:14:37')
215
- Redirected to http://www.example.com/
216
- Completed in 6ms (DB: 0) | 302 Found [http://www.example.com/figments]
217
-
218
-
219
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:14:37) [GET]
220
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
221
- Account Load (0.1ms) SELECT * FROM "accounts" 
222
- Rendering template within layouts/application
223
- Rendering accounts/index
224
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447817) 
225
- CACHE (0.0ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
226
- Completed in 4ms (View: 2, DB: 0) | 200 OK [http://www.example.com/]
227
- Figment Load (0.4ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447817) 
228
- SQL (0.1ms) select count(*) as c from figments
229
- SQL (0.1ms) select count(*) as c from figments
230
-
231
-
232
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:14:37) [GET]
233
- Account Load (0.2ms) SELECT * FROM "accounts" 
234
- Rendering template within layouts/application
235
- Rendering accounts/index
236
- Completed in 2ms (View: 1, DB: 0) | 200 OK [http://www.example.com/accounts]
237
-
238
-
239
- Processing AccountsController#create (for 127.0.0.1 at 2010-08-10 13:14:37) [POST]
240
- Parameters: {"acct"=>{"name"=>"bob", "shard"=>"1"}}
241
- Account Create (0.1ms) INSERT INTO "accounts" ("name", "shard", "created_at", "updated_at") VALUES('bob', '1', '2010-08-10 20:14:37', '2010-08-10 20:14:37')
242
- Redirected to http://www.example.com/
243
- Completed in 2ms (DB: 0) | 302 Found [http://www.example.com/accounts]
244
-
245
-
246
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:14:37) [GET]
247
- Account Load (0.4ms) SELECT * FROM "accounts" 
248
- Rendering template within layouts/application
249
- Rendering accounts/index
250
- Completed in 3ms (View: 1, DB: 0) | 200 OK [http://www.example.com/]
251
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."name" = 'bob') LIMIT 1
252
-
253
-
254
- Processing AccountsController#choose (for 127.0.0.1 at 2010-08-10 13:14:37) [GET]
255
- Parameters: {"id"=>"1033447818"}
256
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
257
- Redirected to http://www.example.com/
258
- Completed in 1ms (DB: 0) | 302 Found [http://www.example.com/accounts/1033447818/choose]
259
-
260
-
261
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:14:37) [GET]
262
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
263
- Account Load (0.1ms) SELECT * FROM "accounts" 
264
- Rendering template within layouts/application
265
- Rendering accounts/index
266
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447818) 
267
- Completed in 5ms (View: 3, DB: 0) | 200 OK [http://www.example.com/]
268
- SQL (0.1ms) SELECT count(*) AS count_all FROM "figments" WHERE ("figments".account_id = 1033447818) 
269
-
270
-
271
- Processing FigmentsController#create (for 127.0.0.1 at 2010-08-10 13:14:37) [POST]
272
- Parameters: {"figment"=>{"value"=>"66"}}
273
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
274
- Figment Create (0.3ms) INSERT INTO "figments" ("account_id", "value", "created_at", "updated_at") VALUES(1033447818, 66, '2010-08-10 20:14:37', '2010-08-10 20:14:37')
275
- Redirected to http://www.example.com/
276
- Completed in 4ms (DB: 0) | 302 Found [http://www.example.com/figments]
277
-
278
-
279
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:14:37) [GET]
280
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
281
- Account Load (0.1ms) SELECT * FROM "accounts" 
282
- Rendering template within layouts/application
283
- Rendering accounts/index
284
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447818) 
285
- CACHE (0.0ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
286
- Completed in 4ms (View: 2, DB: 0) | 200 OK [http://www.example.com/]
287
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447818) 
288
- SQL (0.1ms) select count(*) as c from figments
289
- SQL (0.1ms) select count(*) as c from figments
290
-
291
-
292
- Processing AccountsController#index (for 0.0.0.0 at 2010-08-10 13:15:13) [GET]
293
- Account Load (0.2ms) SELECT * FROM "accounts" 
294
- Rendering template within layouts/application
295
- Rendering accounts/index
296
- Completed in 6ms (View: 4, DB: 1) | 200 OK [http://test.host/accounts]
297
- SQL (1.4ms) delete from figments
298
- SQL (1.3ms) delete from figments
299
- SQL (0.1ms) select count(*) as c from figments
300
- SQL (0.1ms) select count(*) as c from figments
301
-
302
-
303
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:15:15) [GET]
304
- Account Load (0.3ms) SELECT * FROM "accounts" 
305
- Rendering template within layouts/application
306
- Rendering accounts/index
307
- Completed in 15ms (View: 6, DB: 0) | 200 OK [http://www.example.com/accounts]
308
-
309
-
310
- Processing AccountsController#create (for 127.0.0.1 at 2010-08-10 13:15:15) [POST]
311
- Parameters: {"acct"=>{"name"=>"mike", "shard"=>"0"}}
312
- Account Create (0.3ms) INSERT INTO "accounts" ("name", "shard", "created_at", "updated_at") VALUES('mike', '0', '2010-08-10 20:15:15', '2010-08-10 20:15:15')
313
- Redirected to http://www.example.com/
314
- Completed in 3ms (DB: 0) | 302 Found [http://www.example.com/accounts]
315
-
316
-
317
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:15:15) [GET]
318
- Account Load (0.2ms) SELECT * FROM "accounts" 
319
- Rendering template within layouts/application
320
- Rendering accounts/index
321
- Completed in 2ms (View: 1, DB: 0) | 200 OK [http://www.example.com/]
322
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."name" = 'mike') LIMIT 1
323
-
324
-
325
- Processing AccountsController#choose (for 127.0.0.1 at 2010-08-10 13:15:15) [GET]
326
- Parameters: {"id"=>"1033447817"}
327
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
328
- Redirected to http://www.example.com/
329
- Completed in 1ms (DB: 0) | 302 Found [http://www.example.com/accounts/1033447817/choose]
330
-
331
-
332
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:15:15) [GET]
333
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
334
- Account Load (0.1ms) SELECT * FROM "accounts" 
335
- Rendering template within layouts/application
336
- Rendering accounts/index
337
- Figment Load (0.3ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447817) 
338
- Completed in 5ms (View: 4, DB: 0) | 200 OK [http://www.example.com/]
339
- SQL (0.1ms) SELECT count(*) AS count_all FROM "figments" WHERE ("figments".account_id = 1033447817) 
340
-
341
-
342
- Processing FigmentsController#create (for 127.0.0.1 at 2010-08-10 13:15:15) [POST]
343
- Parameters: {"figment"=>{"value"=>"14"}}
344
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
345
- Figment Create (0.3ms) INSERT INTO "figments" ("account_id", "value", "created_at", "updated_at") VALUES(1033447817, 14, '2010-08-10 20:15:15', '2010-08-10 20:15:15')
346
- Redirected to http://www.example.com/
347
- Completed in 6ms (DB: 0) | 302 Found [http://www.example.com/figments]
348
-
349
-
350
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:15:15) [GET]
351
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
352
- Account Load (0.1ms) SELECT * FROM "accounts" 
353
- Rendering template within layouts/application
354
- Rendering accounts/index
355
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447817) 
356
- CACHE (0.0ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
357
- Completed in 4ms (View: 2, DB: 0) | 200 OK [http://www.example.com/]
358
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447817) 
359
- SQL (0.1ms) select count(*) as c from figments
360
- SQL (0.1ms) select count(*) as c from figments
361
-
362
-
363
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:15:15) [GET]
364
- Account Load (0.2ms) SELECT * FROM "accounts" 
365
- Rendering template within layouts/application
366
- Rendering accounts/index
367
- Completed in 2ms (View: 1, DB: 0) | 200 OK [http://www.example.com/accounts]
368
-
369
-
370
- Processing AccountsController#create (for 127.0.0.1 at 2010-08-10 13:15:15) [POST]
371
- Parameters: {"acct"=>{"name"=>"bob", "shard"=>"1"}}
372
- Account Create (0.1ms) INSERT INTO "accounts" ("name", "shard", "created_at", "updated_at") VALUES('bob', '1', '2010-08-10 20:15:15', '2010-08-10 20:15:15')
373
- Redirected to http://www.example.com/
374
- Completed in 2ms (DB: 0) | 302 Found [http://www.example.com/accounts]
375
-
376
-
377
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:15:15) [GET]
378
- Account Load (0.2ms) SELECT * FROM "accounts" 
379
- Rendering template within layouts/application
380
- Rendering accounts/index
381
- Completed in 3ms (View: 1, DB: 0) | 200 OK [http://www.example.com/]
382
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."name" = 'bob') LIMIT 1
383
-
384
-
385
- Processing AccountsController#choose (for 127.0.0.1 at 2010-08-10 13:15:15) [GET]
386
- Parameters: {"id"=>"1033447818"}
387
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
388
- Redirected to http://www.example.com/
389
- Completed in 1ms (DB: 0) | 302 Found [http://www.example.com/accounts/1033447818/choose]
390
-
391
-
392
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:15:15) [GET]
393
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
394
- Account Load (0.1ms) SELECT * FROM "accounts" 
395
- Rendering template within layouts/application
396
- Rendering accounts/index
397
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447818) 
398
- Completed in 5ms (View: 3, DB: 0) | 200 OK [http://www.example.com/]
399
- SQL (0.1ms) SELECT count(*) AS count_all FROM "figments" WHERE ("figments".account_id = 1033447818) 
400
-
401
-
402
- Processing FigmentsController#create (for 127.0.0.1 at 2010-08-10 13:15:15) [POST]
403
- Parameters: {"figment"=>{"value"=>"66"}}
404
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
405
- Figment Create (0.3ms) INSERT INTO "figments" ("account_id", "value", "created_at", "updated_at") VALUES(1033447818, 66, '2010-08-10 20:15:15', '2010-08-10 20:15:15')
406
- Redirected to http://www.example.com/
407
- Completed in 4ms (DB: 0) | 302 Found [http://www.example.com/figments]
408
-
409
-
410
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:15:15) [GET]
411
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
412
- Account Load (0.2ms) SELECT * FROM "accounts" 
413
- Rendering template within layouts/application
414
- Rendering accounts/index
415
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447818) 
416
- CACHE (0.0ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
417
- Completed in 4ms (View: 2, DB: 0) | 200 OK [http://www.example.com/]
418
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447818) 
419
- SQL (0.1ms) select count(*) as c from figments
420
- SQL (0.1ms) select count(*) as c from figments
421
-
422
-
423
- Processing AccountsController#index (for 0.0.0.0 at 2010-08-10 13:16:39) [GET]
424
- Account Load (0.3ms) SELECT * FROM "accounts" 
425
- Rendering template within layouts/application
426
- Rendering accounts/index
427
- Completed in 6ms (View: 4, DB: 1) | 200 OK [http://test.host/accounts]
428
- SQL (1.6ms) delete from figments
429
- SQL (1.3ms) delete from figments
430
- SQL (0.1ms) select count(*) as c from figments
431
- SQL (0.1ms) select count(*) as c from figments
432
-
433
-
434
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:16:41) [GET]
435
- Account Load (0.2ms) SELECT * FROM "accounts" 
436
- Rendering template within layouts/application
437
- Rendering accounts/index
438
- Completed in 15ms (View: 7, DB: 0) | 200 OK [http://www.example.com/accounts]
439
-
440
-
441
- Processing AccountsController#create (for 127.0.0.1 at 2010-08-10 13:16:41) [POST]
442
- Parameters: {"acct"=>{"name"=>"mike", "shard"=>"0"}}
443
- Account Create (0.3ms) INSERT INTO "accounts" ("name", "shard", "created_at", "updated_at") VALUES('mike', '0', '2010-08-10 20:16:41', '2010-08-10 20:16:41')
444
- Redirected to http://www.example.com/
445
- Completed in 3ms (DB: 0) | 302 Found [http://www.example.com/accounts]
446
-
447
-
448
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:16:41) [GET]
449
- Account Load (0.2ms) SELECT * FROM "accounts" 
450
- Rendering template within layouts/application
451
- Rendering accounts/index
452
- Completed in 2ms (View: 1, DB: 0) | 200 OK [http://www.example.com/]
453
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."name" = 'mike') LIMIT 1
454
-
455
-
456
- Processing AccountsController#choose (for 127.0.0.1 at 2010-08-10 13:16:41) [GET]
457
- Parameters: {"id"=>"1033447817"}
458
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
459
- Redirected to http://www.example.com/
460
- Completed in 1ms (DB: 0) | 302 Found [http://www.example.com/accounts/1033447817/choose]
461
-
462
-
463
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:16:41) [GET]
464
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
465
- Account Load (0.1ms) SELECT * FROM "accounts" 
466
- Rendering template within layouts/application
467
- Rendering accounts/index
468
- Figment Load (0.3ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447817) 
469
- Completed in 5ms (View: 4, DB: 0) | 200 OK [http://www.example.com/]
470
- SQL (0.1ms) SELECT count(*) AS count_all FROM "figments" WHERE ("figments".account_id = 1033447817) 
471
-
472
-
473
- Processing FigmentsController#create (for 127.0.0.1 at 2010-08-10 13:16:41) [POST]
474
- Parameters: {"figment"=>{"value"=>"14"}}
475
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
476
- Figment Create (0.3ms) INSERT INTO "figments" ("account_id", "value", "created_at", "updated_at") VALUES(1033447817, 14, '2010-08-10 20:16:41', '2010-08-10 20:16:41')
477
- Redirected to http://www.example.com/
478
- Completed in 6ms (DB: 0) | 302 Found [http://www.example.com/figments]
479
-
480
-
481
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:16:41) [GET]
482
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
483
- Account Load (0.1ms) SELECT * FROM "accounts" 
484
- Rendering template within layouts/application
485
- Rendering accounts/index
486
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447817) 
487
- CACHE (0.0ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447817) 
488
- Completed in 4ms (View: 2, DB: 0) | 200 OK [http://www.example.com/]
489
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447817) 
490
- SQL (0.1ms) select count(*) as c from figments
491
- SQL (0.1ms) select count(*) as c from figments
492
-
493
-
494
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:16:41) [GET]
495
- Account Load (0.2ms) SELECT * FROM "accounts" 
496
- Rendering template within layouts/application
497
- Rendering accounts/index
498
- Completed in 2ms (View: 1, DB: 0) | 200 OK [http://www.example.com/accounts]
499
-
500
-
501
- Processing AccountsController#create (for 127.0.0.1 at 2010-08-10 13:16:41) [POST]
502
- Parameters: {"acct"=>{"name"=>"bob", "shard"=>"1"}}
503
- Account Create (0.1ms) INSERT INTO "accounts" ("name", "shard", "created_at", "updated_at") VALUES('bob', '1', '2010-08-10 20:16:41', '2010-08-10 20:16:41')
504
- Redirected to http://www.example.com/
505
- Completed in 2ms (DB: 0) | 302 Found [http://www.example.com/accounts]
506
-
507
-
508
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:16:41) [GET]
509
- Account Load (0.2ms) SELECT * FROM "accounts" 
510
- Rendering template within layouts/application
511
- Rendering accounts/index
512
- Completed in 2ms (View: 1, DB: 0) | 200 OK [http://www.example.com/]
513
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."name" = 'bob') LIMIT 1
514
-
515
-
516
- Processing AccountsController#choose (for 127.0.0.1 at 2010-08-10 13:16:41) [GET]
517
- Parameters: {"id"=>"1033447818"}
518
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
519
- Redirected to http://www.example.com/
520
- Completed in 1ms (DB: 0) | 302 Found [http://www.example.com/accounts/1033447818/choose]
521
-
522
-
523
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:16:41) [GET]
524
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
525
- Account Load (0.1ms) SELECT * FROM "accounts" 
526
- Rendering template within layouts/application
527
- Rendering accounts/index
528
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447818) 
529
- Completed in 4ms (View: 3, DB: 0) | 200 OK [http://www.example.com/]
530
- SQL (0.1ms) SELECT count(*) AS count_all FROM "figments" WHERE ("figments".account_id = 1033447818) 
531
-
532
-
533
- Processing FigmentsController#create (for 127.0.0.1 at 2010-08-10 13:16:41) [POST]
534
- Parameters: {"figment"=>{"value"=>"66"}}
535
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
536
- Figment Create (0.3ms) INSERT INTO "figments" ("account_id", "value", "created_at", "updated_at") VALUES(1033447818, 66, '2010-08-10 20:16:41', '2010-08-10 20:16:41')
537
- Redirected to http://www.example.com/
538
- Completed in 4ms (DB: 0) | 302 Found [http://www.example.com/figments]
539
-
540
-
541
- Processing AccountsController#index (for 127.0.0.1 at 2010-08-10 13:16:41) [GET]
542
- Account Load (0.1ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
543
- Account Load (0.1ms) SELECT * FROM "accounts" 
544
- Rendering template within layouts/application
545
- Rendering accounts/index
546
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447818) 
547
- CACHE (0.0ms) SELECT * FROM "accounts" WHERE ("accounts"."id" = 1033447818) 
548
- Completed in 4ms (View: 2, DB: 0) | 200 OK [http://www.example.com/]
549
- Figment Load (0.2ms) SELECT * FROM "figments" WHERE ("figments".account_id = 1033447818) 
550
- SQL (0.1ms) select count(*) as c from figments
551
- SQL (0.1ms) select count(*) as c from figments