data_fabric 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/lib/data_fabric/connection_proxy.rb +12 -3
- data/lib/data_fabric/version.rb +1 -1
- data/test/connection_test.rb +7 -0
- data/test/vr_austin_master.db +0 -0
- data/test/vr_austin_slave.db +0 -0
- data/test/vr_dallas_master.db +0 -0
- data/test/vr_dallas_slave.db +0 -0
- metadata +16 -12
- data/example30/db/development.sqlite3 +0 -0
- data/example30/db/s0_development.sqlite3 +0 -0
- data/example30/db/s0_test.sqlite3 +0 -0
- data/example30/db/s1_development.sqlite3 +0 -0
- data/example30/db/s1_test.sqlite3 +0 -0
- data/example30/db/schema.rb +0 -29
- data/example30/db/test.sqlite3 +0 -0
- data/example30/log/development.log +0 -132
- data/example30/log/test.log +0 -444
data/CHANGELOG
CHANGED
@@ -22,21 +22,30 @@ module DataFabric
|
|
22
22
|
def initialize(proxy)
|
23
23
|
@proxy = proxy
|
24
24
|
end
|
25
|
+
|
25
26
|
def connection
|
26
27
|
@proxy
|
27
28
|
end
|
28
|
-
|
29
|
-
DataFabric.logger.debug { 'data_fabric does not implement release_connection' }
|
30
|
-
end
|
29
|
+
|
31
30
|
def spec
|
32
31
|
@proxy.spec
|
33
32
|
end
|
33
|
+
|
34
34
|
def with_connection
|
35
35
|
yield @proxy
|
36
36
|
end
|
37
|
+
|
37
38
|
def connected?
|
38
39
|
@proxy.connected?
|
39
40
|
end
|
41
|
+
|
42
|
+
%w(disconnect! release_connection clear_reloadable_connections! clear_stale_cached_connections! verify_active_connections!).each do |name|
|
43
|
+
define_method(name.to_sym) do
|
44
|
+
@proxy.shard_pools.values.each do |pool|
|
45
|
+
pool.send(name.to_sym)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
40
49
|
end
|
41
50
|
|
42
51
|
class ConnectionProxy
|
data/lib/data_fabric/version.rb
CHANGED
data/test/connection_test.rb
CHANGED
@@ -100,7 +100,14 @@ class ConnectionTest < Test::Unit::TestCase
|
|
100
100
|
TheWholeEnchilada.transaction do
|
101
101
|
mmmm.save!
|
102
102
|
end
|
103
|
+
TheWholeEnchilada.verify_active_connections!
|
104
|
+
TheWholeEnchilada.clear_active_connections!
|
105
|
+
TheWholeEnchilada.clear_all_connections!
|
103
106
|
end
|
107
|
+
|
108
|
+
TheWholeEnchilada.verify_active_connections!
|
109
|
+
TheWholeEnchilada.clear_active_connections!
|
110
|
+
TheWholeEnchilada.clear_all_connections!
|
104
111
|
end
|
105
112
|
|
106
113
|
private
|
data/test/vr_austin_master.db
CHANGED
Binary file
|
data/test/vr_austin_slave.db
CHANGED
Binary file
|
data/test/vr_dallas_master.db
CHANGED
Binary file
|
data/test/vr_dallas_slave.db
CHANGED
Binary file
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 1.3.
|
8
|
+
- 1
|
9
|
+
version: 1.3.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Mike Perham
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date:
|
17
|
+
date: 2011-02-10 00:00:00 -08:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -30,6 +30,19 @@ dependencies:
|
|
30
30
|
version: "0"
|
31
31
|
type: :development
|
32
32
|
version_requirements: *id001
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: sqlite3
|
35
|
+
prerelease: false
|
36
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
37
|
+
none: false
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
version: "0"
|
44
|
+
type: :development
|
45
|
+
version_requirements: *id002
|
33
46
|
description: Sharding and replication support for ActiveRecord 2.x
|
34
47
|
email: mperham@gmail.com
|
35
48
|
executables: []
|
@@ -117,20 +130,11 @@ files:
|
|
117
130
|
- example30/config/locales/en.yml
|
118
131
|
- example30/config/routes.rb
|
119
132
|
- example30/config.ru
|
120
|
-
- example30/db/development.sqlite3
|
121
133
|
- example30/db/migrate/20080702154628_create_accounts.rb
|
122
134
|
- example30/db/migrate/20080702154820_create_figments.rb
|
123
|
-
- example30/db/s0_development.sqlite3
|
124
|
-
- example30/db/s0_test.sqlite3
|
125
|
-
- example30/db/s1_development.sqlite3
|
126
|
-
- example30/db/s1_test.sqlite3
|
127
|
-
- example30/db/schema.rb
|
128
135
|
- example30/db/seeds.rb
|
129
|
-
- example30/db/test.sqlite3
|
130
136
|
- example30/Gemfile
|
131
137
|
- example30/Gemfile.lock
|
132
|
-
- example30/log/development.log
|
133
|
-
- example30/log/test.log
|
134
138
|
- example30/Rakefile
|
135
139
|
- example30/README
|
136
140
|
- example30/script/rails
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/example30/db/schema.rb
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
# This file is auto-generated from the current state of the database. Instead
|
2
|
-
# of editing this file, please use the migrations feature of Active Record to
|
3
|
-
# incrementally modify your database, and then regenerate this schema definition.
|
4
|
-
#
|
5
|
-
# Note that this schema.rb definition is the authoritative source for your
|
6
|
-
# database schema. If you need to create the application database on another
|
7
|
-
# system, you should be using db:schema:load, not running all the migrations
|
8
|
-
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
9
|
-
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
10
|
-
#
|
11
|
-
# It's strongly recommended to check this file into your version control system.
|
12
|
-
|
13
|
-
ActiveRecord::Schema.define(:version => 20080702154820) do
|
14
|
-
|
15
|
-
create_table "accounts", :force => true do |t|
|
16
|
-
t.string "name"
|
17
|
-
t.string "shard"
|
18
|
-
t.datetime "created_at"
|
19
|
-
t.datetime "updated_at"
|
20
|
-
end
|
21
|
-
|
22
|
-
create_table "figments", :force => true do |t|
|
23
|
-
t.integer "account_id"
|
24
|
-
t.integer "value"
|
25
|
-
t.datetime "created_at"
|
26
|
-
t.datetime "updated_at"
|
27
|
-
end
|
28
|
-
|
29
|
-
end
|
data/example30/db/test.sqlite3
DELETED
Binary file
|
@@ -1,132 +0,0 @@
|
|
1
|
-
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
2
|
-
FROM sqlite_master
|
3
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
4
|
-
[0m
|
5
|
-
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
6
|
-
[1m[36mSQL (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
7
|
-
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
8
|
-
[1m[36mSQL (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9
|
-
[1m[35mSQL (0.1ms)[0m SELECT name
|
10
|
-
FROM sqlite_master
|
11
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
12
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
13
|
-
FROM sqlite_master
|
14
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
15
|
-
[0m
|
16
|
-
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
17
|
-
Migrating to CreateAccounts (20080702154628)
|
18
|
-
[1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "shard" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
19
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20080702154628')
|
20
|
-
Migrating to CreateFigments (20080702154820)
|
21
|
-
[1m[36mSQL (0.4ms)[0m [1mCREATE TABLE "figments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime) [0m
|
22
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20080702154820')
|
23
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
24
|
-
FROM sqlite_master
|
25
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
26
|
-
[0m
|
27
|
-
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
28
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
29
|
-
FROM sqlite_master
|
30
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
31
|
-
[0m
|
32
|
-
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("accounts")
|
33
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("figments")[0m
|
34
|
-
[1m[36mSQL (0.9ms)[0m [1m SELECT name
|
35
|
-
FROM sqlite_master
|
36
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
37
|
-
[0m
|
38
|
-
[1m[35mSQL (0.1ms)[0m SELECT name
|
39
|
-
FROM sqlite_master
|
40
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
41
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
42
|
-
[1m[35mSQL (0.3ms)[0m select sqlite_version(*)
|
43
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
44
|
-
FROM sqlite_master
|
45
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
46
|
-
[0m
|
47
|
-
[1m[35mSQL (3.3ms)[0m CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "shard" varchar(255), "created_at" datetime, "updated_at" datetime)
|
48
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
49
|
-
FROM sqlite_master
|
50
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
51
|
-
[0m
|
52
|
-
[1m[35mSQL (1.8ms)[0m CREATE TABLE "figments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime)
|
53
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
54
|
-
FROM sqlite_master
|
55
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
56
|
-
[0m
|
57
|
-
[1m[35mSQL (2.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
58
|
-
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
59
|
-
[1m[35mSQL (2.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
60
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
61
|
-
FROM sqlite_master
|
62
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
63
|
-
[0m
|
64
|
-
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
65
|
-
[1m[36mSQL (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20080702154820')[0m
|
66
|
-
[1m[35mSQL (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20080702154628')
|
67
|
-
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
68
|
-
FROM sqlite_master
|
69
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
70
|
-
[0m
|
71
|
-
[1m[35mSQL (0.1ms)[0m SELECT name
|
72
|
-
FROM sqlite_master
|
73
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
74
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
75
|
-
[1m[35mSQL (0.3ms)[0m select sqlite_version(*)
|
76
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
77
|
-
FROM sqlite_master
|
78
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
79
|
-
[0m
|
80
|
-
[1m[35mSQL (1.7ms)[0m CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "shard" varchar(255), "created_at" datetime, "updated_at" datetime)
|
81
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
82
|
-
FROM sqlite_master
|
83
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
84
|
-
[0m
|
85
|
-
[1m[35mSQL (1.6ms)[0m CREATE TABLE "figments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime)
|
86
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
87
|
-
FROM sqlite_master
|
88
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
89
|
-
[0m
|
90
|
-
[1m[35mSQL (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
91
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
92
|
-
[1m[35mSQL (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
93
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
94
|
-
FROM sqlite_master
|
95
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
96
|
-
[0m
|
97
|
-
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
98
|
-
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20080702154820')[0m
|
99
|
-
[1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20080702154628')
|
100
|
-
[1m[36mSQL (0.8ms)[0m [1m SELECT name
|
101
|
-
FROM sqlite_master
|
102
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
103
|
-
[0m
|
104
|
-
[1m[35mSQL (0.1ms)[0m SELECT name
|
105
|
-
FROM sqlite_master
|
106
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
107
|
-
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
108
|
-
[1m[35mSQL (0.3ms)[0m select sqlite_version(*)
|
109
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
110
|
-
FROM sqlite_master
|
111
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
112
|
-
[0m
|
113
|
-
[1m[35mSQL (3.6ms)[0m CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "shard" varchar(255), "created_at" datetime, "updated_at" datetime)
|
114
|
-
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
115
|
-
FROM sqlite_master
|
116
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
117
|
-
[0m
|
118
|
-
[1m[35mSQL (1.8ms)[0m CREATE TABLE "figments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime)
|
119
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
120
|
-
FROM sqlite_master
|
121
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
122
|
-
[0m
|
123
|
-
[1m[35mSQL (1.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
124
|
-
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
125
|
-
[1m[35mSQL (2.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
126
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
127
|
-
FROM sqlite_master
|
128
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
129
|
-
[0m
|
130
|
-
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
131
|
-
[1m[36mSQL (1.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20080702154820')[0m
|
132
|
-
[1m[35mSQL (1.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20080702154628')
|
data/example30/log/test.log
DELETED
@@ -1,444 +0,0 @@
|
|
1
|
-
[1m[36mSQL (0.7ms)[0m [1m SELECT name
|
2
|
-
FROM sqlite_master
|
3
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
4
|
-
[0m
|
5
|
-
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
6
|
-
[1m[36mSQL (3.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
7
|
-
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
8
|
-
[1m[36mSQL (2.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9
|
-
[1m[35mSQL (0.2ms)[0m SELECT name
|
10
|
-
FROM sqlite_master
|
11
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
12
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
13
|
-
FROM sqlite_master
|
14
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
15
|
-
[0m
|
16
|
-
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
17
|
-
Migrating to CreateAccounts (20080702154628)
|
18
|
-
[1m[36mSQL (0.6ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "shard" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
19
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20080702154628')
|
20
|
-
Migrating to CreateFigments (20080702154820)
|
21
|
-
[1m[36mSQL (0.4ms)[0m [1mCREATE TABLE "figments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime) [0m
|
22
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20080702154820')
|
23
|
-
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
24
|
-
FROM sqlite_master
|
25
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
26
|
-
[0m
|
27
|
-
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
28
|
-
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
29
|
-
FROM sqlite_master
|
30
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
31
|
-
[0m
|
32
|
-
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("accounts")
|
33
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("figments")[0m
|
34
|
-
Processing by AccountsController#index as HTML
|
35
|
-
[1m[36mAccount Load (0.3ms)[0m [1mSELECT "accounts".* FROM "accounts"[0m
|
36
|
-
Rendered accounts/index.html.erb within layouts/application (8.3ms)
|
37
|
-
Completed 200 OK in 47ms (Views: 11.3ms | ActiveRecord: 1.1ms)
|
38
|
-
[1m[36mSQL (1.8ms)[0m [1mdelete from figments[0m
|
39
|
-
[1m[35mSQL (2.0ms)[0m delete from figments
|
40
|
-
[1m[36mSQL (0.2ms)[0m [1mselect count(*) as c from figments[0m
|
41
|
-
[1m[35mSQL (0.1ms)[0m select count(*) as c from figments
|
42
|
-
|
43
|
-
|
44
|
-
Started GET "/accounts" for 127.0.0.1 at 2010-11-20 23:55:54 -0800
|
45
|
-
Processing by AccountsController#index as HTML
|
46
|
-
[1m[36mAccount Load (0.4ms)[0m [1mSELECT "accounts".* FROM "accounts"[0m
|
47
|
-
Rendered accounts/index.html.erb within layouts/application (8.4ms)
|
48
|
-
Completed 200 OK in 49ms (Views: 11.5ms | ActiveRecord: 5.4ms)
|
49
|
-
|
50
|
-
|
51
|
-
Started POST "/accounts" for 127.0.0.1 at 2010-11-20 23:55:54 -0800
|
52
|
-
Processing by AccountsController#create as HTML
|
53
|
-
Parameters: {"acct"=>{"name"=>"mike", "shard"=>"0"}}
|
54
|
-
[1m[35mSQL (0.2ms)[0m SELECT name
|
55
|
-
FROM sqlite_master
|
56
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
57
|
-
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "accounts" ("name", "shard", "created_at", "updated_at") VALUES ('mike', '0', '2010-11-21 07:55:54.644325', '2010-11-21 07:55:54.644325')[0m
|
58
|
-
Redirected to http://www.example.com/
|
59
|
-
Completed 302 Found in 10ms
|
60
|
-
|
61
|
-
|
62
|
-
Started GET "/" for 127.0.0.1 at 2010-11-20 23:55:54 -0800
|
63
|
-
Processing by AccountsController#index as HTML
|
64
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
65
|
-
Rendered accounts/index.html.erb within layouts/application (2.0ms)
|
66
|
-
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.7ms)
|
67
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."name" = 'mike') LIMIT 1[0m
|
68
|
-
|
69
|
-
|
70
|
-
Started GET "/accounts/1033447817/choose" for 127.0.0.1 at 2010-11-20 23:55:54 -0800
|
71
|
-
Processing by AccountsController#choose as HTML
|
72
|
-
Parameters: {"id"=>"1033447817"}
|
73
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447817) LIMIT 1
|
74
|
-
Redirected to http://www.example.com/
|
75
|
-
Completed 302 Found in 1ms
|
76
|
-
|
77
|
-
|
78
|
-
Started GET "/" for 127.0.0.1 at 2010-11-20 23:55:54 -0800
|
79
|
-
Processing by AccountsController#index as HTML
|
80
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447817) LIMIT 1[0m
|
81
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
82
|
-
[1m[36mFigment Load (0.4ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447817)[0m
|
83
|
-
Rendered accounts/index.html.erb within layouts/application (11.0ms)
|
84
|
-
Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 1.1ms)
|
85
|
-
[1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM "figments" WHERE ("figments".account_id = 1033447817)
|
86
|
-
|
87
|
-
|
88
|
-
Started POST "/figments" for 127.0.0.1 at 2010-11-20 23:55:54 -0800
|
89
|
-
Processing by FigmentsController#create as HTML
|
90
|
-
Parameters: {"figment"=>{"value"=>"14"}}
|
91
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447817) LIMIT 1[0m
|
92
|
-
[1m[35mAREL (0.4ms)[0m INSERT INTO "figments" ("account_id", "value", "created_at", "updated_at") VALUES (1033447817, 14, '2010-11-21 07:55:54.736350', '2010-11-21 07:55:54.736350')
|
93
|
-
Redirected to http://www.example.com/
|
94
|
-
Completed 302 Found in 17ms
|
95
|
-
|
96
|
-
|
97
|
-
Started GET "/" for 127.0.0.1 at 2010-11-20 23:55:54 -0800
|
98
|
-
Processing by AccountsController#index as HTML
|
99
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447817) LIMIT 1[0m
|
100
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
101
|
-
[1m[36mFigment Load (0.2ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447817)[0m
|
102
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447817) LIMIT 1
|
103
|
-
Rendered accounts/index.html.erb within layouts/application (8.8ms)
|
104
|
-
Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 1.4ms)
|
105
|
-
[1m[36mFigment Load (0.2ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447817)[0m
|
106
|
-
[1m[35mSQL (0.1ms)[0m select count(*) as c from figments
|
107
|
-
[1m[36mSQL (0.1ms)[0m [1mselect count(*) as c from figments[0m
|
108
|
-
|
109
|
-
|
110
|
-
Started GET "/accounts" for 127.0.0.1 at 2010-11-20 23:55:54 -0800
|
111
|
-
Processing by AccountsController#index as HTML
|
112
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
113
|
-
Rendered accounts/index.html.erb within layouts/application (2.1ms)
|
114
|
-
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.7ms)
|
115
|
-
|
116
|
-
|
117
|
-
Started POST "/accounts" for 127.0.0.1 at 2010-11-20 23:55:54 -0800
|
118
|
-
Processing by AccountsController#create as HTML
|
119
|
-
Parameters: {"acct"=>{"name"=>"bob", "shard"=>"1"}}
|
120
|
-
[1m[36mAREL (0.1ms)[0m [1mINSERT INTO "accounts" ("name", "shard", "created_at", "updated_at") VALUES ('bob', '1', '2010-11-21 07:55:54.771885', '2010-11-21 07:55:54.771885')[0m
|
121
|
-
Redirected to http://www.example.com/
|
122
|
-
Completed 302 Found in 2ms
|
123
|
-
|
124
|
-
|
125
|
-
Started GET "/" for 127.0.0.1 at 2010-11-20 23:55:54 -0800
|
126
|
-
Processing by AccountsController#index as HTML
|
127
|
-
[1m[35mAccount Load (0.3ms)[0m SELECT "accounts".* FROM "accounts"
|
128
|
-
Rendered accounts/index.html.erb within layouts/application (2.2ms)
|
129
|
-
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.4ms)
|
130
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."name" = 'bob') LIMIT 1[0m
|
131
|
-
|
132
|
-
|
133
|
-
Started GET "/accounts/1033447818/choose" for 127.0.0.1 at 2010-11-20 23:55:54 -0800
|
134
|
-
Processing by AccountsController#choose as HTML
|
135
|
-
Parameters: {"id"=>"1033447818"}
|
136
|
-
[1m[35mAccount Load (0.1ms)[0m SELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447818) LIMIT 1
|
137
|
-
Redirected to http://www.example.com/
|
138
|
-
Completed 302 Found in 1ms
|
139
|
-
|
140
|
-
|
141
|
-
Started GET "/" for 127.0.0.1 at 2010-11-20 23:55:54 -0800
|
142
|
-
Processing by AccountsController#index as HTML
|
143
|
-
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447818) LIMIT 1[0m
|
144
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
145
|
-
[1m[36mFigment Load (0.4ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447818)[0m
|
146
|
-
Rendered accounts/index.html.erb within layouts/application (5.3ms)
|
147
|
-
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 1.0ms)
|
148
|
-
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "figments" WHERE ("figments".account_id = 1033447818)
|
149
|
-
|
150
|
-
|
151
|
-
Started POST "/figments" for 127.0.0.1 at 2010-11-20 23:55:54 -0800
|
152
|
-
Processing by FigmentsController#create as HTML
|
153
|
-
Parameters: {"figment"=>{"value"=>"66"}}
|
154
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447818) LIMIT 1[0m
|
155
|
-
[1m[35mAREL (0.3ms)[0m INSERT INTO "figments" ("account_id", "value", "created_at", "updated_at") VALUES (1033447818, 66, '2010-11-21 07:55:54.798389', '2010-11-21 07:55:54.798389')
|
156
|
-
Redirected to http://www.example.com/
|
157
|
-
Completed 302 Found in 5ms
|
158
|
-
|
159
|
-
|
160
|
-
Started GET "/" for 127.0.0.1 at 2010-11-20 23:55:54 -0800
|
161
|
-
Processing by AccountsController#index as HTML
|
162
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447818) LIMIT 1[0m
|
163
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
164
|
-
[1m[36mFigment Load (0.2ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447818)[0m
|
165
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447818) LIMIT 1
|
166
|
-
Rendered accounts/index.html.erb within layouts/application (4.1ms)
|
167
|
-
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 1.3ms)
|
168
|
-
[1m[36mFigment Load (0.2ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447818)[0m
|
169
|
-
[1m[35mSQL (0.1ms)[0m select count(*) as c from figments
|
170
|
-
[1m[36mSQL (0.1ms)[0m [1mselect count(*) as c from figments[0m
|
171
|
-
Processing by AccountsController#index as HTML
|
172
|
-
[1m[36mAccount Load (0.3ms)[0m [1mSELECT "accounts".* FROM "accounts"[0m
|
173
|
-
Rendered accounts/index.html.erb within layouts/application (8.4ms)
|
174
|
-
Completed 200 OK in 48ms (Views: 11.4ms | ActiveRecord: 1.1ms)
|
175
|
-
[1m[36mSQL (3.4ms)[0m [1mdelete from figments[0m
|
176
|
-
[1m[35mSQL (2.3ms)[0m delete from figments
|
177
|
-
[1m[36mSQL (0.4ms)[0m [1mselect count(*) as c from figments[0m
|
178
|
-
[1m[35mSQL (0.2ms)[0m select count(*) as c from figments
|
179
|
-
|
180
|
-
|
181
|
-
Started GET "/accounts" for 127.0.0.1 at 2010-11-21 00:05:15 -0800
|
182
|
-
Processing by AccountsController#index as HTML
|
183
|
-
[1m[36mAccount Load (0.3ms)[0m [1mSELECT "accounts".* FROM "accounts"[0m
|
184
|
-
Rendered accounts/index.html.erb within layouts/application (39.1ms)
|
185
|
-
Completed 200 OK in 81ms (Views: 42.3ms | ActiveRecord: 7.4ms)
|
186
|
-
|
187
|
-
|
188
|
-
Started POST "/accounts" for 127.0.0.1 at 2010-11-21 00:05:16 -0800
|
189
|
-
Processing by AccountsController#create as HTML
|
190
|
-
Parameters: {"acct"=>{"name"=>"mike", "shard"=>"0"}}
|
191
|
-
[1m[35mSQL (0.2ms)[0m SELECT name
|
192
|
-
FROM sqlite_master
|
193
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
194
|
-
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "accounts" ("name", "shard", "created_at", "updated_at") VALUES ('mike', '0', '2010-11-21 08:05:16.025033', '2010-11-21 08:05:16.025033')[0m
|
195
|
-
Redirected to http://www.example.com/
|
196
|
-
Completed 302 Found in 10ms
|
197
|
-
|
198
|
-
|
199
|
-
Started GET "/" for 127.0.0.1 at 2010-11-21 00:05:16 -0800
|
200
|
-
Processing by AccountsController#index as HTML
|
201
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
202
|
-
Rendered accounts/index.html.erb within layouts/application (2.1ms)
|
203
|
-
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.8ms)
|
204
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."name" = 'mike') LIMIT 1[0m
|
205
|
-
|
206
|
-
|
207
|
-
Started GET "/accounts/1033447817/choose" for 127.0.0.1 at 2010-11-21 00:05:16 -0800
|
208
|
-
Processing by AccountsController#choose as HTML
|
209
|
-
Parameters: {"id"=>"1033447817"}
|
210
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447817) LIMIT 1
|
211
|
-
Redirected to http://www.example.com/
|
212
|
-
Completed 302 Found in 1ms
|
213
|
-
|
214
|
-
|
215
|
-
Started GET "/" for 127.0.0.1 at 2010-11-21 00:05:16 -0800
|
216
|
-
Processing by AccountsController#index as HTML
|
217
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447817) LIMIT 1[0m
|
218
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
219
|
-
[1m[36mFigment Load (0.4ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447817)[0m
|
220
|
-
Rendered accounts/index.html.erb within layouts/application (11.6ms)
|
221
|
-
Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 1.1ms)
|
222
|
-
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "figments" WHERE ("figments".account_id = 1033447817)
|
223
|
-
|
224
|
-
|
225
|
-
Started POST "/figments" for 127.0.0.1 at 2010-11-21 00:05:16 -0800
|
226
|
-
Processing by FigmentsController#create as HTML
|
227
|
-
Parameters: {"figment"=>{"value"=>"14"}}
|
228
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447817) LIMIT 1[0m
|
229
|
-
[1m[35mAREL (0.4ms)[0m INSERT INTO "figments" ("account_id", "value", "created_at", "updated_at") VALUES (1033447817, 14, '2010-11-21 08:05:16.082052', '2010-11-21 08:05:16.082052')
|
230
|
-
Redirected to http://www.example.com/
|
231
|
-
Completed 302 Found in 18ms
|
232
|
-
|
233
|
-
|
234
|
-
Started GET "/" for 127.0.0.1 at 2010-11-21 00:05:16 -0800
|
235
|
-
Processing by AccountsController#index as HTML
|
236
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447817) LIMIT 1[0m
|
237
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
238
|
-
[1m[36mFigment Load (0.4ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447817)[0m
|
239
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447817) LIMIT 1
|
240
|
-
Rendered accounts/index.html.erb within layouts/application (11.7ms)
|
241
|
-
Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 1.5ms)
|
242
|
-
[1m[36mFigment Load (0.2ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447817)[0m
|
243
|
-
[1m[35mSQL (0.1ms)[0m select count(*) as c from figments
|
244
|
-
[1m[36mSQL (0.1ms)[0m [1mselect count(*) as c from figments[0m
|
245
|
-
|
246
|
-
|
247
|
-
Started GET "/accounts" for 127.0.0.1 at 2010-11-21 00:05:16 -0800
|
248
|
-
Processing by AccountsController#index as HTML
|
249
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
250
|
-
Rendered accounts/index.html.erb within layouts/application (2.0ms)
|
251
|
-
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.7ms)
|
252
|
-
|
253
|
-
|
254
|
-
Started POST "/accounts" for 127.0.0.1 at 2010-11-21 00:05:16 -0800
|
255
|
-
Processing by AccountsController#create as HTML
|
256
|
-
Parameters: {"acct"=>{"name"=>"bob", "shard"=>"1"}}
|
257
|
-
[1m[36mAREL (0.1ms)[0m [1mINSERT INTO "accounts" ("name", "shard", "created_at", "updated_at") VALUES ('bob', '1', '2010-11-21 08:05:16.121941', '2010-11-21 08:05:16.121941')[0m
|
258
|
-
Redirected to http://www.example.com/
|
259
|
-
Completed 302 Found in 2ms
|
260
|
-
|
261
|
-
|
262
|
-
Started GET "/" for 127.0.0.1 at 2010-11-21 00:05:16 -0800
|
263
|
-
Processing by AccountsController#index as HTML
|
264
|
-
[1m[35mAccount Load (0.3ms)[0m SELECT "accounts".* FROM "accounts"
|
265
|
-
Rendered accounts/index.html.erb within layouts/application (2.3ms)
|
266
|
-
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.4ms)
|
267
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."name" = 'bob') LIMIT 1[0m
|
268
|
-
|
269
|
-
|
270
|
-
Started GET "/accounts/1033447818/choose" for 127.0.0.1 at 2010-11-21 00:05:16 -0800
|
271
|
-
Processing by AccountsController#choose as HTML
|
272
|
-
Parameters: {"id"=>"1033447818"}
|
273
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447818) LIMIT 1
|
274
|
-
Redirected to http://www.example.com/
|
275
|
-
Completed 302 Found in 1ms
|
276
|
-
|
277
|
-
|
278
|
-
Started GET "/" for 127.0.0.1 at 2010-11-21 00:05:16 -0800
|
279
|
-
Processing by AccountsController#index as HTML
|
280
|
-
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447818) LIMIT 1[0m
|
281
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
282
|
-
[1m[36mFigment Load (0.4ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447818)[0m
|
283
|
-
Rendered accounts/index.html.erb within layouts/application (5.3ms)
|
284
|
-
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 1.0ms)
|
285
|
-
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "figments" WHERE ("figments".account_id = 1033447818)
|
286
|
-
|
287
|
-
|
288
|
-
Started POST "/figments" for 127.0.0.1 at 2010-11-21 00:05:16 -0800
|
289
|
-
Processing by FigmentsController#create as HTML
|
290
|
-
Parameters: {"figment"=>{"value"=>"66"}}
|
291
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447818) LIMIT 1[0m
|
292
|
-
[1m[35mAREL (0.4ms)[0m INSERT INTO "figments" ("account_id", "value", "created_at", "updated_at") VALUES (1033447818, 66, '2010-11-21 08:05:16.185743', '2010-11-21 08:05:16.185743')
|
293
|
-
Redirected to http://www.example.com/
|
294
|
-
Completed 302 Found in 6ms
|
295
|
-
|
296
|
-
|
297
|
-
Started GET "/" for 127.0.0.1 at 2010-11-21 00:05:16 -0800
|
298
|
-
Processing by AccountsController#index as HTML
|
299
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447818) LIMIT 1[0m
|
300
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
301
|
-
[1m[36mFigment Load (0.2ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447818)[0m
|
302
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447818) LIMIT 1
|
303
|
-
Rendered accounts/index.html.erb within layouts/application (4.3ms)
|
304
|
-
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 1.3ms)
|
305
|
-
[1m[36mFigment Load (0.2ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447818)[0m
|
306
|
-
[1m[35mSQL (0.1ms)[0m select count(*) as c from figments
|
307
|
-
[1m[36mSQL (0.1ms)[0m [1mselect count(*) as c from figments[0m
|
308
|
-
Processing by AccountsController#index as HTML
|
309
|
-
[1m[36mAccount Load (0.3ms)[0m [1mSELECT "accounts".* FROM "accounts"[0m
|
310
|
-
Rendered accounts/index.html.erb within layouts/application (8.2ms)
|
311
|
-
Completed 200 OK in 47ms (Views: 11.3ms | ActiveRecord: 1.1ms)
|
312
|
-
[1m[36mSQL (1.8ms)[0m [1mdelete from figments[0m
|
313
|
-
[1m[35mSQL (2.3ms)[0m delete from figments
|
314
|
-
[1m[36mSQL (0.2ms)[0m [1mselect count(*) as c from figments[0m
|
315
|
-
[1m[35mSQL (0.1ms)[0m select count(*) as c from figments
|
316
|
-
|
317
|
-
|
318
|
-
Started GET "/accounts" for 127.0.0.1 at 2010-11-21 00:05:57 -0800
|
319
|
-
Processing by AccountsController#index as HTML
|
320
|
-
[1m[36mAccount Load (0.3ms)[0m [1mSELECT "accounts".* FROM "accounts"[0m
|
321
|
-
Rendered accounts/index.html.erb within layouts/application (8.4ms)
|
322
|
-
Completed 200 OK in 50ms (Views: 11.5ms | ActiveRecord: 5.5ms)
|
323
|
-
|
324
|
-
|
325
|
-
Started POST "/accounts" for 127.0.0.1 at 2010-11-21 00:05:57 -0800
|
326
|
-
Processing by AccountsController#create as HTML
|
327
|
-
Parameters: {"acct"=>{"name"=>"mike", "shard"=>"0"}}
|
328
|
-
[1m[35mSQL (0.2ms)[0m SELECT name
|
329
|
-
FROM sqlite_master
|
330
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
331
|
-
[1m[36mAREL (0.3ms)[0m [1mINSERT INTO "accounts" ("name", "shard", "created_at", "updated_at") VALUES ('mike', '0', '2010-11-21 08:05:57.740177', '2010-11-21 08:05:57.740177')[0m
|
332
|
-
Redirected to http://www.example.com/
|
333
|
-
Completed 302 Found in 10ms
|
334
|
-
|
335
|
-
|
336
|
-
Started GET "/" for 127.0.0.1 at 2010-11-21 00:05:57 -0800
|
337
|
-
Processing by AccountsController#index as HTML
|
338
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
339
|
-
Rendered accounts/index.html.erb within layouts/application (2.0ms)
|
340
|
-
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.8ms)
|
341
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."name" = 'mike') LIMIT 1[0m
|
342
|
-
|
343
|
-
|
344
|
-
Started GET "/accounts/1033447817/choose" for 127.0.0.1 at 2010-11-21 00:05:57 -0800
|
345
|
-
Processing by AccountsController#choose as HTML
|
346
|
-
Parameters: {"id"=>"1033447817"}
|
347
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447817) LIMIT 1
|
348
|
-
Redirected to http://www.example.com/
|
349
|
-
Completed 302 Found in 1ms
|
350
|
-
|
351
|
-
|
352
|
-
Started GET "/" for 127.0.0.1 at 2010-11-21 00:05:57 -0800
|
353
|
-
Processing by AccountsController#index as HTML
|
354
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447817) LIMIT 1[0m
|
355
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
356
|
-
[1m[36mFigment Load (0.4ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447817)[0m
|
357
|
-
Rendered accounts/index.html.erb within layouts/application (44.2ms)
|
358
|
-
Completed 200 OK in 46ms (Views: 44.5ms | ActiveRecord: 1.1ms)
|
359
|
-
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "figments" WHERE ("figments".account_id = 1033447817)
|
360
|
-
|
361
|
-
|
362
|
-
Started POST "/figments" for 127.0.0.1 at 2010-11-21 00:05:57 -0800
|
363
|
-
Processing by FigmentsController#create as HTML
|
364
|
-
Parameters: {"figment"=>{"value"=>"14"}}
|
365
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447817) LIMIT 1[0m
|
366
|
-
[1m[35mAREL (0.4ms)[0m INSERT INTO "figments" ("account_id", "value", "created_at", "updated_at") VALUES (1033447817, 14, '2010-11-21 08:05:57.830392', '2010-11-21 08:05:57.830392')
|
367
|
-
Redirected to http://www.example.com/
|
368
|
-
Completed 302 Found in 17ms
|
369
|
-
|
370
|
-
|
371
|
-
Started GET "/" for 127.0.0.1 at 2010-11-21 00:05:57 -0800
|
372
|
-
Processing by AccountsController#index as HTML
|
373
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447817) LIMIT 1[0m
|
374
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
375
|
-
[1m[36mFigment Load (0.2ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447817)[0m
|
376
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447817) LIMIT 1
|
377
|
-
Rendered accounts/index.html.erb within layouts/application (8.6ms)
|
378
|
-
Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 1.4ms)
|
379
|
-
[1m[36mFigment Load (0.2ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447817)[0m
|
380
|
-
[1m[35mSQL (0.1ms)[0m select count(*) as c from figments
|
381
|
-
[1m[36mSQL (0.1ms)[0m [1mselect count(*) as c from figments[0m
|
382
|
-
|
383
|
-
|
384
|
-
Started GET "/accounts" for 127.0.0.1 at 2010-11-21 00:05:57 -0800
|
385
|
-
Processing by AccountsController#index as HTML
|
386
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
387
|
-
Rendered accounts/index.html.erb within layouts/application (2.1ms)
|
388
|
-
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.7ms)
|
389
|
-
|
390
|
-
|
391
|
-
Started POST "/accounts" for 127.0.0.1 at 2010-11-21 00:05:57 -0800
|
392
|
-
Processing by AccountsController#create as HTML
|
393
|
-
Parameters: {"acct"=>{"name"=>"bob", "shard"=>"1"}}
|
394
|
-
[1m[36mAREL (0.1ms)[0m [1mINSERT INTO "accounts" ("name", "shard", "created_at", "updated_at") VALUES ('bob', '1', '2010-11-21 08:05:57.864872', '2010-11-21 08:05:57.864872')[0m
|
395
|
-
Redirected to http://www.example.com/
|
396
|
-
Completed 302 Found in 2ms
|
397
|
-
|
398
|
-
|
399
|
-
Started GET "/" for 127.0.0.1 at 2010-11-21 00:05:57 -0800
|
400
|
-
Processing by AccountsController#index as HTML
|
401
|
-
[1m[35mAccount Load (0.3ms)[0m SELECT "accounts".* FROM "accounts"
|
402
|
-
Rendered accounts/index.html.erb within layouts/application (2.3ms)
|
403
|
-
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.4ms)
|
404
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."name" = 'bob') LIMIT 1[0m
|
405
|
-
|
406
|
-
|
407
|
-
Started GET "/accounts/1033447818/choose" for 127.0.0.1 at 2010-11-21 00:05:57 -0800
|
408
|
-
Processing by AccountsController#choose as HTML
|
409
|
-
Parameters: {"id"=>"1033447818"}
|
410
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447818) LIMIT 1
|
411
|
-
Redirected to http://www.example.com/
|
412
|
-
Completed 302 Found in 1ms
|
413
|
-
|
414
|
-
|
415
|
-
Started GET "/" for 127.0.0.1 at 2010-11-21 00:05:57 -0800
|
416
|
-
Processing by AccountsController#index as HTML
|
417
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447818) LIMIT 1[0m
|
418
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
419
|
-
[1m[36mFigment Load (0.4ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447818)[0m
|
420
|
-
Rendered accounts/index.html.erb within layouts/application (5.4ms)
|
421
|
-
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 1.0ms)
|
422
|
-
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "figments" WHERE ("figments".account_id = 1033447818)
|
423
|
-
|
424
|
-
|
425
|
-
Started POST "/figments" for 127.0.0.1 at 2010-11-21 00:05:57 -0800
|
426
|
-
Processing by FigmentsController#create as HTML
|
427
|
-
Parameters: {"figment"=>{"value"=>"66"}}
|
428
|
-
[1m[36mAccount Load (0.1ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447818) LIMIT 1[0m
|
429
|
-
[1m[35mAREL (0.3ms)[0m INSERT INTO "figments" ("account_id", "value", "created_at", "updated_at") VALUES (1033447818, 66, '2010-11-21 08:05:57.891632', '2010-11-21 08:05:57.891632')
|
430
|
-
Redirected to http://www.example.com/
|
431
|
-
Completed 302 Found in 5ms
|
432
|
-
|
433
|
-
|
434
|
-
Started GET "/" for 127.0.0.1 at 2010-11-21 00:05:57 -0800
|
435
|
-
Processing by AccountsController#index as HTML
|
436
|
-
[1m[36mAccount Load (0.2ms)[0m [1mSELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447818) LIMIT 1[0m
|
437
|
-
[1m[35mAccount Load (0.2ms)[0m SELECT "accounts".* FROM "accounts"
|
438
|
-
[1m[36mFigment Load (0.2ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447818)[0m
|
439
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "accounts".* FROM "accounts" WHERE ("accounts"."id" = 1033447818) LIMIT 1
|
440
|
-
Rendered accounts/index.html.erb within layouts/application (4.2ms)
|
441
|
-
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 1.3ms)
|
442
|
-
[1m[36mFigment Load (0.2ms)[0m [1mSELECT "figments".* FROM "figments" WHERE ("figments".account_id = 1033447818)[0m
|
443
|
-
[1m[35mSQL (0.1ms)[0m select count(*) as c from figments
|
444
|
-
[1m[36mSQL (0.1ms)[0m [1mselect count(*) as c from figments[0m
|