trust 0.5.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,31 @@
1
+ <%
2
+ # Copyright (c) 2012 Bingo Entreprenøren AS
3
+ # Copyright (c) 2012 Teknobingo Scandinavia AS
4
+ # Copyright (c) 2012 Knut I. Stenmark
5
+ # Copyright (c) 2012 Patrick Hanevold
6
+ #
7
+ # Permission is hereby granted, free of charge, to any person obtaining
8
+ # a copy of this software and associated documentation files (the
9
+ # "Software"), to deal in the Software without restriction, including
10
+ # without limitation the rights to use, copy, modify, merge, publish,
11
+ # distribute, sublicense, and/or sell copies of the Software, and to
12
+ # permit persons to whom the Software is furnished to do so, subject to
13
+ # the following conditions:
14
+ #
15
+ # The above copyright notice and this permission notice shall be
16
+ # included in all copies or substantial portions of the Software.
17
+ #
18
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
+ %>
26
+ <h1>Editing account</h1>
27
+
28
+ <%= render 'form' %>
29
+
30
+ <%= link_to 'Show', mongo_client_mongo_account_path(@mongo_account) %> |
31
+ <%= link_to 'Back', mongo_client_mongo_accounts_path(@mongo_client) %>
@@ -0,0 +1,48 @@
1
+ <%
2
+ # Copyright (c) 2012 Bingo Entreprenøren AS
3
+ # Copyright (c) 2012 Teknobingo Scandinavia AS
4
+ # Copyright (c) 2012 Knut I. Stenmark
5
+ # Copyright (c) 2012 Patrick Hanevold
6
+ #
7
+ # Permission is hereby granted, free of charge, to any person obtaining
8
+ # a copy of this software and associated documentation files (the
9
+ # "Software"), to deal in the Software without restriction, including
10
+ # without limitation the rights to use, copy, modify, merge, publish,
11
+ # distribute, sublicense, and/or sell copies of the Software, and to
12
+ # permit persons to whom the Software is furnished to do so, subject to
13
+ # the following conditions:
14
+ #
15
+ # The above copyright notice and this permission notice shall be
16
+ # included in all copies or substantial portions of the Software.
17
+ #
18
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
+ %>
26
+ <h1>Listing accounts</h1>
27
+
28
+ <table>
29
+ <tr>
30
+ <th>Name</th>
31
+ <th></th>
32
+ <th></th>
33
+ <th></th>
34
+ </tr>
35
+
36
+ <% @mongo_accounts.each do |account| %>
37
+ <tr>
38
+ <td><%= account.name %></td>
39
+ <td><%= link_to 'Show', mongo_client_mongo_account_path(account.mongo_client,account) %></td>
40
+ <td><%= link_to 'Edit', edit_mongo_client_mongo_account_path(account.mongo_client,account) %></td>
41
+ <td><%= link_to 'Destroy', mongo_client_mongo_account_path(account.mongo_client,account), confirm: 'Are you sure?', method: :delete %></td>
42
+ </tr>
43
+ <% end %>
44
+ </table>
45
+
46
+ <br />
47
+
48
+ <%= link_to 'New Account', new_mongo_client_mongo_account_path(@mongo_client) %>
@@ -0,0 +1,30 @@
1
+ <%
2
+ # Copyright (c) 2012 Bingo Entreprenøren AS
3
+ # Copyright (c) 2012 Teknobingo Scandinavia AS
4
+ # Copyright (c) 2012 Knut I. Stenmark
5
+ # Copyright (c) 2012 Patrick Hanevold
6
+ #
7
+ # Permission is hereby granted, free of charge, to any person obtaining
8
+ # a copy of this software and associated documentation files (the
9
+ # "Software"), to deal in the Software without restriction, including
10
+ # without limitation the rights to use, copy, modify, merge, publish,
11
+ # distribute, sublicense, and/or sell copies of the Software, and to
12
+ # permit persons to whom the Software is furnished to do so, subject to
13
+ # the following conditions:
14
+ #
15
+ # The above copyright notice and this permission notice shall be
16
+ # included in all copies or substantial portions of the Software.
17
+ #
18
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
+ %>
26
+ <h1>New account</h1>
27
+
28
+ <%= render 'form' %>
29
+
30
+ <%= link_to 'Back', mongo_client_mongo_accounts_path(@mongo_client) %>
@@ -0,0 +1,35 @@
1
+ <%
2
+ # Copyright (c) 2012 Bingo Entreprenøren AS
3
+ # Copyright (c) 2012 Teknobingo Scandinavia AS
4
+ # Copyright (c) 2012 Knut I. Stenmark
5
+ # Copyright (c) 2012 Patrick Hanevold
6
+ #
7
+ # Permission is hereby granted, free of charge, to any person obtaining
8
+ # a copy of this software and associated documentation files (the
9
+ # "Software"), to deal in the Software without restriction, including
10
+ # without limitation the rights to use, copy, modify, merge, publish,
11
+ # distribute, sublicense, and/or sell copies of the Software, and to
12
+ # permit persons to whom the Software is furnished to do so, subject to
13
+ # the following conditions:
14
+ #
15
+ # The above copyright notice and this permission notice shall be
16
+ # included in all copies or substantial portions of the Software.
17
+ #
18
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
+ %>
26
+ <p id="notice"><%= notice %></p>
27
+
28
+ <p>
29
+ <b>Name:</b>
30
+ <%= @mongo_account.name %>
31
+ </p>
32
+
33
+
34
+ <%= link_to 'Edit', edit_mongo_client_mongo_account_path(@mongo_account) %> |
35
+ <%= link_to 'Back', mongo_client_mongo_accounts_path(@mongo_client) %>
@@ -0,0 +1,46 @@
1
+ <%
2
+ # Copyright (c) 2012 Bingo Entreprenøren AS
3
+ # Copyright (c) 2012 Teknobingo Scandinavia AS
4
+ # Copyright (c) 2012 Knut I. Stenmark
5
+ # Copyright (c) 2012 Patrick Hanevold
6
+ #
7
+ # Permission is hereby granted, free of charge, to any person obtaining
8
+ # a copy of this software and associated documentation files (the
9
+ # "Software"), to deal in the Software without restriction, including
10
+ # without limitation the rights to use, copy, modify, merge, publish,
11
+ # distribute, sublicense, and/or sell copies of the Software, and to
12
+ # permit persons to whom the Software is furnished to do so, subject to
13
+ # the following conditions:
14
+ #
15
+ # The above copyright notice and this permission notice shall be
16
+ # included in all copies or substantial portions of the Software.
17
+ #
18
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
+ %>
26
+ <%= form_for(@mongo_client) do |f| %>
27
+ <% if @mongo_client.errors.any? %>
28
+ <div id="error_explanation">
29
+ <h2><%= pluralize(@mongo_client.errors.count, "error") %> prohibited this client from being saved:</h2>
30
+
31
+ <ul>
32
+ <% @mongo_client.errors.full_messages.each do |msg| %>
33
+ <li><%= msg %></li>
34
+ <% end %>
35
+ </ul>
36
+ </div>
37
+ <% end %>
38
+
39
+ <div class="field">
40
+ <%= f.label :name %><br />
41
+ <%= f.text_field :name %>
42
+ </div>
43
+ <div class="actions">
44
+ <%= f.submit %>
45
+ </div>
46
+ <% end %>
@@ -0,0 +1,31 @@
1
+ <%
2
+ # Copyright (c) 2012 Bingo Entreprenøren AS
3
+ # Copyright (c) 2012 Teknobingo Scandinavia AS
4
+ # Copyright (c) 2012 Knut I. Stenmark
5
+ # Copyright (c) 2012 Patrick Hanevold
6
+ #
7
+ # Permission is hereby granted, free of charge, to any person obtaining
8
+ # a copy of this software and associated documentation files (the
9
+ # "Software"), to deal in the Software without restriction, including
10
+ # without limitation the rights to use, copy, modify, merge, publish,
11
+ # distribute, sublicense, and/or sell copies of the Software, and to
12
+ # permit persons to whom the Software is furnished to do so, subject to
13
+ # the following conditions:
14
+ #
15
+ # The above copyright notice and this permission notice shall be
16
+ # included in all copies or substantial portions of the Software.
17
+ #
18
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
+ %>
26
+ <h1>Editing client</h1>
27
+
28
+ <%= render 'form' %>
29
+
30
+ <%= link_to 'Show', @mongo_client %> |
31
+ <%= link_to 'Back', mongo_clients_path %>
@@ -0,0 +1,48 @@
1
+ <%
2
+ # Copyright (c) 2012 Bingo Entreprenøren AS
3
+ # Copyright (c) 2012 Teknobingo Scandinavia AS
4
+ # Copyright (c) 2012 Knut I. Stenmark
5
+ # Copyright (c) 2012 Patrick Hanevold
6
+ #
7
+ # Permission is hereby granted, free of charge, to any person obtaining
8
+ # a copy of this software and associated documentation files (the
9
+ # "Software"), to deal in the Software without restriction, including
10
+ # without limitation the rights to use, copy, modify, merge, publish,
11
+ # distribute, sublicense, and/or sell copies of the Software, and to
12
+ # permit persons to whom the Software is furnished to do so, subject to
13
+ # the following conditions:
14
+ #
15
+ # The above copyright notice and this permission notice shall be
16
+ # included in all copies or substantial portions of the Software.
17
+ #
18
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
+ %>
26
+ <h1>Listing clients</h1>
27
+
28
+ <table>
29
+ <tr>
30
+ <th>Name</th>
31
+ <th></th>
32
+ <th></th>
33
+ <th></th>
34
+ </tr>
35
+
36
+ <% @mongo_clients.each do |client| %>
37
+ <tr>
38
+ <td><%= client.name %></td>
39
+ <td><%= link_to 'Show', client %></td>
40
+ <td><%= link_to 'Edit', edit_mongo_client_path(client) %></td>
41
+ <td><%= link_to 'Destroy', client, confirm: 'Are you sure?', method: :delete %></td>
42
+ </tr>
43
+ <% end %>
44
+ </table>
45
+
46
+ <br />
47
+
48
+ <%= link_to 'New Client', new_mongo_client_path %>
@@ -0,0 +1,30 @@
1
+ <%
2
+ # Copyright (c) 2012 Bingo Entreprenøren AS
3
+ # Copyright (c) 2012 Teknobingo Scandinavia AS
4
+ # Copyright (c) 2012 Knut I. Stenmark
5
+ # Copyright (c) 2012 Patrick Hanevold
6
+ #
7
+ # Permission is hereby granted, free of charge, to any person obtaining
8
+ # a copy of this software and associated documentation files (the
9
+ # "Software"), to deal in the Software without restriction, including
10
+ # without limitation the rights to use, copy, modify, merge, publish,
11
+ # distribute, sublicense, and/or sell copies of the Software, and to
12
+ # permit persons to whom the Software is furnished to do so, subject to
13
+ # the following conditions:
14
+ #
15
+ # The above copyright notice and this permission notice shall be
16
+ # included in all copies or substantial portions of the Software.
17
+ #
18
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
+ %>
26
+ <h1>New client</h1>
27
+
28
+ <%= render 'form' %>
29
+
30
+ <%= link_to 'Back', mongo_clients_path %>
@@ -0,0 +1,35 @@
1
+ <%
2
+ # Copyright (c) 2012 Bingo Entreprenøren AS
3
+ # Copyright (c) 2012 Teknobingo Scandinavia AS
4
+ # Copyright (c) 2012 Knut I. Stenmark
5
+ # Copyright (c) 2012 Patrick Hanevold
6
+ #
7
+ # Permission is hereby granted, free of charge, to any person obtaining
8
+ # a copy of this software and associated documentation files (the
9
+ # "Software"), to deal in the Software without restriction, including
10
+ # without limitation the rights to use, copy, modify, merge, publish,
11
+ # distribute, sublicense, and/or sell copies of the Software, and to
12
+ # permit persons to whom the Software is furnished to do so, subject to
13
+ # the following conditions:
14
+ #
15
+ # The above copyright notice and this permission notice shall be
16
+ # included in all copies or substantial portions of the Software.
17
+ #
18
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
+ %>
26
+ <p id="notice"><%= notice %></p>
27
+
28
+ <p>
29
+ <b>Name:</b>
30
+ <%= @mongo_client.name %>
31
+ </p>
32
+
33
+
34
+ <%= link_to 'Edit', edit_mongo_client_path(@mongo_client) %> |
35
+ <%= link_to 'Back', mongo_clients_path %>
@@ -0,0 +1,20 @@
1
+ development:
2
+ host: localhost
3
+ database: dummy_development
4
+
5
+ test:
6
+ host: localhost
7
+ database: dummy_test
8
+
9
+ # set these environment variables on your prod server
10
+ production:
11
+ host: <%= ENV['MONGOID_HOST'] %>
12
+ port: <%= ENV['MONGOID_PORT'] %>
13
+ username: <%= ENV['MONGOID_USERNAME'] %>
14
+ password: <%= ENV['MONGOID_PASSWORD'] %>
15
+ database: <%= ENV['MONGOID_DATABASE'] %>
16
+ # slaves:
17
+ # - host: slave1.local
18
+ # port: 27018
19
+ # - host: slave2.local
20
+ # port: 27019
@@ -24,6 +24,7 @@
24
24
 
