Connecting to database specified by database.yml MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client]  (0.3ms) begin transaction User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (6.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "accounts" Processing by AccountsController#create as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1"} Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1 Redirected to http://test.host/client/1/accounts/2 Completed 302 Found in 20ms (ActiveRecord: 0.5ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "accounts"  Processing by AccountsController#destroy as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "accounts" WHERE "accounts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/client/1/accounts Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"   (0.4ms) rollback transaction  (0.1ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#edit as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Rendered accounts/_form.html.erb (8.4ms) Completed 200 OK in 43ms (Views: 40.8ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#index as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#new as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Rendered accounts/_form.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#show as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#update as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/client/1/accounts/1 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#update as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/client/1/accounts/1 Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#update as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#destroy as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#index as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 1ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#new as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#show as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "clients"  Processing by ClientsController#create as HTML Parameters: {"client"=>{"name"=>nil}}  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients/2 Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "clients"   (2.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "clients"  Processing by ClientsController#destroy as HTML Parameters: {"id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "clients" WHERE "clients"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "clients"   (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#edit as HTML Parameters: {"id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Rendered clients/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#index as HTML Client Load (0.1ms) SELECT "clients".* FROM "clients"  Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#new as HTML Rendered clients/_form.html.erb (1.3ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#show as HTML Parameters: {"id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#update as HTML Parameters: {"client"=>{"name"=>nil}, "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients/1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (213ms) dummy_test['$cmd'].find({:create=>"mongo_clients"}).limit(-1) MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4603b2571ba5000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['$cmd'].find({:create=>"mongo_accounts"}).limit(-1) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000002'), "mongo_client_id"=>BSON::ObjectId('50179a4603b2571ba5000001'), "created_by_id"=>1}]) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoAccountsController#create as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"50179a4603b2571ba5000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4603b2571ba5000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('50179a4603b2571ba5000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/50179a4603b2571ba5000001/mongo_accounts/50179a4703b2571ba5000003 Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000005'), "mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba5000004'), "created_by_id"=>1}]) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"50179a4703b2571ba5000004", "id"=>"50179a4703b2571ba5000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba5000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba5000004'), :_id=>BSON::ObjectId('50179a4703b2571ba5000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('50179a4703b2571ba5000005')}) Redirected to http://test.host/mongo_client/50179a4703b2571ba5000004/mongo_accounts Completed 302 Found in 4ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000007'), "mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba5000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"50179a4703b2571ba5000006", "id"=>"50179a4703b2571ba5000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba5000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba5000006'), :_id=>BSON::ObjectId('50179a4703b2571ba5000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.7ms) Completed 200 OK in 55ms (Views: 52.1ms | ActiveRecord: 0.0ms)  (22.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000009'), "mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba5000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"50179a4703b2571ba5000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba5000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba5000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba5000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 29ms (Views: 27.4ms | ActiveRecord: 0.0ms)  (21.5ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba500000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba500000b'), "mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba500000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"50179a4703b2571ba500000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba500000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.6ms) Completed 200 OK in 28ms (Views: 25.9ms | ActiveRecord: 0.0ms)  (20.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba500000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba500000e'), "mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba500000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"50179a4703b2571ba500000d", "id"=>"50179a4703b2571ba500000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba500000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba500000d'), :_id=>BSON::ObjectId('50179a4703b2571ba500000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 29ms (Views: 26.5ms | ActiveRecord: 0.0ms)  (21.5ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba500000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000010'), "mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba500000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"50179a4703b2571ba500000f", "id"=>"50179a4703b2571ba5000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba500000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba500000f'), :_id=>BSON::ObjectId('50179a4703b2571ba5000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/50179a4703b2571ba5000010/mongo_accounts/50179a4703b2571ba5000010 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (8.0ms) rollback transaction  (0.1ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000012'), "mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba5000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"50179a4703b2571ba5000011", "id"=>"50179a4703b2571ba5000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba5000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba5000011'), :_id=>BSON::ObjectId('50179a4703b2571ba5000012')}).limit(-1).sort([[:_id, :asc]]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Redirected to http://test.host/mongo_client/50179a4703b2571ba5000012/mongo_accounts/50179a4703b2571ba5000012 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000014'), "mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba5000013'), "created_by_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"50179a4703b2571ba5000013", "id"=>"50179a4703b2571ba5000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba5000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba5000013'), :_id=>BSON::ObjectId('50179a4703b2571ba5000014')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000016'), "mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba5000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"50179a4703b2571ba5000015", "id"=>"50179a4703b2571ba5000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba5000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba5000015'), :_id=>BSON::ObjectId('50179a4703b2571ba5000016')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000018'), "mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba5000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"50179a4703b2571ba5000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba5000017')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 1ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba500001a'), "mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba5000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"50179a4703b2571ba5000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba5000019')}).limit(-1).sort([[:_id, :asc]]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba500001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba500001d'), "mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba500001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"50179a4703b2571ba500001c", "id"=>"50179a4703b2571ba500001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba500001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a4703b2571ba500001c'), :_id=>BSON::ObjectId('50179a4703b2571ba500001d')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba500001e'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoClientsController#create as HTML Parameters: {"mongo_client"=>{"name"=>nil}} MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba500001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/50179a4703b2571ba500001f Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000020'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoClientsController#destroy as HTML Parameters: {"id"=>"50179a4703b2571ba5000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba5000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba5000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('50179a4703b2571ba5000020')}) Redirected to http://test.host/mongo_clients Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000021'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"50179a4703b2571ba5000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba5000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000022'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (0ms) dummy_test['mongo_clients'].find({}) Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000023'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#new as HTML Rendered mongo_clients/_form.html.erb (1.3ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000025'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"50179a4703b2571ba5000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba5000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000026'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"50179a4703b2571ba5000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a4703b2571ba5000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/50179a4703b2571ba5000026 Completed 302 Found in 26ms (ActiveRecord: 0.0ms)  (9.8ms) rollback transaction  (0.1ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba500002f'), "created_by_id"=>1}]) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a4703b2571ba5000030'), "created_by_id"=>1}]) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 31 Jul 2012 08:41:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction controller belongs_to [:heaven, {:as=>:earth}]  (0.0ms) rollback transaction  (0.0ms) begin transaction controller belongs_to [:heaven, :hell] controller belongs_to [:earth]  (0.0ms) rollback transaction  (0.0ms) begin transaction controller belongs_to [:heaven]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "users"  Processing by UsersController#create as HTML Parameters: {"user"=>{"name"=>nil}}  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/3 Completed 302 Found in 4ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "users"   (1.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "users"  Processing by UsersController#destroy as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "users"   (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Rendered users/_form.html.erb (1.7ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#new as HTML Rendered users/_form.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:41:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>nil}, "id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/1 Completed 302 Found in 4ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction Connecting to database specified by database.yml MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client]  (0.3ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "accounts" Processing by AccountsController#create as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1"} Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1 Redirected to http://test.host/client/1/accounts/2 Completed 302 Found in 13ms (ActiveRecord: 0.4ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (1.7ms) rollback transaction  (0.1ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "accounts"  Processing by AccountsController#destroy as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "accounts" WHERE "accounts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/client/1/accounts Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"   (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#edit as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Rendered accounts/_form.html.erb (5.3ms) Completed 200 OK in 36ms (Views: 34.5ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#index as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#new as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Rendered accounts/_form.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#show as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#update as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/client/1/accounts/1 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#update as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/client/1/accounts/1 Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#update as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#destroy as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#index as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 1ms  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#new as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#show as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "clients"  Processing by ClientsController#create as HTML Parameters: {"client"=>{"name"=>nil}}  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients/2 Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "clients"   (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "clients"  Processing by ClientsController#destroy as HTML Parameters: {"id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "clients" WHERE "clients"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "clients"   (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#edit as HTML Parameters: {"id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Rendered clients/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#index as HTML Client Load (0.1ms) SELECT "clients".* FROM "clients"  Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#new as HTML Rendered clients/_form.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#show as HTML Parameters: {"id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#update as HTML Parameters: {"client"=>{"name"=>nil}, "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients/1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000001'), "accountant_id"=>1}]) MONGODB (7ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000002'), "mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000001'), "created_by_id"=>1}]) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoAccountsController#create as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"50179a7f03b2571bce000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/50179a7f03b2571bce000001/mongo_accounts/50179a7f03b2571bce000003 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000005'), "mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000004'), "created_by_id"=>1}]) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"50179a7f03b2571bce000004", "id"=>"50179a7f03b2571bce000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000004'), :_id=>BSON::ObjectId('50179a7f03b2571bce000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('50179a7f03b2571bce000005')}) Redirected to http://test.host/mongo_client/50179a7f03b2571bce000004/mongo_accounts Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000007'), "mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"50179a7f03b2571bce000006", "id"=>"50179a7f03b2571bce000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000006'), :_id=>BSON::ObjectId('50179a7f03b2571bce000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.2ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000009'), "mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"50179a7f03b2571bce000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce00000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce00000b'), "mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce00000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"50179a7f03b2571bce00000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce00000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce00000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce00000e'), "mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce00000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"50179a7f03b2571bce00000d", "id"=>"50179a7f03b2571bce00000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce00000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce00000d'), :_id=>BSON::ObjectId('50179a7f03b2571bce00000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.4ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce00000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000010'), "mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce00000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"50179a7f03b2571bce00000f", "id"=>"50179a7f03b2571bce000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce00000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce00000f'), :_id=>BSON::ObjectId('50179a7f03b2571bce000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/50179a7f03b2571bce000010/mongo_accounts/50179a7f03b2571bce000010 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000012'), "mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"50179a7f03b2571bce000011", "id"=>"50179a7f03b2571bce000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000011'), :_id=>BSON::ObjectId('50179a7f03b2571bce000012')}).limit(-1).sort([[:_id, :asc]]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Redirected to http://test.host/mongo_client/50179a7f03b2571bce000012/mongo_accounts/50179a7f03b2571bce000012 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000014'), "mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000013'), "created_by_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"50179a7f03b2571bce000013", "id"=>"50179a7f03b2571bce000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000013'), :_id=>BSON::ObjectId('50179a7f03b2571bce000014')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000016'), "mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"50179a7f03b2571bce000015", "id"=>"50179a7f03b2571bce000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000015'), :_id=>BSON::ObjectId('50179a7f03b2571bce000016')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000018'), "mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"50179a7f03b2571bce000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce000017')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce00001a'), "mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"50179a7f03b2571bce000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce000019')}).limit(-1).sort([[:_id, :asc]]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Completed 500 Internal Server Error in 3ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce00001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce00001d'), "mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce00001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"50179a7f03b2571bce00001c", "id"=>"50179a7f03b2571bce00001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce00001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179a7f03b2571bce00001c'), :_id=>BSON::ObjectId('50179a7f03b2571bce00001d')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce00001e'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoClientsController#create as HTML Parameters: {"mongo_client"=>{"name"=>nil}} MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce00001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/50179a7f03b2571bce00001f Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)  (0.2ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000020'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoClientsController#destroy as HTML Parameters: {"id"=>"50179a7f03b2571bce000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('50179a7f03b2571bce000020')}) Redirected to http://test.host/mongo_clients Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000021'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"50179a7f03b2571bce000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000022'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (1ms) dummy_test['mongo_clients'].find({}) Completed 200 OK in 46ms (Views: 44.9ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000023'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#new as HTML Rendered mongo_clients/_form.html.erb (1.3ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000025'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"50179a7f03b2571bce000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000026'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"50179a7f03b2571bce000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179a7f03b2571bce000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/50179a7f03b2571bce000026 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce00002f'), "created_by_id"=>1}]) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179a7f03b2571bce000030'), "created_by_id"=>1}]) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 31 Jul 2012 08:42:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction controller belongs_to [:heaven, {:as=>:earth}]  (0.0ms) rollback transaction  (0.0ms) begin transaction controller belongs_to [:heaven, :hell] controller belongs_to [:earth]  (0.0ms) rollback transaction  (0.0ms) begin transaction controller belongs_to [:heaven]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (23.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "users"  Processing by UsersController#create as HTML Parameters: {"user"=>{"name"=>nil}}  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/3 Completed 302 Found in 4ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "users"   (1.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "users"  Processing by UsersController#destroy as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users Completed 302 Found in 4ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "users"   (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Rendered users/_form.html.erb (25.2ms) Completed 200 OK in 31ms (Views: 28.2ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#new as HTML Rendered users/_form.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:42:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>nil}, "id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/1 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.3ms) rollback transaction Connecting to database specified by database.yml MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client]  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction Connecting to database specified by database.yml MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client]  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction Connecting to database specified by database.yml MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client]  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction Connecting to database specified by database.yml MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client]  (0.3ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "accounts" Processing by AccountsController#create as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1"} Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1 Redirected to http://test.host/client/1/accounts/2 Completed 302 Found in 12ms (ActiveRecord: 0.4ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (1.8ms) rollback transaction  (0.1ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "accounts"  Processing by AccountsController#destroy as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "accounts" WHERE "accounts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/client/1/accounts Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"   (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#edit as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Rendered accounts/_form.html.erb (5.1ms) Completed 200 OK in 35ms (Views: 33.0ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#index as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1 Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#new as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Rendered accounts/_form.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#show as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#update as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/client/1/accounts/1 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#update as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/client/1/accounts/1 Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#update as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#destroy as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#index as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 1ms  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#new as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#show as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "clients"  Processing by ClientsController#create as HTML Parameters: {"client"=>{"name"=>nil}}  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients/2 Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "clients"   (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "clients"  Processing by ClientsController#destroy as HTML Parameters: {"id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "clients" WHERE "clients"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "clients"   (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#edit as HTML Parameters: {"id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Rendered clients/_form.html.erb (1.8ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#index as HTML Client Load (0.1ms) SELECT "clients".* FROM "clients"  Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#new as HTML Rendered clients/_form.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#show as HTML Parameters: {"id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#update as HTML Parameters: {"client"=>{"name"=>nil}, "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients/1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000002'), "mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000001'), "created_by_id"=>1}]) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoAccountsController#create as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"50179c7303b2571d52000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d52000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/50179c7303b2571d52000001/mongo_accounts/50179c7303b2571d52000003 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000005'), "mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000004'), "created_by_id"=>1}]) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"50179c7303b2571d52000004", "id"=>"50179c7303b2571d52000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d52000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000004'), :_id=>BSON::ObjectId('50179c7303b2571d52000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('50179c7303b2571d52000005')}) Redirected to http://test.host/mongo_client/50179c7303b2571d52000004/mongo_accounts Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000007'), "mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"50179c7303b2571d52000006", "id"=>"50179c7303b2571d52000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d52000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000006'), :_id=>BSON::ObjectId('50179c7303b2571d52000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000009'), "mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"50179c7303b2571d52000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d52000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d52000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d5200000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d5200000b'), "mongo_client_id"=>BSON::ObjectId('50179c7303b2571d5200000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"50179c7303b2571d5200000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d5200000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d5200000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d5200000e'), "mongo_client_id"=>BSON::ObjectId('50179c7303b2571d5200000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"50179c7303b2571d5200000d", "id"=>"50179c7303b2571d5200000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d5200000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179c7303b2571d5200000d'), :_id=>BSON::ObjectId('50179c7303b2571d5200000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d5200000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000010'), "mongo_client_id"=>BSON::ObjectId('50179c7303b2571d5200000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"50179c7303b2571d5200000f", "id"=>"50179c7303b2571d52000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d5200000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179c7303b2571d5200000f'), :_id=>BSON::ObjectId('50179c7303b2571d52000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/50179c7303b2571d52000010/mongo_accounts/50179c7303b2571d52000010 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000012'), "mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"50179c7303b2571d52000011", "id"=>"50179c7303b2571d52000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d52000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000011'), :_id=>BSON::ObjectId('50179c7303b2571d52000012')}).limit(-1).sort([[:_id, :asc]]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Redirected to http://test.host/mongo_client/50179c7303b2571d52000012/mongo_accounts/50179c7303b2571d52000012 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000014'), "mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000013'), "created_by_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"50179c7303b2571d52000013", "id"=>"50179c7303b2571d52000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d52000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000013'), :_id=>BSON::ObjectId('50179c7303b2571d52000014')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000016'), "mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"50179c7303b2571d52000015", "id"=>"50179c7303b2571d52000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d52000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000015'), :_id=>BSON::ObjectId('50179c7303b2571d52000016')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000018'), "mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"50179c7303b2571d52000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d52000017')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 1ms  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d5200001a'), "mongo_client_id"=>BSON::ObjectId('50179c7303b2571d52000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"50179c7303b2571d52000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d52000019')}).limit(-1).sort([[:_id, :asc]]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Completed 500 Internal Server Error in 3ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d5200001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d5200001d'), "mongo_client_id"=>BSON::ObjectId('50179c7303b2571d5200001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"50179c7303b2571d5200001c", "id"=>"50179c7303b2571d5200001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d5200001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('50179c7303b2571d5200001c'), :_id=>BSON::ObjectId('50179c7303b2571d5200001d')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d5200001e'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoClientsController#create as HTML Parameters: {"mongo_client"=>{"name"=>nil}} MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d5200001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/50179c7303b2571d5200001f Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000020'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoClientsController#destroy as HTML Parameters: {"id"=>"50179c7303b2571d52000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d52000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d52000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('50179c7303b2571d52000020')}) Redirected to http://test.host/mongo_clients Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000021'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"50179c7303b2571d52000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d52000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000022'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (1ms) dummy_test['mongo_clients'].find({}) Completed 200 OK in 55ms (Views: 54.7ms | ActiveRecord: 0.0ms)  (0.8ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000023'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#new as HTML Rendered mongo_clients/_form.html.erb (1.3ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000025'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"50179c7303b2571d52000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d52000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000026'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"50179c7303b2571d52000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('50179c7303b2571d52000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/50179c7303b2571d52000026 Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d5200002f'), "created_by_id"=>1}]) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('50179c7303b2571d52000030'), "created_by_id"=>1}]) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (23.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction controller belongs_to [:heaven, {:as=>:earth}]  (0.0ms) rollback transaction  (0.0ms) begin transaction controller belongs_to [:heaven, :hell] controller belongs_to [:earth]  (0.0ms) rollback transaction  (0.0ms) begin transaction controller belongs_to [:heaven]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "users"  Processing by UsersController#create as HTML Parameters: {"user"=>{"name"=>nil}}  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/3 Completed 302 Found in 4ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "users"   (1.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "users"  Processing by UsersController#destroy as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "users"   (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Rendered users/_form.html.erb (1.7ms) Completed 200 OK in 7ms (Views: 4.2ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#new as HTML Rendered users/_form.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 31 Jul 2012 08:50:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>nil}, "id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/1 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.3ms) rollback transaction Connecting to database specified by database.yml MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (23ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client]  (0.3ms) begin transaction User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "accounts" Processing by AccountsController#create as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1"} Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1 Redirected to http://test.host/client/1/accounts/2 Completed 302 Found in 13ms (ActiveRecord: 0.5ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (0.5ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "accounts"  Processing by AccountsController#destroy as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "accounts" WHERE "accounts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/client/1/accounts Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"   (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#edit as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Rendered accounts/_form.html.erb (7.3ms) Completed 200 OK in 41ms (Views: 38.8ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#index as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#new as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Rendered accounts/_form.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#show as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#update as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/client/1/accounts/1 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#update as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"} Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/client/1/accounts/1 Completed 302 Found in 4ms (ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#update as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#destroy as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#index as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 1ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#new as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#show as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (25.5ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 27ms  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "clients"  Processing by ClientsController#create as HTML Parameters: {"client"=>{"name"=>nil}}  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients/2 Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "clients"   (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "clients"  Processing by ClientsController#destroy as HTML Parameters: {"id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "clients" WHERE "clients"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "clients"   (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#edit as HTML Parameters: {"id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Rendered clients/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#index as HTML Client Load (0.1ms) SELECT "clients".* FROM "clients"  Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#new as HTML Rendered clients/_form.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#show as HTML Parameters: {"id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#update as HTML Parameters: {"client"=>{"name"=>nil}, "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients/1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (93ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000001'), "accountant_id"=>1}]) MONGODB (5ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000002'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000001'), "created_by_id"=>1}]) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoAccountsController#create as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5052163b03b25728c5000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/5052163b03b25728c5000001/mongo_accounts/5052163b03b25728c5000003 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000005'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000004'), "created_by_id"=>1}]) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"5052163b03b25728c5000004", "id"=>"5052163b03b25728c5000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (3ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000004'), :_id=>BSON::ObjectId('5052163b03b25728c5000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('5052163b03b25728c5000005')}) Redirected to http://test.host/mongo_client/5052163b03b25728c5000004/mongo_accounts Completed 302 Found in 7ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000007'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"5052163b03b25728c5000006", "id"=>"5052163b03b25728c5000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000006'), :_id=>BSON::ObjectId('5052163b03b25728c5000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000009'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5052163b03b25728c5000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500000b'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c500000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5052163b03b25728c500000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c500000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (25.8ms) Completed 200 OK in 31ms (Views: 28.5ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500000e'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c500000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5052163b03b25728c500000d", "id"=>"5052163b03b25728c500000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c500000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c500000d'), :_id=>BSON::ObjectId('5052163b03b25728c500000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000010'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c500000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5052163b03b25728c500000f", "id"=>"5052163b03b25728c5000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c500000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c500000f'), :_id=>BSON::ObjectId('5052163b03b25728c5000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/5052163b03b25728c5000010/mongo_accounts/5052163b03b25728c5000010 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000012'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5052163b03b25728c5000011", "id"=>"5052163b03b25728c5000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000011'), :_id=>BSON::ObjectId('5052163b03b25728c5000012')}).limit(-1).sort([[:_id, :asc]]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Redirected to http://test.host/mongo_client/5052163b03b25728c5000012/mongo_accounts/5052163b03b25728c5000012 Completed 302 Found in 3ms (ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000014'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000013'), "created_by_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5052163b03b25728c5000013", "id"=>"5052163b03b25728c5000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000013'), :_id=>BSON::ObjectId('5052163b03b25728c5000014')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000016'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"5052163b03b25728c5000015", "id"=>"5052163b03b25728c5000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000015'), :_id=>BSON::ObjectId('5052163b03b25728c5000016')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000018'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5052163b03b25728c5000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000017')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500001a'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c5000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5052163b03b25728c5000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000019')}).limit(-1).sort([[:_id, :asc]]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Completed 500 Internal Server Error in 3ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500001d'), "mongo_client_id"=>BSON::ObjectId('5052163b03b25728c500001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5052163b03b25728c500001c", "id"=>"5052163b03b25728c500001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c500001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5052163b03b25728c500001c'), :_id=>BSON::ObjectId('5052163b03b25728c500001d')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500001e'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoClientsController#create as HTML Parameters: {"mongo_client"=>{"name"=>nil}} MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c500001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/5052163b03b25728c500001f Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000020'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoClientsController#destroy as HTML Parameters: {"id"=>"5052163b03b25728c5000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('5052163b03b25728c5000020')}) Redirected to http://test.host/mongo_clients Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000021'), "accountant_id"=>1}]) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"5052163b03b25728c5000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (2.0ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000022'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (1ms) dummy_test['mongo_clients'].find({}) Completed 200 OK in 72ms (Views: 70.7ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000023'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#new as HTML Rendered mongo_clients/_form.html.erb (1.5ms) Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000025'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"5052163b03b25728c5000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 26ms (Views: 24.7ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5052163b03b25728c5000026'), "accountant_id"=>1}]) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"5052163b03b25728c5000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5052163b03b25728c5000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/5052163b03b25728c5000026 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (2.8ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.7ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.8ms) rollback transaction  (0.0ms) begin transaction User Load (5.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (1.8ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.4ms) rollback transaction  (0.0ms) begin transaction User Load (5.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (4.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163c03b25728c500002f'), "created_by_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5052163c03b25728c5000030'), "created_by_id"=>1}]) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction controller belongs_to [:heaven, {:as=>:earth}]  (0.0ms) rollback transaction  (0.0ms) begin transaction controller belongs_to [:heaven, :hell] controller belongs_to [:earth]  (0.0ms) rollback transaction  (0.0ms) begin transaction controller belongs_to [:heaven]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.1ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "users"  Processing by UsersController#create as HTML Parameters: {"user"=>{"name"=>nil}}  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/3 Completed 302 Found in 5ms (ActiveRecord: 0.2ms)  (0.1ms) SELECT COUNT(*) FROM "users"   (1.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "users"  Processing by UsersController#destroy as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users Completed 302 Found in 4ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "users"   (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Rendered users/_form.html.erb (1.8ms) Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#new as HTML Rendered users/_form.html.erb (1.3ms) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.1ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:22:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>nil}, "id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/1 Completed 302 Found in 4ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction Connecting to database specified by database.yml MONGODB [DEBUG] Logging level is currently :debug which could negatively impact client-side performance. You should set your logging level no lower than :info in production. MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client]  (0.3ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:22 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:22 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "accounts" Processing by AccountsController#create as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1"} Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1 Redirected to http://test.host/client/1/accounts/2 Completed 302 Found in 13ms (ActiveRecord: 0.5ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (1.7ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "accounts"  Processing by AccountsController#destroy as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "accounts" WHERE "accounts"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/client/1/accounts Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"   (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#edit as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Rendered accounts/_form.html.erb (5.7ms) Completed 200 OK in 37ms (Views: 34.7ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#index as HTML Parameters: {"client_id"=>"1"} Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.1ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = 1 LIMIT 1 Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.2ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#new as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Rendered accounts/_form.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#show as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#update as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/client/1/accounts/1 Completed 302 Found in 4ms (ActiveRecord: 0.2ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#update as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/client/1/accounts/1 Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#update as HTML Parameters: {"account"=>{"name"=>nil}, "client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#destroy as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#index as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 1ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#new as HTML Parameters: {"client_id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#show as HTML Parameters: {"client_id"=>"1", "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Account Load (0.0ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."client_id" = 1 AND "accounts"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 26ms  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "clients"  Processing by ClientsController#create as HTML Parameters: {"client"=>{"name"=>nil}}  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients/2 Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "clients"   (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "clients"  Processing by ClientsController#destroy as HTML Parameters: {"id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "clients" WHERE "clients"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "clients"   (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#edit as HTML Parameters: {"id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Rendered clients/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#index as HTML Client Load (0.1ms) SELECT "clients".* FROM "clients"  Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#new as HTML Rendered clients/_form.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#show as HTML Parameters: {"id"=>"1"} Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#update as HTML Parameters: {"client"=>{"name"=>nil}, "id"=>"1"} Client Load (0.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients/1 Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000001'), "accountant_id"=>1}]) MONGODB (2ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000002'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000001'), "created_by_id"=>1}]) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoAccountsController#create as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505218e303b25729d5000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/505218e303b25729d5000001/mongo_accounts/505218e303b25729d5000003 Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000005'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000004'), "created_by_id"=>1}]) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"505218e303b25729d5000004", "id"=>"505218e303b25729d5000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000004'), :_id=>BSON::ObjectId('505218e303b25729d5000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('505218e303b25729d5000005')}) Redirected to http://test.host/mongo_client/505218e303b25729d5000004/mongo_accounts Completed 302 Found in 3ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_accounts", "query"=>{}, "fields"=>nil}).limit(-1)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000007'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"505218e303b25729d5000006", "id"=>"505218e303b25729d5000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000006'), :_id=>BSON::ObjectId('505218e303b25729d5000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (3.5ms) Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000009'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505218e303b25729d5000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500000b'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d500000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505218e303b25729d500000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d500000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (27.0ms) Completed 200 OK in 32ms (Views: 29.6ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500000e'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d500000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505218e303b25729d500000d", "id"=>"505218e303b25729d500000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d500000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d500000d'), :_id=>BSON::ObjectId('505218e303b25729d500000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000010'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d500000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505218e303b25729d500000f", "id"=>"505218e303b25729d5000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d500000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d500000f'), :_id=>BSON::ObjectId('505218e303b25729d5000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/505218e303b25729d5000010/mongo_accounts/505218e303b25729d5000010 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000012'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505218e303b25729d5000011", "id"=>"505218e303b25729d5000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000011'), :_id=>BSON::ObjectId('505218e303b25729d5000012')}).limit(-1).sort([[:_id, :asc]]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Redirected to http://test.host/mongo_client/505218e303b25729d5000012/mongo_accounts/505218e303b25729d5000012 Completed 302 Found in 4ms (ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000014'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000013'), "created_by_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505218e303b25729d5000013", "id"=>"505218e303b25729d5000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000013'), :_id=>BSON::ObjectId('505218e303b25729d5000014')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000016'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"505218e303b25729d5000015", "id"=>"505218e303b25729d5000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000015'), :_id=>BSON::ObjectId('505218e303b25729d5000016')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000018'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505218e303b25729d5000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000017')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500001a'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d5000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505218e303b25729d5000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000019')}).limit(-1).sort([[:_id, :asc]]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Completed 500 Internal Server Error in 3ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500001d'), "mongo_client_id"=>BSON::ObjectId('505218e303b25729d500001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505218e303b25729d500001c", "id"=>"505218e303b25729d500001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d500001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505218e303b25729d500001c'), :_id=>BSON::ObjectId('505218e303b25729d500001d')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500001e'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoClientsController#create as HTML Parameters: {"mongo_client"=>{"name"=>nil}} MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/505218e303b25729d500001f Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000020'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1) Processing by MongoClientsController#destroy as HTML Parameters: {"id"=>"505218e303b25729d5000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('505218e303b25729d5000020')}) Redirected to http://test.host/mongo_clients Completed 302 Found in 2ms (ActiveRecord: 0.0ms) MONGODB (0ms) dummy_test['$cmd'].find({"count"=>"mongo_clients", "query"=>{}, "fields"=>nil}).limit(-1)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000021'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"505218e303b25729d5000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (2.0ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000022'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) Completed 200 OK in 105ms (Views: 104.6ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000023'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#new as HTML Rendered mongo_clients/_form.html.erb (1.4ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000025'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"505218e303b25729d5000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000026'), "accountant_id"=>1}]) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"505218e303b25729d5000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505218e303b25729d5000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/505218e303b25729d5000026 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", nil], ["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d500002f'), "created_by_id"=>1}]) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505218e303b25729d5000030'), "created_by_id"=>1}]) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'department_manager' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :guest], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'blind_man' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 13 Sep 2012 17:33:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction controller belongs_to [:heaven, {:as=>:earth}]  (0.0ms) rollback transaction  (0.0ms) begin transaction controller belongs_to [:heaven, :hell] controller belongs_to [:earth]  (0.0ms) rollback transaction  (0.0ms) begin transaction controller belongs_to [:heaven]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction child belongs_to [:parent]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "users"  Processing by UsersController#create as HTML Parameters: {"user"=>{"name"=>nil}}  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/3 Completed 302 Found in 7ms (ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "users"   (1.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "users"  Processing by UsersController#destroy as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users Completed 302 Found in 7ms (ActiveRecord: 0.6ms)  (0.0ms) SELECT COUNT(*) FROM "users"   (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Rendered users/_form.html.erb (1.9ms) Completed 200 OK in 36ms (Views: 4.8ms | ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.1ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#new as HTML Rendered users/_form.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", nil], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 13 Sep 2012 17:33:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#update as HTML Parameters: {"user"=>{"name"=>nil}, "id"=>"1"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/1 Completed 302 Found in 5ms (ActiveRecord: 0.2ms)  (0.3ms) rollback transaction