25
25
  Dummy::Application.routes.draw do
26
26
  resources :clients
27
+ resources :mongo_clients
27
28
 
28
29
  resources :users
29
30
 
@@ -35,4 +36,8 @@ Dummy::Application.routes.draw do
35
36
  end
36
37
  end
37
38
 
39
+ resources :mongo_client do
40
+ resources :mongo_accounts
41
+ end
42
+
38
43
  end
@@ -2034,3 +2034,802 @@ Processing by UsersController#update as HTML
2034
2034
  Redirected to http://test.host/users/1
2035
2035
  Completed 302 Found in 6ms (ActiveRecord: 0.2ms)
2036
2036
   (1.0ms) rollback transaction
2037
+ accounts belongs_to [:client]
2038
+  (0.5ms) begin transaction
2039
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2040
+  (0.1ms) SAVEPOINT active_record_1
2041
+ SQL (23.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2042
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2043
+  (0.1ms) SAVEPOINT active_record_1
2044
+ SQL (1.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2046
+  (0.1ms) SAVEPOINT active_record_1
2047
+ SQL (1.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2048
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2049
+  (0.1ms) SELECT COUNT(*) FROM "accounts"
2050
+ Processing by AccountsController#create as HTML
2051
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1"}
2052
+ Client Load (0.3ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2053
+  (0.1ms) SAVEPOINT active_record_1
2054
+ SQL (0.4ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2056
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1
2057
+ Redirected to http://test.host/client/1/accounts/2
2058
+ Completed 302 Found in 113ms (ActiveRecord: 0.9ms)
2059
+  (0.1ms) SELECT COUNT(*) FROM "accounts"
2060
+  (1.1ms) rollback transaction
2061
+  (0.1ms) begin transaction
2062
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2063
+  (0.1ms) SAVEPOINT active_record_1
2064
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2065
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2066
+  (0.0ms) SAVEPOINT active_record_1
2067
+ SQL (0.6ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2069
+  (0.1ms) SAVEPOINT active_record_1
2070
+ SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2071
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2072
+  (0.1ms) SELECT COUNT(*) FROM "accounts" 
2073
+ Processing by AccountsController#destroy as HTML
2074
+ Parameters: {"client_id"=>"1", "id"=>"1"}
2075
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2076
+ Account Load (0.2ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
2077
+  (0.1ms) SAVEPOINT active_record_1
2078
+ SQL (0.2ms) DELETE FROM "accounts" WHERE "accounts"."id" = ? [["id", 1]]
2079
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2080
+ Redirected to http://test.host/client/1/accounts
2081
+ Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
2082
+  (0.1ms) SELECT COUNT(*) FROM "accounts" 
2083
+  (1.0ms) rollback transaction
2084
+  (0.1ms) begin transaction
2085
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2086
+  (0.1ms) SAVEPOINT active_record_1
2087
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2088
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2089
+  (0.1ms) SAVEPOINT active_record_1
2090
+ SQL (0.7ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2091
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2092
+  (0.0ms) SAVEPOINT active_record_1
2093
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2095
+ Processing by AccountsController#edit as HTML
2096
+ Parameters: {"client_id"=>"1", "id"=>"1"}
2097
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2098
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
2099
+ Rendered accounts/_form.html.erb (28.8ms)
2100
+ Completed 200 OK in 99ms (Views: 94.9ms | ActiveRecord: 0.2ms)
2101
+  (1.1ms) rollback transaction
2102
+  (0.1ms) begin transaction
2103
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2104
+  (0.0ms) SAVEPOINT active_record_1
2105
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2106
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2107
+  (0.0ms) SAVEPOINT active_record_1
2108
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2109
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2110
+  (0.0ms) SAVEPOINT active_record_1
2111
+ SQL (0.5ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2112
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2113
+ Processing by AccountsController#index as HTML
2114
+ Parameters: {"client_id"=>"1"}
2115
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2116
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1
2117
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1
2118
+ Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 0.4ms)
2119
+  (1.0ms) rollback transaction
2120
+  (0.1ms) begin transaction
2121
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2122
+  (0.1ms) SAVEPOINT active_record_1
2123
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2124
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2125
+  (0.1ms) SAVEPOINT active_record_1
2126
+ SQL (0.8ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2127
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2128
+  (0.0ms) SAVEPOINT active_record_1
2129
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2130
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2131
+ Processing by AccountsController#new as HTML
2132
+ Parameters: {"client_id"=>"1"}
2133
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2134
+ Rendered accounts/_form.html.erb (2.8ms)
2135
+ Completed 200 OK in 12ms (Views: 7.8ms | ActiveRecord: 0.1ms)
2136
+  (1.0ms) rollback transaction
2137
+  (0.1ms) begin transaction
2138
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2139
+  (0.0ms) SAVEPOINT active_record_1
2140
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2142
+  (0.0ms) SAVEPOINT active_record_1
2143
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2145
+  (0.0ms) SAVEPOINT active_record_1
2146
+ SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2147
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2148
+ Processing by AccountsController#show as HTML
2149
+ Parameters: {"client_id"=>"1", "id"=>"1"}
2150
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2151
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
2152
+ Completed 200 OK in 10ms (Views: 4.6ms | ActiveRecord: 0.2ms)
2153
+  (0.8ms) rollback transaction
2154
+  (0.1ms) begin transaction
2155
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2156
+  (0.1ms) SAVEPOINT active_record_1
2157
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2158
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2159
+  (0.0ms) SAVEPOINT active_record_1
2160
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2161
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2162
+  (0.0ms) SAVEPOINT active_record_1
2163
+ SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2164
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2165
+ Processing by AccountsController#update as HTML
2166
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"}
2167
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2168
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
2169
+  (0.1ms) SAVEPOINT active_record_1
2170
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2171
+ Redirected to http://test.host/client/1/accounts/1
2172
+ Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
2173
+  (1.0ms) rollback transaction
2174
+  (0.1ms) begin transaction
2175
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
2176
+  (0.1ms) SAVEPOINT active_record_1
2177
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2178
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2179
+  (0.1ms) SAVEPOINT active_record_1
2180
+ SQL (0.6ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2181
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2182
+  (0.0ms) SAVEPOINT active_record_1
2183
+ SQL (0.4ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2184
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2185
+ Processing by AccountsController#update as HTML
2186
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"}
2187
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2188
+ Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
2189
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2190
+  (0.1ms) SAVEPOINT active_record_1
2191
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2192
+ Redirected to http://test.host/client/1/accounts/1
2193
+ Completed 302 Found in 9ms (ActiveRecord: 0.5ms)
2194
+  (2.5ms) rollback transaction
2195
+  (0.1ms) begin transaction
2196
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
2197
+  (0.1ms) SAVEPOINT active_record_1
2198
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2199
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2200
+  (0.1ms) SAVEPOINT active_record_1
2201
+ SQL (0.6ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2202
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2203
+  (0.0ms) SAVEPOINT active_record_1
2204
+ SQL (1.5ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2206
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
2207
+  (0.1ms) SAVEPOINT active_record_1
2208
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2209
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2210
+ Processing by AccountsController#update as HTML
2211
+ Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"}
2212
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2213
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
2214
+ Completed 500 Internal Server Error in 3ms
2215
+  (1.0ms) rollback transaction
2216
+  (0.1ms) begin transaction
2217
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
2218
+  (0.1ms) SAVEPOINT active_record_1
2219
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2220
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2221
+  (0.0ms) SAVEPOINT active_record_1
2222
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2224
+  (0.0ms) SAVEPOINT active_record_1
2225
+ SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2226
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2227
+ Processing by AccountsController#destroy as HTML
2228
+ Parameters: {"client_id"=>"1", "id"=>"1"}
2229
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2230
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
2231
+ Completed 500 Internal Server Error in 3ms
2232
+  (1.0ms) rollback transaction
2233
+  (0.1ms) begin transaction
2234
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
2235
+  (0.1ms) SAVEPOINT active_record_1
2236
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2237
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2238
+  (0.0ms) SAVEPOINT active_record_1
2239
+ SQL (0.7ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2240
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2241
+  (0.0ms) SAVEPOINT active_record_1
2242
+ SQL (0.4ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2244
+ Processing by AccountsController#index as HTML
2245
+ Parameters: {"client_id"=>"1"}
2246
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2247
+ Completed 500 Internal Server Error in 3ms
2248
+  (0.9ms) rollback transaction
2249
+  (0.1ms) begin transaction
2250
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
2251
+  (0.1ms) SAVEPOINT active_record_1
2252
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2253
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2254
+  (0.0ms) SAVEPOINT active_record_1
2255
+ SQL (0.8ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2256
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2257
+  (0.0ms) SAVEPOINT active_record_1
2258
+ SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2259
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2260
+ Processing by AccountsController#new as HTML
2261
+ Parameters: {"client_id"=>"1"}
2262
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2263
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2264
+ Completed 500 Internal Server Error in 4ms
2265
+  (1.0ms) rollback transaction
2266
+  (0.1ms) begin transaction
2267
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
2268
+  (0.1ms) SAVEPOINT active_record_1
2269
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2270
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2271
+  (0.1ms) SAVEPOINT active_record_1
2272
+ SQL (0.7ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2273
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2274
+  (0.0ms) SAVEPOINT active_record_1
2275
+ SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2277
+ Processing by AccountsController#show as HTML
2278
+ Parameters: {"client_id"=>"1", "id"=>"1"}
2279
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2280
+ Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]
2281
+ Completed 500 Internal Server Error in 3ms
2282
+  (1.0ms) rollback transaction
2283
+  (0.1ms) begin transaction
2284
+  (0.0ms) SAVEPOINT active_record_1
2285
+ SQL (0.7ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2286
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2287
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2288
+  (0.1ms) SAVEPOINT active_record_1
2289
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2290
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2291
+  (0.1ms) SELECT COUNT(*) FROM "clients" 
2292
+ Processing by ClientsController#create as HTML
2293
+ Parameters: {"client"=>{"name"=>nil}}
2294
+  (0.1ms) SAVEPOINT active_record_1
2295
+ SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2296
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2297
+ Redirected to http://test.host/clients/2
2298
+ Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
2299
+  (0.1ms) SELECT COUNT(*) FROM "clients" 
2300
+  (1.0ms) rollback transaction
2301
+  (0.1ms) begin transaction
2302
+  (0.1ms) SAVEPOINT active_record_1
2303
+ SQL (0.6ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2304
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2305
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2306
+  (0.0ms) SAVEPOINT active_record_1
2307
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2308
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2309
+  (0.1ms) SELECT COUNT(*) FROM "clients" 
2310
+ Processing by ClientsController#destroy as HTML
2311
+ Parameters: {"id"=>"1"}
2312
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2313
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2314
+  (0.1ms) SAVEPOINT active_record_1
2315
+ SQL (0.2ms) DELETE FROM "clients" WHERE "clients"."id" = ? [["id", 1]]
2316
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2317
+ Redirected to http://test.host/clients
2318
+ Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
2319
+  (0.1ms) SELECT COUNT(*) FROM "clients" 
2320
+  (1.0ms) rollback transaction
2321
+  (0.1ms) begin transaction
2322
+  (0.0ms) SAVEPOINT active_record_1
2323
+ SQL (0.6ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2324
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2325
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2326
+  (0.0ms) SAVEPOINT active_record_1
2327
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2329
+ Processing by ClientsController#edit as HTML
2330
+ Parameters: {"id"=>"1"}
2331
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2332
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2333
+ Rendered clients/_form.html.erb (4.2ms)
2334
+ Completed 200 OK in 14ms (Views: 10.9ms | ActiveRecord: 0.1ms)
2335
+  (1.0ms) rollback transaction
2336
+  (0.1ms) begin transaction
2337
+  (0.0ms) SAVEPOINT active_record_1
2338
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2340
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2341
+  (0.0ms) SAVEPOINT active_record_1
2342
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2343
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2344
+ Processing by ClientsController#index as HTML
2345
+ Client Load (0.2ms) SELECT "clients".* FROM "clients"
2346
+ Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.2ms)
2347
+  (0.8ms) rollback transaction
2348
+  (0.1ms) begin transaction
2349
+  (0.0ms) SAVEPOINT active_record_1
2350
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2352
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2353
+  (0.0ms) SAVEPOINT active_record_1
2354
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2355
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2356
+ Processing by ClientsController#new as HTML
2357
+ Rendered clients/_form.html.erb (2.0ms)
2358
+ Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms)
2359
+  (1.0ms) rollback transaction
2360
+  (0.1ms) begin transaction
2361
+  (0.0ms) SAVEPOINT active_record_1
2362
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2363
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2364
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2365
+  (0.0ms) SAVEPOINT active_record_1
2366
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2367
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2368
+ Processing by ClientsController#show as HTML
2369
+ Parameters: {"id"=>"1"}
2370
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2371
+ Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2372
+ Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.2ms)
2373
+  (0.8ms) rollback transaction
2374
+  (0.1ms) begin transaction
2375
+  (0.0ms) SAVEPOINT active_record_1
2376
+ SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2377
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2378
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2379
+  (0.0ms) SAVEPOINT active_record_1
2380
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2381
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2382
+ Processing by ClientsController#update as HTML
2383
+ Parameters: {"client"=>{"name"=>nil}, "id"=>"1"}
2384
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2385
+ Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]
2386
+  (0.1ms) SAVEPOINT active_record_1
2387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2388
+ Redirected to http://test.host/clients/1
2389
+ Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
2390
+  (1.0ms) rollback transaction
2391
+  (0.1ms) begin transaction
2392
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2393
+  (0.0ms) SAVEPOINT active_record_1
2394
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2395
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2396
+  (1.0ms) rollback transaction
2397
+  (0.1ms) begin transaction
2398
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
2399
+  (0.1ms) SAVEPOINT active_record_1
2400
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2401
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2402
+  (0.8ms) rollback transaction
2403
+  (0.1ms) begin transaction
2404
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
2405
+  (0.1ms) SAVEPOINT active_record_1
2406
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2407
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2408
+  (1.0ms) rollback transaction
2409
+  (0.1ms) begin transaction
2410
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1
2411
+  (0.1ms) SAVEPOINT active_record_1
2412
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2413
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2414
+  (0.9ms) rollback transaction
2415
+  (0.1ms) begin transaction
2416
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2417
+  (0.1ms) SAVEPOINT active_record_1
2418
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2419
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2420
+  (0.8ms) rollback transaction
2421
+  (0.1ms) begin transaction
2422
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
2423
+  (0.1ms) SAVEPOINT active_record_1
2424
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", :guest], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2425
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2426
+  (0.1ms) SAVEPOINT active_record_1
2427
+ SQL (0.6ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2428
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2429
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
2430
+  (0.0ms) SAVEPOINT active_record_1
2431
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2432
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2433
+  (1.0ms) rollback transaction
2434
+  (0.1ms) begin transaction
2435
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
2436
+  (0.0ms) SAVEPOINT active_record_1
2437
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2438
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2439
+  (0.1ms) SAVEPOINT active_record_1
2440
+ SQL (0.6ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2441
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2442
+  (1.0ms) rollback transaction
2443
+  (0.1ms) begin transaction
2444
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
2445
+  (0.1ms) SAVEPOINT active_record_1
2446
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2447
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2448
+  (1.1ms) rollback transaction
2449
+  (0.1ms) begin transaction
2450
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
2451
+  (0.1ms) SAVEPOINT active_record_1
2452
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2453
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2454
+  (0.8ms) rollback transaction
2455
+  (0.1ms) begin transaction
2456
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1
2457
+  (0.1ms) SAVEPOINT active_record_1
2458
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 07 Jun 2012 14:22:21 UTC +00:00]]
2459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2460
+  (1.0ms) rollback transaction
2461
+  (0.0ms) begin transaction
2462
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
2463
+  (0.0ms) SAVEPOINT active_record_1
2464
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", :guest], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2465
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2466
+  (1.0ms) rollback transaction
2467
+  (0.0ms) begin transaction
2468
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
2469
+  (0.0ms) SAVEPOINT active_record_1
2470
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2471
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2472
+  (1.3ms) rollback transaction
2473
+  (0.1ms) begin transaction
2474
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2475
+  (0.1ms) SAVEPOINT active_record_1
2476
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2477
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2478
+  (0.9ms) rollback transaction
2479
+  (0.1ms) begin transaction
2480
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
2481
+  (0.0ms) SAVEPOINT active_record_1
2482
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", :guest], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2483
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2484
+  (0.9ms) rollback transaction
2485
+  (0.1ms) begin transaction
2486
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2487
+  (0.0ms) SAVEPOINT active_record_1
2488
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2489
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2490
+  (0.7ms) rollback transaction
2491
+  (0.1ms) begin transaction
2492
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
2493
+  (0.0ms) SAVEPOINT active_record_1
2494
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", :guest], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2495
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2496
+  (0.7ms) rollback transaction
2497
+  (0.1ms) begin transaction
2498
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2499
+  (0.0ms) SAVEPOINT active_record_1
2500
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2502
+  (0.7ms) rollback transaction
2503
+  (0.1ms) begin transaction
2504
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1
2505
+  (0.0ms) SAVEPOINT active_record_1
2506
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2507
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2508
+  (0.6ms) rollback transaction
2509
+  (0.1ms) begin transaction
2510
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2511
+  (0.0ms) SAVEPOINT active_record_1
2512
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2513
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2514
+  (0.6ms) rollback transaction
2515
+  (0.1ms) begin transaction
2516
+  (0.1ms) rollback transaction
2517
+  (0.1ms) begin transaction
2518
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1
2519
+  (0.1ms) SAVEPOINT active_record_1
2520
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", :guest], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2521
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2522
+  (0.7ms) rollback transaction
2523
+  (0.1ms) begin transaction
2524
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1
2525
+  (0.1ms) SAVEPOINT active_record_1
2526
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2527
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2528
+  (0.7ms) rollback transaction
2529
+  (0.1ms) begin transaction
2530
+  (0.1ms) rollback transaction
2531
+  (0.0ms) begin transaction
2532
+  (0.1ms) rollback transaction
2533
+  (0.1ms) begin transaction
2534
+  (0.1ms) rollback transaction
2535
+  (0.0ms) begin transaction
2536
+  (0.1ms) rollback transaction
2537
+  (0.1ms) begin transaction
2538
+  (0.1ms) rollback transaction
2539
+  (0.0ms) begin transaction
2540
+  (0.0ms) rollback transaction
2541
+  (0.0ms) begin transaction
2542
+  (0.0ms) rollback transaction
2543
+  (0.0ms) begin transaction
2544
+  (0.1ms) rollback transaction
2545
+  (0.0ms) begin transaction
2546
+  (0.1ms) rollback transaction
2547
+  (0.0ms) begin transaction
2548
+  (0.1ms) rollback transaction
2549
+  (0.0ms) begin transaction
2550
+  (0.0ms) rollback transaction
2551
+  (0.0ms) begin transaction
2552
+  (0.1ms) rollback transaction
2553
+  (0.1ms) begin transaction
2554
+  (0.0ms) rollback transaction
2555
+  (0.0ms) begin transaction
2556
+  (0.0ms) rollback transaction
2557
+  (0.1ms) begin transaction
2558
+  (0.0ms) rollback transaction
2559
+  (0.0ms) begin transaction
2560
+  (0.0ms) rollback transaction
2561
+  (0.0ms) begin transaction
2562
+  (0.0ms) rollback transaction
2563
+  (0.0ms) begin transaction
2564
+  (0.0ms) rollback transaction
2565
+  (0.0ms) begin transaction
2566
+ controller belongs_to [:heaven, {:as=>:earth}]
2567
+  (0.0ms) rollback transaction
2568
+  (0.0ms) begin transaction
2569
+ controller belongs_to [:heaven, :hell]
2570
+ controller belongs_to [:earth]
2571
+  (0.0ms) rollback transaction
2572
+  (0.0ms) begin transaction
2573
+ controller belongs_to [:heaven]
2574
+  (0.0ms) rollback transaction
2575
+  (0.0ms) begin transaction
2576
+  (0.0ms) rollback transaction
2577
+  (0.0ms) begin transaction
2578
+  (0.1ms) rollback transaction
2579
+  (0.1ms) begin transaction
2580
+  (0.1ms) rollback transaction
2581
+  (0.0ms) begin transaction
2582
+  (0.1ms) rollback transaction
2583
+  (0.1ms) begin transaction
2584
+  (0.1ms) rollback transaction
2585
+  (0.0ms) begin transaction
2586
+  (0.1ms) rollback transaction
2587
+  (0.0ms) begin transaction
2588
+  (0.1ms) rollback transaction
2589
+  (0.1ms) begin transaction
2590
+  (0.1ms) rollback transaction
2591
+  (0.0ms) begin transaction
2592
+  (0.1ms) rollback transaction
2593
+  (0.0ms) begin transaction
2594
+  (0.1ms) rollback transaction
2595
+  (0.0ms) begin transaction
2596
+  (0.1ms) rollback transaction
2597
+  (0.1ms) begin transaction
2598
+  (0.1ms) rollback transaction
2599
+  (0.0ms) begin transaction
2600
+  (0.1ms) rollback transaction
2601
+  (0.1ms) begin transaction
2602
+  (0.1ms) rollback transaction
2603
+  (0.0ms) begin transaction
2604
+  (0.1ms) rollback transaction
2605
+  (0.0ms) begin transaction
2606
+  (0.1ms) rollback transaction
2607
+  (0.0ms) begin transaction
2608
+  (0.1ms) rollback transaction
2609
+  (0.0ms) begin transaction
2610
+  (0.1ms) rollback transaction
2611
+  (0.0ms) begin transaction
2612
+  (0.1ms) rollback transaction
2613
+  (0.0ms) begin transaction
2614
+  (0.1ms) rollback transaction
2615
+  (0.0ms) begin transaction
2616
+  (0.1ms) rollback transaction
2617
+  (0.0ms) begin transaction
2618
+  (0.1ms) rollback transaction
2619
+  (0.1ms) begin transaction
2620
+  (0.1ms) rollback transaction
2621
+  (0.0ms) begin transaction
2622
+  (0.1ms) rollback transaction
2623
+  (0.0ms) begin transaction
2624
+  (0.1ms) rollback transaction
2625
+  (0.0ms) begin transaction
2626
+  (0.1ms) rollback transaction
2627
+  (0.1ms) begin transaction
2628
+  (0.1ms) rollback transaction
2629
+  (0.1ms) begin transaction
2630
+  (0.1ms) rollback transaction
2631
+  (0.1ms) begin transaction
2632
+  (0.1ms) rollback transaction
2633
+  (0.0ms) begin transaction
2634
+  (0.1ms) rollback transaction
2635
+  (0.1ms) begin transaction
2636
+  (0.1ms) rollback transaction
2637
+  (0.0ms) begin transaction
2638
+ child belongs_to [:parent]
2639
+  (0.1ms) rollback transaction
2640
+  (0.0ms) begin transaction
2641
+ child belongs_to [:parent]
2642
+  (0.1ms) rollback transaction
2643
+  (0.0ms) begin transaction
2644
+ child belongs_to [:parent]
2645
+  (0.1ms) rollback transaction
2646
+  (0.1ms) begin transaction
2647
+ child belongs_to [:parent]
2648
+  (0.1ms) rollback transaction
2649
+  (0.0ms) begin transaction
2650
+ child belongs_to [:parent]
2651
+  (0.1ms) rollback transaction
2652
+  (0.1ms) begin transaction
2653
+  (0.1ms) rollback transaction
2654
+  (0.1ms) begin transaction
2655
+  (0.1ms) rollback transaction
2656
+  (0.1ms) begin transaction
2657
+  (0.1ms) rollback transaction
2658
+  (0.0ms) begin transaction
2659
+  (0.1ms) rollback transaction
2660
+  (0.0ms) begin transaction
2661
+  (0.1ms) rollback transaction
2662
+  (0.1ms) begin transaction
2663
+  (0.1ms) rollback transaction
2664
+  (0.0ms) begin transaction
2665
+  (0.1ms) rollback transaction
2666
+  (0.0ms) begin transaction
2667
+  (0.1ms) rollback transaction
2668
+  (0.0ms) begin transaction
2669
+  (0.0ms) rollback transaction
2670
+  (0.1ms) begin transaction
2671
+  (0.1ms) rollback transaction
2672
+  (0.1ms) begin transaction
2673
+  (0.1ms) rollback transaction
2674
+  (0.0ms) begin transaction
2675
+  (0.1ms) rollback transaction
2676
+  (0.0ms) begin transaction
2677
+  (0.1ms) rollback transaction
2678
+  (0.0ms) begin transaction
2679
+  (0.1ms) rollback transaction
2680
+  (0.1ms) begin transaction
2681
+  (0.1ms) rollback transaction
2682
+  (0.1ms) begin transaction
2683
+  (0.1ms) rollback transaction
2684
+  (0.1ms) begin transaction
2685
+  (0.1ms) rollback transaction
2686
+  (0.1ms) begin transaction
2687
+  (0.1ms) rollback transaction
2688
+  (0.1ms) begin transaction
2689
+  (0.1ms) rollback transaction
2690
+  (0.0ms) begin transaction
2691
+  (0.0ms) rollback transaction
2692
+  (0.0ms) begin transaction
2693
+  (0.0ms) rollback transaction
2694
+  (0.0ms) begin transaction
2695
+  (0.1ms) rollback transaction
2696
+  (0.0ms) begin transaction
2697
+  (0.1ms) rollback transaction
2698
+  (0.0ms) begin transaction
2699
+  (0.1ms) rollback transaction
2700
+  (0.0ms) begin transaction
2701
+  (0.0ms) rollback transaction
2702
+  (0.0ms) begin transaction
2703
+  (0.0ms) rollback transaction
2704
+  (0.0ms) begin transaction
2705
+  (0.1ms) rollback transaction
2706
+  (0.0ms) begin transaction
2707
+  (0.0ms) rollback transaction
2708
+  (0.0ms) begin transaction
2709
+  (0.0ms) rollback transaction
2710
+  (0.1ms) begin transaction
2711
+  (0.0ms) rollback transaction
2712
+  (0.0ms) begin transaction
2713
+  (0.1ms) rollback transaction
2714
+  (0.0ms) begin transaction
2715
+  (0.1ms) rollback transaction
2716
+  (0.1ms) begin transaction
2717
+  (0.1ms) rollback transaction
2718
+  (0.1ms) begin transaction
2719
+  (0.1ms) rollback transaction
2720
+  (0.1ms) begin transaction
2721
+  (0.1ms) rollback transaction
2722
+  (0.1ms) begin transaction
2723
+  (0.0ms) rollback transaction
2724
+  (0.1ms) begin transaction
2725
+  (0.1ms) rollback transaction
2726
+  (0.1ms) begin transaction
2727
+  (0.0ms) rollback transaction
2728
+  (0.1ms) begin transaction
2729
+  (0.1ms) SAVEPOINT active_record_1
2730
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2731
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2732
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2733
+  (0.1ms) SAVEPOINT active_record_1
2734
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2735
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2736
+  (0.1ms) SELECT COUNT(*) FROM "users" 
2737
+ Processing by UsersController#create as HTML
2738
+ Parameters: {"user"=>{"name"=>nil}}
2739
+  (0.1ms) SAVEPOINT active_record_1
2740
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2741
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2742
+ Redirected to http://test.host/users/3
2743
+ Completed 302 Found in 12ms (ActiveRecord: 0.5ms)
2744
+  (0.1ms) SELECT COUNT(*) FROM "users" 
2745
+  (1.0ms) rollback transaction
2746
+  (0.1ms) begin transaction
2747
+  (0.0ms) SAVEPOINT active_record_1
2748
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2750
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2751
+  (0.0ms) SAVEPOINT active_record_1
2752
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2754
+  (0.1ms) SELECT COUNT(*) FROM "users" 
2755
+ Processing by UsersController#destroy as HTML
2756
+ Parameters: {"id"=>"1"}
2757
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2758
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2759
+  (0.1ms) SAVEPOINT active_record_1
2760
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
2761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2762
+ Redirected to http://test.host/users
2763
+ Completed 302 Found in 9ms (ActiveRecord: 0.6ms)
2764
+  (0.1ms) SELECT COUNT(*) FROM "users" 
2765
+  (0.8ms) rollback transaction
2766
+  (0.0ms) begin transaction
2767
+  (0.0ms) SAVEPOINT active_record_1
2768
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2769
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2770
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2771
+  (0.0ms) SAVEPOINT active_record_1
2772
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2773
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2774
+ Processing by UsersController#edit as HTML
2775
+ Parameters: {"id"=>"1"}
2776
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2777
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2778
+ Rendered users/_form.html.erb (3.1ms)
2779
+ Completed 200 OK in 23ms (Views: 17.6ms | ActiveRecord: 0.2ms)
2780
+  (1.1ms) rollback transaction
2781
+  (0.1ms) begin transaction
2782
+  (0.1ms) SAVEPOINT active_record_1
2783
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2785
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2786
+  (0.0ms) SAVEPOINT active_record_1
2787
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2788
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2789
+ Processing by UsersController#index as HTML
2790
+ User Load (0.1ms) SELECT "users".* FROM "users"
2791
+ Completed 200 OK in 13ms (Views: 7.1ms | ActiveRecord: 0.1ms)
2792
+  (1.0ms) rollback transaction
2793
+  (0.1ms) begin transaction
2794
+  (0.0ms) SAVEPOINT active_record_1
2795
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2796
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2797
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2798
+  (0.0ms) SAVEPOINT active_record_1
2799
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2800
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2801
+ Processing by UsersController#new as HTML
2802
+ Rendered users/_form.html.erb (1.9ms)
2803
+ Completed 200 OK in 10ms (Views: 6.0ms | ActiveRecord: 0.0ms)
2804
+  (1.7ms) rollback transaction
2805
+  (0.1ms) begin transaction
2806
+  (0.0ms) SAVEPOINT active_record_1
2807
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2808
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2809
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2810
+  (0.0ms) SAVEPOINT active_record_1
2811
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2812
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2813
+ Processing by UsersController#show as HTML
2814
+ Parameters: {"id"=>"1"}
2815
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2816
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2817
+ Completed 200 OK in 11ms (Views: 4.4ms | ActiveRecord: 0.2ms)
2818
+  (0.9ms) rollback transaction
2819
+  (0.1ms) begin transaction
2820
+  (0.0ms) SAVEPOINT active_record_1
2821
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", nil], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2822
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2823
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1
2824
+  (0.0ms) SAVEPOINT active_record_1
2825
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 07 Jun 2012 14:22:22 UTC +00:00]]
2826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2827
+ Processing by UsersController#update as HTML
2828
+ Parameters: {"user"=>{"name"=>nil}, "id"=>"1"}
2829
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2830
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2831
+  (0.1ms) SAVEPOINT active_record_1
2832
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2833
+ Redirected to http://test.host/users/1
2834
+ Completed 302 Found in 9ms (ActiveRecord: 0.4ms)
2835
+  (0.9ms) rollback transaction