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 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 (13ms) 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 (4.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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 17ms (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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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.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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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.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"]] Rendered accounts/_form.html.erb (9.1ms) Completed 200 OK in 26ms (Views: 23.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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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.6ms | 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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.5ms | 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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.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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "guest"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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  (20.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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.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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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: 3.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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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.0ms | 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (95ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000001'), "accountant_id"=>1}]) MONGODB (9ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000002'), "mongo_client_id"=>BSON::ObjectId('505441e403b257703b000001'), "created_by_id"=>1}]) MONGODB (1ms) 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"=>"505441e403b257703b000001"} MONGODB (1ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('505441e403b257703b000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/505441e403b257703b000001/mongo_accounts/505441e403b257703b000003 Completed 302 Found in 4ms (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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000005'), "mongo_client_id"=>BSON::ObjectId('505441e403b257703b000004'), "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"=>"505441e403b257703b000004", "id"=>"505441e403b257703b000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (3ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505441e403b257703b000004'), :_id=>BSON::ObjectId('505441e403b257703b000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('505441e403b257703b000005')}) Redirected to http://test.host/mongo_client/505441e403b257703b000004/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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000007'), "mongo_client_id"=>BSON::ObjectId('505441e403b257703b000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"505441e403b257703b000006", "id"=>"505441e403b257703b000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505441e403b257703b000006'), :_id=>BSON::ObjectId('505441e403b257703b000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.5ms) 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000009'), "mongo_client_id"=>BSON::ObjectId('505441e403b257703b000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505441e403b257703b000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505441e403b257703b000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 6ms (Views: 4.6ms | 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 (21.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b00000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b00000b'), "mongo_client_id"=>BSON::ObjectId('505441e403b257703b00000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505441e403b257703b00000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b00000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b00000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b00000e'), "mongo_client_id"=>BSON::ObjectId('505441e403b257703b00000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505441e403b257703b00000d", "id"=>"505441e403b257703b00000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b00000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505441e403b257703b00000d'), :_id=>BSON::ObjectId('505441e403b257703b00000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.4ms | 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b00000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000010'), "mongo_client_id"=>BSON::ObjectId('505441e403b257703b00000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505441e403b257703b00000f", "id"=>"505441e403b257703b000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b00000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505441e403b257703b00000f'), :_id=>BSON::ObjectId('505441e403b257703b000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/505441e403b257703b000010/mongo_accounts/505441e403b257703b000010 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000012'), "mongo_client_id"=>BSON::ObjectId('505441e403b257703b000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505441e403b257703b000011", "id"=>"505441e403b257703b000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505441e403b257703b000011'), :_id=>BSON::ObjectId('505441e403b257703b000012')}).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/505441e403b257703b000012/mongo_accounts/505441e403b257703b000012 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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000014'), "mongo_client_id"=>BSON::ObjectId('505441e403b257703b000013'), "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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "guest"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505441e403b257703b000013", "id"=>"505441e403b257703b000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505441e403b257703b000013'), :_id=>BSON::ObjectId('505441e403b257703b000014')}).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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000016'), "mongo_client_id"=>BSON::ObjectId('505441e403b257703b000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"505441e403b257703b000015", "id"=>"505441e403b257703b000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505441e403b257703b000015'), :_id=>BSON::ObjectId('505441e403b257703b000016')}).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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000018'), "mongo_client_id"=>BSON::ObjectId('505441e403b257703b000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505441e403b257703b000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b000017')}).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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b00001a'), "mongo_client_id"=>BSON::ObjectId('505441e403b257703b000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505441e403b257703b000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b000019')}).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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b00001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b00001d'), "mongo_client_id"=>BSON::ObjectId('505441e403b257703b00001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505441e403b257703b00001c", "id"=>"505441e403b257703b00001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b00001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505441e403b257703b00001c'), :_id=>BSON::ObjectId('505441e403b257703b00001d')}).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('505441e403b257703b00001e'), "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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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('505441e403b257703b00001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/505441e403b257703b00001f 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('505441e403b257703b000020'), "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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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"=>"505441e403b257703b000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('505441e403b257703b000020')}) 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('505441e403b257703b000021'), "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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"505441e403b257703b000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000022'), "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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 1960594759443637778 Completed 200 OK in 107ms (Views: 106.1ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000023'), "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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 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 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e403b257703b000025'), "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", Sat, 15 Sep 2012 08:52:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"505441e403b257703b000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e403b257703b000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505441e503b257703b000026'), "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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"505441e503b257703b000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505441e503b257703b000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/505441e503b257703b000026 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :system_admin], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :department_manager], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :system_admin], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :guest], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :department_manager], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :guest], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :system_admin], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :guest], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :system_admin], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :guest], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :system_admin], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :system_admin], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :guest], ["updated_at", Sat, 15 Sep 2012 08:52:53 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :blind_man], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :system_admin], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :department_manager], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :system_admin], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :guest], ["updated_at", Sat, 15 Sep 2012 08:52:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e503b257703b00002f'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505441e503b257703b000030'), "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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :department_manager], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :guest], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :system_admin], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :accountant], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :system_admin], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :guest], ["updated_at", Sat, 15 Sep 2012 08:52:53 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", :blind_man], ["updated_at", Sat, 15 Sep 2012 08:52:53 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.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 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.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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:53 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.5ms) 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:53 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.9ms) Completed 200 OK in 7ms (Views: 5.0ms | 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:53 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.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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:53 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.3ms | ActiveRecord: 0.1ms)  (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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", nil], ["updated_at", Sat, 15 Sep 2012 08:52:53 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", Sat, 15 Sep 2012 08:52:53 UTC +00:00], ["name", "system_admin"], ["updated_at", Sat, 15 Sep 2012 08:52:53 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 (6ms) 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 (4.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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 18ms (ActiveRecord: 0.7ms)  (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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:22 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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.1ms) 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:22 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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.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"]] Rendered accounts/_form.html.erb (8.4ms) Completed 200 OK in 24ms (Views: 22.3ms | 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:22 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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: 4.0ms | 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:22 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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.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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:22 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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: 2.7ms | 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:22 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:13:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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", Sun, 23 Sep 2012 14:13:22 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13:22 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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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.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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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.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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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 2ms  (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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13: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.1ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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.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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13:23 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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13: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 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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13:23 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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13: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.7ms) Completed 200 OK in 5ms (Views: 4.4ms | 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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13: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.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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:23 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.0ms | 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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:23 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.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13: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.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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (38ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000002'), "mongo_client_id"=>BSON::ObjectId('505f190303b2573930000001'), "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"=>"505f190303b2573930000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b2573930000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('505f190303b2573930000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/505f190303b2573930000001/mongo_accounts/505f190303b2573930000003 Completed 302 Found in 3ms (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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000005'), "mongo_client_id"=>BSON::ObjectId('505f190303b2573930000004'), "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"=>"505f190303b2573930000004", "id"=>"505f190303b2573930000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b2573930000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f190303b2573930000004'), :_id=>BSON::ObjectId('505f190303b2573930000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('505f190303b2573930000005')}) Redirected to http://test.host/mongo_client/505f190303b2573930000004/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.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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000007'), "mongo_client_id"=>BSON::ObjectId('505f190303b2573930000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"505f190303b2573930000006", "id"=>"505f190303b2573930000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b2573930000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f190303b2573930000006'), :_id=>BSON::ObjectId('505f190303b2573930000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.4ms) Completed 200 OK in 9ms (Views: 6.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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000009'), "mongo_client_id"=>BSON::ObjectId('505f190303b2573930000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f190303b2573930000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b2573930000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f190303b2573930000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b2573930000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 6ms (Views: 4.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 (21.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b257393000000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b257393000000b'), "mongo_client_id"=>BSON::ObjectId('505f190303b257393000000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f190303b257393000000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b257393000000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.4ms) Completed 200 OK in 7ms (Views: 4.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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b257393000000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b257393000000e'), "mongo_client_id"=>BSON::ObjectId('505f190303b257393000000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f190303b257393000000d", "id"=>"505f190303b257393000000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b257393000000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f190303b257393000000d'), :_id=>BSON::ObjectId('505f190303b257393000000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.6ms | 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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b257393000000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000010'), "mongo_client_id"=>BSON::ObjectId('505f190303b257393000000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f190303b257393000000f", "id"=>"505f190303b2573930000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b257393000000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f190303b257393000000f'), :_id=>BSON::ObjectId('505f190303b2573930000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/505f190303b2573930000010/mongo_accounts/505f190303b2573930000010 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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000012'), "mongo_client_id"=>BSON::ObjectId('505f190303b2573930000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f190303b2573930000011", "id"=>"505f190303b2573930000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b2573930000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f190303b2573930000011'), :_id=>BSON::ObjectId('505f190303b2573930000012')}).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/505f190303b2573930000012/mongo_accounts/505f190303b2573930000012 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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000014'), "mongo_client_id"=>BSON::ObjectId('505f190303b2573930000013'), "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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 14:13: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"=>"505f190303b2573930000013", "id"=>"505f190303b2573930000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b2573930000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f190303b2573930000013'), :_id=>BSON::ObjectId('505f190303b2573930000014')}).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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000016'), "mongo_client_id"=>BSON::ObjectId('505f190303b2573930000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"505f190303b2573930000015", "id"=>"505f190303b2573930000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b2573930000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f190303b2573930000015'), :_id=>BSON::ObjectId('505f190303b2573930000016')}).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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000018'), "mongo_client_id"=>BSON::ObjectId('505f190303b2573930000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f190303b2573930000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b2573930000017')}).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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b257393000001a'), "mongo_client_id"=>BSON::ObjectId('505f190303b2573930000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f190303b2573930000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b2573930000019')}).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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b257393000001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b257393000001d'), "mongo_client_id"=>BSON::ObjectId('505f190303b257393000001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f190303b257393000001c", "id"=>"505f190303b257393000001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b257393000001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f190303b257393000001c'), :_id=>BSON::ObjectId('505f190303b257393000001d')}).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('505f190303b257393000001e'), "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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13: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('505f190303b257393000001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/505f190303b257393000001f 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('505f190303b2573930000020'), "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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13: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"=>"505f190303b2573930000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b2573930000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b2573930000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('505f190303b2573930000020')}) 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('505f190303b2573930000021'), "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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"505f190303b2573930000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b2573930000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000022'), "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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 895345787305309471 Completed 200 OK in 118ms (Views: 117.2ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000023'), "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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13: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 5ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000025'), "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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"505f190303b2573930000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b2573930000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 27ms (Views: 25.1ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000026'), "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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"505f190303b2573930000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f190303b2573930000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/505f190303b2573930000026 Completed 302 Found in 3ms (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.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:13: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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (3.6ms) 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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (7.7ms) 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.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:13: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" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:13: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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:13: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" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13: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" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:13: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" = 'blind_man' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 14:13: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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.2ms) 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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 14:13: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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b257393000002f'), "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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f190303b2573930000030'), "created_by_id"=>1}]) User Load (0.1ms) 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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13: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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 14:13: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.2ms) 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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:13: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:13: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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 14:13:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) 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.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) 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 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.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) 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.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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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", Sun, 23 Sep 2012 14:13:24 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13: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.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:13:24 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13:24 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", Sun, 23 Sep 2012 14:13:24 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:24 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", Sun, 23 Sep 2012 14:13:24 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13:24 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.9ms) Completed 200 OK in 7ms (Views: 5.0ms | 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", Sun, 23 Sep 2012 14:13:24 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13: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 5ms (Views: 3.1ms | ActiveRecord: 0.1ms)  (0.2ms) 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", Sun, 23 Sep 2012 14:13:24 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13: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 6ms (Views: 3.8ms | 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", Sun, 23 Sep 2012 14:13:24 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13: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.3ms | 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", Sun, 23 Sep 2012 14:13:24 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:13: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", Sun, 23 Sep 2012 14:13:24 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:13: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 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 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", 1], ["created_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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 14ms (ActiveRecord: 0.5ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (1.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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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.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"]] Rendered accounts/_form.html.erb (5.3ms) Completed 200 OK in 18ms (Views: 16.4ms | 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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: 2.0ms | 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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.7ms) 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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.7ms) Completed 200 OK in 5ms (Views: 4.0ms | 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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.4ms | 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#new as HTML Rendered clients/_form.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 2.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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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.0ms | 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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('505f1c1203b25739ad000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000002'), "mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000001'), "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"=>"505f1c1203b25739ad000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/505f1c1203b25739ad000001/mongo_accounts/505f1c1203b25739ad000003 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000005'), "mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000004'), "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"=>"505f1c1203b25739ad000004", "id"=>"505f1c1203b25739ad000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000004'), :_id=>BSON::ObjectId('505f1c1203b25739ad000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('505f1c1203b25739ad000005')}) Redirected to http://test.host/mongo_client/505f1c1203b25739ad000004/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.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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000007'), "mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"505f1c1203b25739ad000006", "id"=>"505f1c1203b25739ad000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000006'), :_id=>BSON::ObjectId('505f1c1203b25739ad000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 5.1ms | 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000009'), "mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f1c1203b25739ad000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 6ms (Views: 4.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 (22.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad00000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad00000b'), "mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad00000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f1c1203b25739ad00000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad00000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad00000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad00000e'), "mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad00000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f1c1203b25739ad00000d", "id"=>"505f1c1203b25739ad00000e"} MONGODB (4ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad00000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad00000d'), :_id=>BSON::ObjectId('505f1c1203b25739ad00000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 11ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad00000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000010'), "mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad00000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f1c1203b25739ad00000f", "id"=>"505f1c1203b25739ad000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad00000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad00000f'), :_id=>BSON::ObjectId('505f1c1203b25739ad000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/505f1c1203b25739ad000010/mongo_accounts/505f1c1203b25739ad000010 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000012'), "mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f1c1203b25739ad000011", "id"=>"505f1c1203b25739ad000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000011'), :_id=>BSON::ObjectId('505f1c1203b25739ad000012')}).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/505f1c1203b25739ad000012/mongo_accounts/505f1c1203b25739ad000012 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000014'), "mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000013'), "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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f1c1203b25739ad000013", "id"=>"505f1c1203b25739ad000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000013'), :_id=>BSON::ObjectId('505f1c1203b25739ad000014')}).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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000016'), "mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"505f1c1203b25739ad000015", "id"=>"505f1c1203b25739ad000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000015'), :_id=>BSON::ObjectId('505f1c1203b25739ad000016')}).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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000018'), "mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f1c1203b25739ad000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad000017')}).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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad00001a'), "mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f1c1203b25739ad000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad000019')}).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.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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad00001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad00001d'), "mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad00001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f1c1203b25739ad00001c", "id"=>"505f1c1203b25739ad00001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad00001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c1203b25739ad00001c'), :_id=>BSON::ObjectId('505f1c1203b25739ad00001d')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.2ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad00001e'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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('505f1c1203b25739ad00001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/505f1c1203b25739ad00001f 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('505f1c1203b25739ad000020'), "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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 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"=>"505f1c1203b25739ad000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('505f1c1203b25739ad000020')}) 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('505f1c1203b25739ad000021'), "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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"505f1c1203b25739ad000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000022'), "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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 1265248089032468682 Completed 200 OK in 146ms (Views: 145.2ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000023'), "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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#new as HTML Rendered mongo_clients/_form.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000025'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"505f1c1203b25739ad000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000026'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"505f1c1203b25739ad000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c1203b25739ad000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/505f1c1203b25739ad000026 Completed 302 Found in 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad00002f'), "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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c1203b25739ad000030'), "created_by_id"=>1}]) User Load (0.1ms) 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00]]  (0.1ms) 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:26:26 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", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:26:26 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:26:26 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 14:26:26 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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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 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.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.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 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:26:27 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:27 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", Sun, 23 Sep 2012 14:26:27 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:27 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", Sun, 23 Sep 2012 14:26:27 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:27 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.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:26:27 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:27 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", Sun, 23 Sep 2012 14:26:27 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:27 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", Sun, 23 Sep 2012 14:26:27 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:27 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", Sun, 23 Sep 2012 14:26:27 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:27 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.7ms) Completed 200 OK in 7ms (Views: 4.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", Sun, 23 Sep 2012 14:26:27 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:27 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", Sun, 23 Sep 2012 14:26:27 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:27 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.7ms | 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", Sun, 23 Sep 2012 14:26:27 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:27 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", Sun, 23 Sep 2012 14:26:27 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:27 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.1ms | 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", Sun, 23 Sep 2012 14:26:27 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:27 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", Sun, 23 Sep 2012 14:26:27 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:27 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.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", Sun, 23 Sep 2012 14:26:27 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:26:27 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", Sun, 23 Sep 2012 14:26:27 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:26:27 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.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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", 1], ["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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"  (2.1ms) 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.3ms)  (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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.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"]] Rendered accounts/_form.html.erb (5.4ms) Completed 200 OK in 19ms (Views: 16.7ms | 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.9ms | 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.9ms) 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27: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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27: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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27: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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.7ms) Completed 200 OK in 5ms (Views: 4.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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27: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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27: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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27: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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27: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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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('505f1c6003b25739b7000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000002'), "mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000001'), "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"=>"505f1c6003b25739b7000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b7000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/505f1c6003b25739b7000001/mongo_accounts/505f1c6003b25739b7000003 Completed 302 Found in 3ms (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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000005'), "mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000004'), "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"=>"505f1c6003b25739b7000004", "id"=>"505f1c6003b25739b7000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b7000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000004'), :_id=>BSON::ObjectId('505f1c6003b25739b7000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('505f1c6003b25739b7000005')}) Redirected to http://test.host/mongo_client/505f1c6003b25739b7000004/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.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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000007'), "mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"505f1c6003b25739b7000006", "id"=>"505f1c6003b25739b7000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b7000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000006'), :_id=>BSON::ObjectId('505f1c6003b25739b7000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 4.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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000009'), "mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f1c6003b25739b7000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b7000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b7000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (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 (22.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b700000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b700000b'), "mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b700000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f1c6003b25739b700000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b700000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b700000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b700000e'), "mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b700000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f1c6003b25739b700000d", "id"=>"505f1c6003b25739b700000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b700000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b700000d'), :_id=>BSON::ObjectId('505f1c6003b25739b700000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b700000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000010'), "mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b700000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f1c6003b25739b700000f", "id"=>"505f1c6003b25739b7000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b700000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b700000f'), :_id=>BSON::ObjectId('505f1c6003b25739b7000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/505f1c6003b25739b7000010/mongo_accounts/505f1c6003b25739b7000010 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000012'), "mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f1c6003b25739b7000011", "id"=>"505f1c6003b25739b7000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b7000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000011'), :_id=>BSON::ObjectId('505f1c6003b25739b7000012')}).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/505f1c6003b25739b7000012/mongo_accounts/505f1c6003b25739b7000012 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000014'), "mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000013'), "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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f1c6003b25739b7000013", "id"=>"505f1c6003b25739b7000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b7000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000013'), :_id=>BSON::ObjectId('505f1c6003b25739b7000014')}).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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000016'), "mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"505f1c6003b25739b7000015", "id"=>"505f1c6003b25739b7000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b7000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000015'), :_id=>BSON::ObjectId('505f1c6003b25739b7000016')}).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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000018'), "mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f1c6003b25739b7000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b7000017')}).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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b700001a'), "mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b7000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f1c6003b25739b7000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b7000019')}).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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b700001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b700001d'), "mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b700001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f1c6003b25739b700001c", "id"=>"505f1c6003b25739b700001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b700001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f1c6003b25739b700001c'), :_id=>BSON::ObjectId('505f1c6003b25739b700001d')}).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('505f1c6003b25739b700001e'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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('505f1c6003b25739b700001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/505f1c6003b25739b700001f 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('505f1c6003b25739b7000020'), "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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 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"=>"505f1c6003b25739b7000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b7000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b7000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('505f1c6003b25739b7000020')}) 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('505f1c6003b25739b7000021'), "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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"505f1c6003b25739b7000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b7000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000022'), "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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 1468638816545200507 Completed 200 OK in 167ms (Views: 165.9ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000023'), "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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#new as HTML Rendered mongo_clients/_form.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000025'), "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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"505f1c6003b25739b7000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b7000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000026'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"505f1c6003b25739b7000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f1c6003b25739b7000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/505f1c6003b25739b7000026 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b700002f'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f1c6003b25739b7000030'), "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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 14:27:44 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", Sun, 23 Sep 2012 14:27:44 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 14:27:44 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.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.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.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  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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", Sun, 23 Sep 2012 14:27:45 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:45 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", Sun, 23 Sep 2012 14:27:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:45 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", Sun, 23 Sep 2012 14:27:45 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:45 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", Sun, 23 Sep 2012 14:27:45 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:45 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", Sun, 23 Sep 2012 14:27:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:45 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", Sun, 23 Sep 2012 14:27:45 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:45 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", Sun, 23 Sep 2012 14:27:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:45 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", Sun, 23 Sep 2012 14:27:45 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:45 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", Sun, 23 Sep 2012 14:27:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:45 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.6ms | 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", Sun, 23 Sep 2012 14:27:45 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:45 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", Sun, 23 Sep 2012 14:27:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:45 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", Sun, 23 Sep 2012 14:27:45 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:45 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", Sun, 23 Sep 2012 14:27:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:45 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: 2.0ms | 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", Sun, 23 Sep 2012 14:27:45 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 14:27:45 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", Sun, 23 Sep 2012 14:27:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 14:27:45 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.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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.4ms) 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 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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.4ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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 (2.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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 14ms (ActiveRecord: 0.5ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (1.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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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.3ms)  (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 (18.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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 17ms (Views: 15.4ms | 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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.9ms | 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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.5ms) Completed 200 OK in 5ms (Views: 3.7ms | 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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: 2.2ms | ActiveRecord: 0.1ms)  (0.6ms) 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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.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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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"]] Completed 500 Internal Server Error in 22ms  (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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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.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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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.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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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.3ms | 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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.4ms | 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 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('505f2e3303b25745a4000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000002'), "mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a4000001'), "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"=>"505f2e3303b25745a4000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3303b25745a4000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a4000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/505f2e3303b25745a4000001/mongo_accounts/505f2e3303b25745a4000003 Completed 302 Found in 3ms (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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000005'), "mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a4000004'), "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"=>"505f2e3303b25745a4000004", "id"=>"505f2e3303b25745a4000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3303b25745a4000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a4000004'), :_id=>BSON::ObjectId('505f2e3303b25745a4000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('505f2e3303b25745a4000005')}) Redirected to http://test.host/mongo_client/505f2e3303b25745a4000004/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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000007'), "mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a4000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"505f2e3303b25745a4000006", "id"=>"505f2e3303b25745a4000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3303b25745a4000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a4000006'), :_id=>BSON::ObjectId('505f2e3303b25745a4000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000009'), "mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a4000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f2e3303b25745a4000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3303b25745a4000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a4000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3303b25745a4000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 28ms (Views: 26.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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a400000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a400000b'), "mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a400000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f2e3303b25745a400000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3303b25745a400000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.3ms) 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a400000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a400000e'), "mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a400000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f2e3303b25745a400000d", "id"=>"505f2e3303b25745a400000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3303b25745a400000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a400000d'), :_id=>BSON::ObjectId('505f2e3303b25745a400000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.1ms | 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a400000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000010'), "mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a400000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f2e3303b25745a400000f", "id"=>"505f2e3303b25745a4000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3303b25745a400000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a400000f'), :_id=>BSON::ObjectId('505f2e3303b25745a4000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/505f2e3303b25745a4000010/mongo_accounts/505f2e3303b25745a4000010 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:43:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000012'), "mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a4000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f2e3303b25745a4000011", "id"=>"505f2e3303b25745a4000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3303b25745a4000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a4000011'), :_id=>BSON::ObjectId('505f2e3303b25745a4000012')}).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/505f2e3303b25745a4000012/mongo_accounts/505f2e3303b25745a4000012 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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:43:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000014'), "mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a4000013'), "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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 15:43:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f2e3303b25745a4000013", "id"=>"505f2e3303b25745a4000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3303b25745a4000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a4000013'), :_id=>BSON::ObjectId('505f2e3303b25745a4000014')}).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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:43:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000016'), "mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a4000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"505f2e3303b25745a4000015", "id"=>"505f2e3303b25745a4000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3303b25745a4000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a4000015'), :_id=>BSON::ObjectId('505f2e3303b25745a4000016')}).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", Sun, 23 Sep 2012 15:43:47 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:43:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3303b25745a4000018'), "mongo_client_id"=>BSON::ObjectId('505f2e3303b25745a4000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f2e3303b25745a4000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3303b25745a4000017')}).limit(-1).sort([[:_id, :asc]]) 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:43:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2e3403b25745a4000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3403b25745a400001a'), "mongo_client_id"=>BSON::ObjectId('505f2e3403b25745a4000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f2e3403b25745a4000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3403b25745a4000019')}).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.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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:43:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2e3403b25745a400001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3403b25745a400001d'), "mongo_client_id"=>BSON::ObjectId('505f2e3403b25745a400001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f2e3403b25745a400001c", "id"=>"505f2e3403b25745a400001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3403b25745a400001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2e3403b25745a400001c'), :_id=>BSON::ObjectId('505f2e3403b25745a400001d')}).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('505f2e3403b25745a400001e'), "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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:48 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('505f2e3403b25745a400001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/505f2e3403b25745a400001f 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('505f2e3403b25745a4000020'), "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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:48 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"=>"505f2e3403b25745a4000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3403b25745a4000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3403b25745a4000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('505f2e3403b25745a4000020')}) 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('505f2e3403b25745a4000021'), "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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"505f2e3403b25745a4000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3403b25745a4000021')}).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('505f2e3403b25745a4000022'), "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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 8965504966157171537 Completed 200 OK in 168ms (Views: 167.3ms | ActiveRecord: 0.0ms)  (1.8ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2e3403b25745a4000023'), "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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#new as HTML Rendered mongo_clients/_form.html.erb (1.2ms) 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('505f2e3403b25745a4000025'), "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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"505f2e3403b25745a4000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3403b25745a4000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2e3403b25745a4000026'), "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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"505f2e3403b25745a4000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2e3403b25745a4000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/505f2e3403b25745a4000026 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:43:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3403b25745a400002f'), "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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2e3403b25745a4000030'), "created_by_id"=>1}]) User Load (0.1ms) 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 15:43:48 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.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.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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:48 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.3ms)  (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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:48 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: 4.4ms | 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:48 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", Sun, 23 Sep 2012 15:43:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#new as HTML Rendered users/_form.html.erb (24.8ms) Completed 200 OK in 28ms (Views: 26.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", Sun, 23 Sep 2012 15:43:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:49 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", Sun, 23 Sep 2012 15:43:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:49 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.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", Sun, 23 Sep 2012 15:43:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:43:49 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", Sun, 23 Sep 2012 15:43:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:43:49 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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 (2.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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 (18.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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 19ms (Views: 16.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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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.1ms | 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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.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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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: 2.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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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"]] Completed 500 Internal Server Error in 22ms  (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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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.4ms | ActiveRecord: 0.1ms)  (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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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.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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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.0ms | 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:49 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 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('505f2ee903b25747b1000001'), "accountant_id"=>1}]) MONGODB (5ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2ee903b25747b1000002'), "mongo_client_id"=>BSON::ObjectId('505f2ee903b25747b1000001'), "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"=>"505f2ee903b25747b1000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2ee903b25747b1000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2ee903b25747b1000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('505f2ee903b25747b1000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/505f2ee903b25747b1000001/mongo_accounts/505f2ee903b25747b1000003 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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2ee903b25747b1000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2ee903b25747b1000005'), "mongo_client_id"=>BSON::ObjectId('505f2ee903b25747b1000004'), "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"=>"505f2ee903b25747b1000004", "id"=>"505f2ee903b25747b1000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2ee903b25747b1000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2ee903b25747b1000004'), :_id=>BSON::ObjectId('505f2ee903b25747b1000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('505f2ee903b25747b1000005')}) Redirected to http://test.host/mongo_client/505f2ee903b25747b1000004/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.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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2ee903b25747b1000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2ee903b25747b1000007'), "mongo_client_id"=>BSON::ObjectId('505f2ee903b25747b1000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"505f2ee903b25747b1000006", "id"=>"505f2ee903b25747b1000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2ee903b25747b1000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2ee903b25747b1000006'), :_id=>BSON::ObjectId('505f2ee903b25747b1000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2ee903b25747b1000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2ee903b25747b1000009'), "mongo_client_id"=>BSON::ObjectId('505f2ee903b25747b1000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f2ee903b25747b1000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2ee903b25747b1000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2ee903b25747b1000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2ee903b25747b1000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 28ms (Views: 26.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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2ee903b25747b100000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2ee903b25747b100000b'), "mongo_client_id"=>BSON::ObjectId('505f2ee903b25747b100000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f2ee903b25747b100000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2ee903b25747b100000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.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", Sun, 23 Sep 2012 15:46:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2ee903b25747b100000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2ee903b25747b100000e'), "mongo_client_id"=>BSON::ObjectId('505f2ee903b25747b100000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f2ee903b25747b100000d", "id"=>"505f2ee903b25747b100000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2ee903b25747b100000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2ee903b25747b100000d'), :_id=>BSON::ObjectId('505f2ee903b25747b100000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.0ms | 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b100000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b1000010'), "mongo_client_id"=>BSON::ObjectId('505f2eea03b25747b100000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f2eea03b25747b100000f", "id"=>"505f2eea03b25747b1000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2eea03b25747b100000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2eea03b25747b100000f'), :_id=>BSON::ObjectId('505f2eea03b25747b1000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/505f2eea03b25747b1000010/mongo_accounts/505f2eea03b25747b1000010 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b1000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b1000012'), "mongo_client_id"=>BSON::ObjectId('505f2eea03b25747b1000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f2eea03b25747b1000011", "id"=>"505f2eea03b25747b1000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2eea03b25747b1000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2eea03b25747b1000011'), :_id=>BSON::ObjectId('505f2eea03b25747b1000012')}).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/505f2eea03b25747b1000012/mongo_accounts/505f2eea03b25747b1000012 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b1000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b1000014'), "mongo_client_id"=>BSON::ObjectId('505f2eea03b25747b1000013'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f2eea03b25747b1000013", "id"=>"505f2eea03b25747b1000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2eea03b25747b1000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2eea03b25747b1000013'), :_id=>BSON::ObjectId('505f2eea03b25747b1000014')}).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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b1000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b1000016'), "mongo_client_id"=>BSON::ObjectId('505f2eea03b25747b1000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"505f2eea03b25747b1000015", "id"=>"505f2eea03b25747b1000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2eea03b25747b1000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2eea03b25747b1000015'), :_id=>BSON::ObjectId('505f2eea03b25747b1000016')}).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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b1000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b1000018'), "mongo_client_id"=>BSON::ObjectId('505f2eea03b25747b1000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f2eea03b25747b1000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2eea03b25747b1000017')}).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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b1000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b100001a'), "mongo_client_id"=>BSON::ObjectId('505f2eea03b25747b1000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f2eea03b25747b1000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2eea03b25747b1000019')}).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 4ms  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b100001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b100001d'), "mongo_client_id"=>BSON::ObjectId('505f2eea03b25747b100001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f2eea03b25747b100001c", "id"=>"505f2eea03b25747b100001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2eea03b25747b100001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f2eea03b25747b100001c'), :_id=>BSON::ObjectId('505f2eea03b25747b100001d')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 3ms  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b100001e'), "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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:50 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('505f2eea03b25747b100001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/505f2eea03b25747b100001f 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('505f2eea03b25747b1000020'), "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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:50 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"=>"505f2eea03b25747b1000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2eea03b25747b1000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2eea03b25747b1000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('505f2eea03b25747b1000020')}) 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('505f2eea03b25747b1000021'), "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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"505f2eea03b25747b1000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2eea03b25747b1000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b1000022'), "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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 1739233588832846444 Completed 200 OK in 200ms (Views: 199.2ms | ActiveRecord: 0.0ms)  (1.8ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b1000023'), "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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#new as HTML Rendered mongo_clients/_form.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b1000025'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"505f2eea03b25747b1000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2eea03b25747b1000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b1000026'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"505f2eea03b25747b1000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f2eea03b25747b1000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/505f2eea03b25747b1000026 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b100002f'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f2eea03b25747b1000030'), "created_by_id"=>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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 15:46:50 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.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 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.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.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 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.2ms) 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:50 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.1ms) SELECT COUNT(*) FROM "users"   (0.5ms) 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:50 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: 4.4ms | 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:50 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.7ms | 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:50 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 5ms (Views: 2.7ms | 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:50 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.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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 15:46:50 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", Sun, 23 Sep 2012 15:46:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 15:46:50 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.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] 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 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 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.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.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.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.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 (20.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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 15ms (ActiveRecord: 0.5ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (2.1ms) 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (18.0ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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.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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 UTC +00:00]]  (0.1ms) 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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.4ms) Completed 200 OK in 19ms (Views: 16.6ms | 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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.9ms | 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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.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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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.2ms) 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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.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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients/2 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:35 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", Sun, 23 Sep 2012 16:23:35 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:35 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.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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 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.0ms | 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 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.0ms | 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 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.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/clients/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" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 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('505f378803b2574c84000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000002'), "mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000001'), "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"=>"505f378803b2574c84000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c84000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/505f378803b2574c84000001/mongo_accounts/505f378803b2574c84000003 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.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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000005'), "mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000004'), "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"=>"505f378803b2574c84000004", "id"=>"505f378803b2574c84000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c84000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000004'), :_id=>BSON::ObjectId('505f378803b2574c84000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('505f378803b2574c84000005')}) Redirected to http://test.host/mongo_client/505f378803b2574c84000004/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.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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000007'), "mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"505f378803b2574c84000006", "id"=>"505f378803b2574c84000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c84000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000006'), :_id=>BSON::ObjectId('505f378803b2574c84000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000009'), "mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f378803b2574c84000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c84000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c84000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 29ms (Views: 4.1ms | 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c8400000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c8400000b'), "mongo_client_id"=>BSON::ObjectId('505f378803b2574c8400000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f378803b2574c8400000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c8400000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.3ms) 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c8400000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c8400000e'), "mongo_client_id"=>BSON::ObjectId('505f378803b2574c8400000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f378803b2574c8400000d", "id"=>"505f378803b2574c8400000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c8400000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f378803b2574c8400000d'), :_id=>BSON::ObjectId('505f378803b2574c8400000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.1ms | 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c8400000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000010'), "mongo_client_id"=>BSON::ObjectId('505f378803b2574c8400000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f378803b2574c8400000f", "id"=>"505f378803b2574c84000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c8400000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f378803b2574c8400000f'), :_id=>BSON::ObjectId('505f378803b2574c84000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/505f378803b2574c84000010/mongo_accounts/505f378803b2574c84000010 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000012'), "mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f378803b2574c84000011", "id"=>"505f378803b2574c84000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c84000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000011'), :_id=>BSON::ObjectId('505f378803b2574c84000012')}).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/505f378803b2574c84000012/mongo_accounts/505f378803b2574c84000012 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000014'), "mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000013'), "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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f378803b2574c84000013", "id"=>"505f378803b2574c84000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c84000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (8ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000013'), :_id=>BSON::ObjectId('505f378803b2574c84000014')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 11ms  (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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000016'), "mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"505f378803b2574c84000015", "id"=>"505f378803b2574c84000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c84000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000015'), :_id=>BSON::ObjectId('505f378803b2574c84000016')}).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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000018'), "mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f378803b2574c84000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c84000017')}).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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c8400001a'), "mongo_client_id"=>BSON::ObjectId('505f378803b2574c84000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f378803b2574c84000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c84000019')}).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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c8400001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c8400001d'), "mongo_client_id"=>BSON::ObjectId('505f378803b2574c8400001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f378803b2574c8400001c", "id"=>"505f378803b2574c8400001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c8400001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f378803b2574c8400001c'), :_id=>BSON::ObjectId('505f378803b2574c8400001d')}).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('505f378803b2574c8400001e'), "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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 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('505f378803b2574c8400001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/505f378803b2574c8400001f 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('505f378803b2574c84000020'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 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"=>"505f378803b2574c84000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c84000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c84000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('505f378803b2574c84000020')}) 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('505f378803b2574c84000021'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"505f378803b2574c84000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c84000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000022'), "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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 4166942957883157544 Completed 200 OK in 210ms (Views: 209.3ms | ActiveRecord: 0.0ms)  (1.6ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000023'), "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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 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.2ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000025'), "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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"505f378803b2574c84000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c84000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000026'), "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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"505f378803b2574c84000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f378803b2574c84000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/505f378803b2574c84000026 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:23:36 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" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:23:36 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" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c8400002f'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f378803b2574c84000030'), "created_by_id"=>1}]) User Load (0.1ms) 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:23:36 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", Sun, 23 Sep 2012 16:23:36 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 16:23:36 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.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  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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", Sun, 23 Sep 2012 16:23:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:37 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", Sun, 23 Sep 2012 16:23:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:37 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", Sun, 23 Sep 2012 16:23:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:37 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", Sun, 23 Sep 2012 16:23:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:37 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", Sun, 23 Sep 2012 16:23:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:37 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", Sun, 23 Sep 2012 16:23:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:37 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", Sun, 23 Sep 2012 16:23:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:37 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 (2.0ms) Completed 200 OK in 7ms (Views: 4.5ms | 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", Sun, 23 Sep 2012 16:23:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:37 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", Sun, 23 Sep 2012 16:23:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:37 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", Sun, 23 Sep 2012 16:23:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:37 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", Sun, 23 Sep 2012 16:23:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:37 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 5ms (Views: 2.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", Sun, 23 Sep 2012 16:23:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:37 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", Sun, 23 Sep 2012 16:23:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:37 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.0ms | 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", Sun, 23 Sep 2012 16:23:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:23:37 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", Sun, 23 Sep 2012 16:23:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:23:37 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.5ms) begin transaction  (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 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 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 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.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 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.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 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.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 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 (20.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", 1], ["created_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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 14ms (ActiveRecord: 0.5ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (2.1ms) 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.1ms) 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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.4ms) Completed 200 OK in 17ms (Views: 15.4ms | 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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.2ms | 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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.3ms) Completed 200 OK in 6ms (Views: 3.9ms | 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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: 2.0ms | 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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 22ms  (2.1ms) 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#new as HTML Parameters: {"client_id"=>"1"} Client Load (0.1ms) 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 3ms  (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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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 500 Internal Server Error in 2ms  (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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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.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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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.7ms) Completed 200 OK in 5ms (Views: 4.2ms | 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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.4ms | 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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.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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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.0ms | 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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('505f3c8403b2575657000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000002'), "mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000001'), "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"=>"505f3c8403b2575657000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b2575657000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/505f3c8403b2575657000001/mongo_accounts/505f3c8403b2575657000003 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000005'), "mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000004'), "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"=>"505f3c8403b2575657000004", "id"=>"505f3c8403b2575657000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b2575657000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000004'), :_id=>BSON::ObjectId('505f3c8403b2575657000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('505f3c8403b2575657000005')}) Redirected to http://test.host/mongo_client/505f3c8403b2575657000004/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.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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000007'), "mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"505f3c8403b2575657000006", "id"=>"505f3c8403b2575657000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b2575657000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000006'), :_id=>BSON::ObjectId('505f3c8403b2575657000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.5ms) Completed 200 OK in 7ms (Views: 5.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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000009'), "mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f3c8403b2575657000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b2575657000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b2575657000008')}).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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b257565700000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b257565700000b'), "mongo_client_id"=>BSON::ObjectId('505f3c8403b257565700000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f3c8403b257565700000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b257565700000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.3ms) 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b257565700000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b257565700000e'), "mongo_client_id"=>BSON::ObjectId('505f3c8403b257565700000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f3c8403b257565700000d", "id"=>"505f3c8403b257565700000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b257565700000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3c8403b257565700000d'), :_id=>BSON::ObjectId('505f3c8403b257565700000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b257565700000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000010'), "mongo_client_id"=>BSON::ObjectId('505f3c8403b257565700000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f3c8403b257565700000f", "id"=>"505f3c8403b2575657000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b257565700000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3c8403b257565700000f'), :_id=>BSON::ObjectId('505f3c8403b2575657000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/505f3c8403b2575657000010/mongo_accounts/505f3c8403b2575657000010 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000012'), "mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f3c8403b2575657000011", "id"=>"505f3c8403b2575657000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b2575657000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000011'), :_id=>BSON::ObjectId('505f3c8403b2575657000012')}).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/505f3c8403b2575657000012/mongo_accounts/505f3c8403b2575657000012 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000014'), "mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000013'), "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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f3c8403b2575657000013", "id"=>"505f3c8403b2575657000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b2575657000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000013'), :_id=>BSON::ObjectId('505f3c8403b2575657000014')}).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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000016'), "mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"505f3c8403b2575657000015", "id"=>"505f3c8403b2575657000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b2575657000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000015'), :_id=>BSON::ObjectId('505f3c8403b2575657000016')}).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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000018'), "mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f3c8403b2575657000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b2575657000017')}).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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b257565700001a'), "mongo_client_id"=>BSON::ObjectId('505f3c8403b2575657000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f3c8403b2575657000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b2575657000019')}).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.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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b257565700001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b257565700001d'), "mongo_client_id"=>BSON::ObjectId('505f3c8403b257565700001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f3c8403b257565700001c", "id"=>"505f3c8403b257565700001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b257565700001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3c8403b257565700001c'), :_id=>BSON::ObjectId('505f3c8403b257565700001d')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b257565700001e'), "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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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('505f3c8403b257565700001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/505f3c8403b257565700001f 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('505f3c8403b2575657000020'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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"=>"505f3c8403b2575657000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b2575657000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b2575657000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('505f3c8403b2575657000020')}) 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('505f3c8403b2575657000021'), "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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"505f3c8403b2575657000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b2575657000021')}).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.2ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000022'), "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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 6658146645240473002 Completed 200 OK in 227ms (Views: 226.4ms | ActiveRecord: 0.0ms)  (1.7ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000023'), "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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 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('505f3c8403b2575657000025'), "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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"505f3c8403b2575657000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b2575657000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000026'), "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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"505f3c8403b2575657000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3c8403b2575657000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/505f3c8403b2575657000026 Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (2.2ms) 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b257565700002f'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3c8403b2575657000030'), "created_by_id"=>1}]) User Load (0.1ms) 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:44:52 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:44:52 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", Sun, 23 Sep 2012 16:44:52 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 16:44:52 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.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.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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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", Sun, 23 Sep 2012 16:44:53 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:53 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", Sun, 23 Sep 2012 16:44:53 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:53 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", Sun, 23 Sep 2012 16:44:53 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:53 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.5ms) 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", Sun, 23 Sep 2012 16:44:53 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:53 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", Sun, 23 Sep 2012 16:44:53 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:53 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", Sun, 23 Sep 2012 16:44:53 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:53 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", Sun, 23 Sep 2012 16:44:53 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:53 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: 4.4ms | 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", Sun, 23 Sep 2012 16:44:53 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:53 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", Sun, 23 Sep 2012 16:44:53 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:53 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: 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", Sun, 23 Sep 2012 16:44:53 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:53 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", Sun, 23 Sep 2012 16:44:53 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#new as HTML Rendered users/_form.html.erb (1.2ms) Completed 200 OK in 5ms (Views: 3.0ms | 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", Sun, 23 Sep 2012 16:44:53 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:53 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", Sun, 23 Sep 2012 16:44:53 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:53 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.0ms | 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", Sun, 23 Sep 2012 16:44:53 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:44:53 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", Sun, 23 Sep 2012 16:44:53 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:44:53 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 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (20.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", 1], ["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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 16ms (ActiveRecord: 0.5ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (2.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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (19.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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 19ms (Views: 16.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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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.9ms | 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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.3ms) Completed 200 OK in 5ms (Views: 3.0ms | 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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: 2.0ms | 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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 23ms  (2.8ms) 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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.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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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.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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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.7ms) 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.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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.1ms | ActiveRecord: 0.1ms)  (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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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.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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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('505f3d5f03b25756c9000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000002'), "mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000001'), "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"=>"505f3d5f03b25756c9000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c9000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/505f3d5f03b25756c9000001/mongo_accounts/505f3d5f03b25756c9000003 Completed 302 Found in 3ms (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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000005'), "mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000004'), "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"=>"505f3d5f03b25756c9000004", "id"=>"505f3d5f03b25756c9000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c9000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000004'), :_id=>BSON::ObjectId('505f3d5f03b25756c9000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('505f3d5f03b25756c9000005')}) Redirected to http://test.host/mongo_client/505f3d5f03b25756c9000004/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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000007'), "mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"505f3d5f03b25756c9000006", "id"=>"505f3d5f03b25756c9000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c9000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000006'), :_id=>BSON::ObjectId('505f3d5f03b25756c9000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 5.3ms | 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000009'), "mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f3d5f03b25756c9000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c9000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c9000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 7ms (Views: 4.4ms | 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c900000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c900000b'), "mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c900000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f3d5f03b25756c900000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c900000a')}).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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c900000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c900000e'), "mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c900000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f3d5f03b25756c900000d", "id"=>"505f3d5f03b25756c900000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c900000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c900000d'), :_id=>BSON::ObjectId('505f3d5f03b25756c900000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c900000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000010'), "mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c900000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f3d5f03b25756c900000f", "id"=>"505f3d5f03b25756c9000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c900000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c900000f'), :_id=>BSON::ObjectId('505f3d5f03b25756c9000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/505f3d5f03b25756c9000010/mongo_accounts/505f3d5f03b25756c9000010 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000012'), "mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f3d5f03b25756c9000011", "id"=>"505f3d5f03b25756c9000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c9000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000011'), :_id=>BSON::ObjectId('505f3d5f03b25756c9000012')}).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/505f3d5f03b25756c9000012/mongo_accounts/505f3d5f03b25756c9000012 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000014'), "mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000013'), "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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f3d5f03b25756c9000013", "id"=>"505f3d5f03b25756c9000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c9000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000013'), :_id=>BSON::ObjectId('505f3d5f03b25756c9000014')}).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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000016'), "mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"505f3d5f03b25756c9000015", "id"=>"505f3d5f03b25756c9000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c9000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000015'), :_id=>BSON::ObjectId('505f3d5f03b25756c9000016')}).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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000018'), "mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f3d5f03b25756c9000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c9000017')}).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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c900001a'), "mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c9000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f3d5f03b25756c9000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c9000019')}).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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c900001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c900001d'), "mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c900001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f3d5f03b25756c900001c", "id"=>"505f3d5f03b25756c900001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c900001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3d5f03b25756c900001c'), :_id=>BSON::ObjectId('505f3d5f03b25756c900001d')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.2ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c900001e'), "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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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('505f3d5f03b25756c900001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/505f3d5f03b25756c900001f 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('505f3d5f03b25756c9000020'), "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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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"=>"505f3d5f03b25756c9000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c9000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c9000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('505f3d5f03b25756c9000020')}) 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.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000021'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"505f3d5f03b25756c9000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c9000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000022'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 1129798122038869404 Completed 200 OK in 260ms (Views: 258.7ms | ActiveRecord: 0.0ms)  (1.7ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000023'), "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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 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.2ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000025'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"505f3d5f03b25756c9000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c9000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3d5f03b25756c9000026'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"505f3d5f03b25756c9000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3d5f03b25756c9000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/505f3d5f03b25756c9000026 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:48:31 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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:31 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:31 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:48:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d6003b25756c900002f'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3d6003b25756c9000030'), "created_by_id"=>1}]) User Load (0.1ms) 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 16:48:32 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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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.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.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.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.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  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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.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) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:32 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.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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:32 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.3ms | 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:32 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.6ms | 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:32 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: 3.0ms | 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:48:32 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", Sun, 23 Sep 2012 16:48:32 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:48:32 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.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 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (19.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", 1], ["created_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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 14ms (ActiveRecord: 0.5ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (1.6ms) 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (18.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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.2ms) Completed 200 OK in 17ms (Views: 15.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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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.9ms | 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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: 2.0ms | 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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 22ms  (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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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.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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#new as HTML Rendered clients/_form.html.erb (1.1ms) Completed 200 OK in 4ms (Views: 2.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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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.9ms | 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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('505f3ff903b257573c000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000002'), "mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000001'), "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"=>"505f3ff903b257573c000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/505f3ff903b257573c000001/mongo_accounts/505f3ff903b257573c000003 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000005'), "mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000004'), "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"=>"505f3ff903b257573c000004", "id"=>"505f3ff903b257573c000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000004'), :_id=>BSON::ObjectId('505f3ff903b257573c000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('505f3ff903b257573c000005')}) Redirected to http://test.host/mongo_client/505f3ff903b257573c000004/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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000007'), "mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"505f3ff903b257573c000006", "id"=>"505f3ff903b257573c000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000006'), :_id=>BSON::ObjectId('505f3ff903b257573c000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 4.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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000009'), "mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f3ff903b257573c000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 7ms (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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c00000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c00000b'), "mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c00000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f3ff903b257573c00000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c00000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.3ms) 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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c00000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c00000e'), "mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c00000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f3ff903b257573c00000d", "id"=>"505f3ff903b257573c00000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c00000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c00000d'), :_id=>BSON::ObjectId('505f3ff903b257573c00000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c00000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000010'), "mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c00000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f3ff903b257573c00000f", "id"=>"505f3ff903b257573c000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c00000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c00000f'), :_id=>BSON::ObjectId('505f3ff903b257573c000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/505f3ff903b257573c000010/mongo_accounts/505f3ff903b257573c000010 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000012'), "mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f3ff903b257573c000011", "id"=>"505f3ff903b257573c000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000011'), :_id=>BSON::ObjectId('505f3ff903b257573c000012')}).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/505f3ff903b257573c000012/mongo_accounts/505f3ff903b257573c000012 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000014'), "mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000013'), "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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "guest"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"505f3ff903b257573c000013", "id"=>"505f3ff903b257573c000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000013'), :_id=>BSON::ObjectId('505f3ff903b257573c000014')}).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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000016'), "mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"505f3ff903b257573c000015", "id"=>"505f3ff903b257573c000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000015'), :_id=>BSON::ObjectId('505f3ff903b257573c000016')}).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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000018'), "mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"505f3ff903b257573c000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c000017')}).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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c00001a'), "mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"505f3ff903b257573c000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c000019')}).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 4ms  (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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "accountant"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c00001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c00001d'), "mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c00001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"505f3ff903b257573c00001c", "id"=>"505f3ff903b257573c00001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c00001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('505f3ff903b257573c00001c'), :_id=>BSON::ObjectId('505f3ff903b257573c00001d')}).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('505f3ff903b257573c00001e'), "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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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('505f3ff903b257573c00001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/505f3ff903b257573c00001f Completed 302 Found in 3ms (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('505f3ff903b257573c000020'), "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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 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"=>"505f3ff903b257573c000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('505f3ff903b257573c000020')}) 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.2ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000021'), "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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"505f3ff903b257573c000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ff903b257573c000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3ff903b257573c000022'), "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", Sun, 23 Sep 2012 16:59:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 1064662151266953119 Completed 200 OK in 260ms (Views: 259.2ms | ActiveRecord: 0.0ms)  (1.8ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('505f3ffa03b257573c000023'), "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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:38 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('505f3ffa03b257573c000025'), "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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"505f3ffa03b257573c000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ffa03b257573c000025')}).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('505f3ffa03b257573c000026'), "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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"505f3ffa03b257573c000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('505f3ffa03b257573c000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/505f3ffa03b257573c000026 Completed 302 Found in 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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:59: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", nil], ["created_at", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:38 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59: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", nil], ["created_at", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:59:38 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 16:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ffa03b257573c00002f'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('505f3ffa03b257573c000030'), "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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :department_manager], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :accountant], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :system_admin], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :guest], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", :blind_man], ["updated_at", Sun, 23 Sep 2012 16:59:38 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.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.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 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.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) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:38 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: 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:38 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.8ms | 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:38 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 5ms (Views: 2.8ms | 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:38 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: 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", nil], ["updated_at", Sun, 23 Sep 2012 16:59:38 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", Sun, 23 Sep 2012 16:59:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Sun, 23 Sep 2012 16:59:38 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 (27ms) 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 (20.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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", 1], ["created_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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.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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.1ms) 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", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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 18ms (Views: 15.6ms | 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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.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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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.1ms | 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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: 2.0ms | 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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 21ms  (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", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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.3ms | 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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.4ms | 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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.0ms | 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (90ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000001'), "accountant_id"=>1}]) MONGODB (8ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000002'), "mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000001'), "created_by_id"=>1}]) MONGODB (1ms) 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"=>"506451cd03b25772c4000001"} MONGODB (1ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c4000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/506451cd03b25772c4000001/mongo_accounts/506451cd03b25772c4000003 Completed 302 Found in 5ms (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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000005'), "mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000004'), "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"=>"506451cd03b25772c4000004", "id"=>"506451cd03b25772c4000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c4000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (3ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000004'), :_id=>BSON::ObjectId('506451cd03b25772c4000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('506451cd03b25772c4000005')}) Redirected to http://test.host/mongo_client/506451cd03b25772c4000004/mongo_accounts Completed 302 Found in 6ms (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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000007'), "mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"506451cd03b25772c4000006", "id"=>"506451cd03b25772c4000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c4000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000006'), :_id=>BSON::ObjectId('506451cd03b25772c4000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.1ms | 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000009'), "mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"506451cd03b25772c4000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c4000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c4000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 6ms (Views: 4.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", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c400000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c400000b'), "mongo_client_id"=>BSON::ObjectId('506451cd03b25772c400000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"506451cd03b25772c400000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c400000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.1ms | 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c400000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c400000e'), "mongo_client_id"=>BSON::ObjectId('506451cd03b25772c400000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"506451cd03b25772c400000d", "id"=>"506451cd03b25772c400000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c400000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506451cd03b25772c400000d'), :_id=>BSON::ObjectId('506451cd03b25772c400000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.1ms | 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c400000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000010'), "mongo_client_id"=>BSON::ObjectId('506451cd03b25772c400000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"506451cd03b25772c400000f", "id"=>"506451cd03b25772c4000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c400000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506451cd03b25772c400000f'), :_id=>BSON::ObjectId('506451cd03b25772c4000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/506451cd03b25772c4000010/mongo_accounts/506451cd03b25772c4000010 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000012'), "mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"506451cd03b25772c4000011", "id"=>"506451cd03b25772c4000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c4000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000011'), :_id=>BSON::ObjectId('506451cd03b25772c4000012')}).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/506451cd03b25772c4000012/mongo_accounts/506451cd03b25772c4000012 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000014'), "mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000013'), "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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"506451cd03b25772c4000013", "id"=>"506451cd03b25772c4000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c4000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000013'), :_id=>BSON::ObjectId('506451cd03b25772c4000014')}).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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000016'), "mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"506451cd03b25772c4000015", "id"=>"506451cd03b25772c4000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c4000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000015'), :_id=>BSON::ObjectId('506451cd03b25772c4000016')}).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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000018'), "mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"506451cd03b25772c4000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c4000017')}).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", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c400001a'), "mongo_client_id"=>BSON::ObjectId('506451cd03b25772c4000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"506451cd03b25772c4000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c4000019')}).limit(-1).sort([[:_id, :asc]]) User Load (0.4ms) 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.6ms) 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c400001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c400001d'), "mongo_client_id"=>BSON::ObjectId('506451cd03b25772c400001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"506451cd03b25772c400001c", "id"=>"506451cd03b25772c400001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c400001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506451cd03b25772c400001c'), :_id=>BSON::ObjectId('506451cd03b25772c400001d')}).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('506451cd03b25772c400001e'), "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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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('506451cd03b25772c400001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/506451cd03b25772c400001f 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('506451cd03b25772c4000020'), "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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 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"=>"506451cd03b25772c4000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c4000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c4000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('506451cd03b25772c4000020')}) 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('506451cd03b25772c4000021'), "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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"506451cd03b25772c4000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c4000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000022'), "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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 8910155576921525059 Completed 200 OK in 268ms (Views: 266.7ms | ActiveRecord: 0.0ms)  (1.8ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000023'), "accountant_id"=>1}]) 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#new as HTML Rendered mongo_clients/_form.html.erb (1.2ms) Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000025'), "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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"506451cd03b25772c4000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c4000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506451cd03b25772c4000026'), "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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"506451cd03b25772c4000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506451cd03b25772c4000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/506451cd03b25772c4000026 Completed 302 Found in 2ms (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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:01 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", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:17:01 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", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:17:01 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", Thu, 27 Sep 2012 13:17:01 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:17:01 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:17:02 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:02 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", Thu, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:17:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451ce03b25772c400002f'), "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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506451ce03b25772c4000030'), "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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:02 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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 27 Sep 2012 13:17:02 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.1ms) 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.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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:02 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", Thu, 27 Sep 2012 13:17:02 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:02 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", Thu, 27 Sep 2012 13:17:02 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:02 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", Thu, 27 Sep 2012 13:17:02 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:02 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: 4.4ms | 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:02 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.7ms | 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#new as HTML Rendered users/_form.html.erb (25.0ms) Completed 200 OK in 29ms (Views: 26.9ms | 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:02 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.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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:17:02 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, 27 Sep 2012 13:17:02 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:17:02 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.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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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 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 (20.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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", Thu, 27 Sep 2012 13:20:45 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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", Thu, 27 Sep 2012 13:20:45 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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 14ms (ActiveRecord: 0.4ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (2.1ms) 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (18.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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", Thu, 27 Sep 2012 13:20:45 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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 17ms (Views: 15.3ms | 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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.9ms | 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", Thu, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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.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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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: 2.0ms | 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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", Thu, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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"]] Completed 500 Internal Server Error in 23ms  (1.4ms) 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", Thu, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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", Thu, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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.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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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.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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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.3ms | 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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.4ms | 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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", Thu, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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.0ms | 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:45 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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 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", Thu, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ad03b2577379000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ad03b2577379000002'), "mongo_client_id"=>BSON::ObjectId('506452ad03b2577379000001'), "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"=>"506452ad03b2577379000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ad03b2577379000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ad03b2577379000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('506452ad03b2577379000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/506452ad03b2577379000001/mongo_accounts/506452ad03b2577379000003 Completed 302 Found in 3ms (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", Thu, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ad03b2577379000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ad03b2577379000005'), "mongo_client_id"=>BSON::ObjectId('506452ad03b2577379000004'), "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"=>"506452ad03b2577379000004", "id"=>"506452ad03b2577379000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ad03b2577379000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506452ad03b2577379000004'), :_id=>BSON::ObjectId('506452ad03b2577379000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('506452ad03b2577379000005')}) Redirected to http://test.host/mongo_client/506452ad03b2577379000004/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.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, 27 Sep 2012 13:20:45 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ad03b2577379000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ad03b2577379000007'), "mongo_client_id"=>BSON::ObjectId('506452ad03b2577379000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"506452ad03b2577379000006", "id"=>"506452ad03b2577379000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ad03b2577379000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506452ad03b2577379000006'), :_id=>BSON::ObjectId('506452ad03b2577379000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.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", Thu, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000009'), "mongo_client_id"=>BSON::ObjectId('506452ae03b2577379000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"506452ae03b2577379000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b2577379000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506452ae03b2577379000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b2577379000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 6ms (Views: 3.9ms | 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ae03b257737900000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ae03b257737900000b'), "mongo_client_id"=>BSON::ObjectId('506452ae03b257737900000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"506452ae03b257737900000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b257737900000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ae03b257737900000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ae03b257737900000e'), "mongo_client_id"=>BSON::ObjectId('506452ae03b257737900000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"506452ae03b257737900000d", "id"=>"506452ae03b257737900000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b257737900000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506452ae03b257737900000d'), :_id=>BSON::ObjectId('506452ae03b257737900000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.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", Thu, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ae03b257737900000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000010'), "mongo_client_id"=>BSON::ObjectId('506452ae03b257737900000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"506452ae03b257737900000f", "id"=>"506452ae03b2577379000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b257737900000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506452ae03b257737900000f'), :_id=>BSON::ObjectId('506452ae03b2577379000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/506452ae03b2577379000010/mongo_accounts/506452ae03b2577379000010 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000012'), "mongo_client_id"=>BSON::ObjectId('506452ae03b2577379000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"506452ae03b2577379000011", "id"=>"506452ae03b2577379000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b2577379000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506452ae03b2577379000011'), :_id=>BSON::ObjectId('506452ae03b2577379000012')}).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/506452ae03b2577379000012/mongo_accounts/506452ae03b2577379000012 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000014'), "mongo_client_id"=>BSON::ObjectId('506452ae03b2577379000013'), "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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"506452ae03b2577379000013", "id"=>"506452ae03b2577379000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b2577379000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506452ae03b2577379000013'), :_id=>BSON::ObjectId('506452ae03b2577379000014')}).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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000016'), "mongo_client_id"=>BSON::ObjectId('506452ae03b2577379000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"506452ae03b2577379000015", "id"=>"506452ae03b2577379000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b2577379000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506452ae03b2577379000015'), :_id=>BSON::ObjectId('506452ae03b2577379000016')}).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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000018'), "mongo_client_id"=>BSON::ObjectId('506452ae03b2577379000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"506452ae03b2577379000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b2577379000017')}).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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ae03b257737900001a'), "mongo_client_id"=>BSON::ObjectId('506452ae03b2577379000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"506452ae03b2577379000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b2577379000019')}).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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ae03b257737900001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ae03b257737900001d'), "mongo_client_id"=>BSON::ObjectId('506452ae03b257737900001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"506452ae03b257737900001c", "id"=>"506452ae03b257737900001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b257737900001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506452ae03b257737900001c'), :_id=>BSON::ObjectId('506452ae03b257737900001d')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ae03b257737900001e'), "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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:46 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('506452ae03b257737900001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/506452ae03b257737900001f 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('506452ae03b2577379000020'), "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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:46 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"=>"506452ae03b2577379000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b2577379000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b2577379000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('506452ae03b2577379000020')}) 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('506452ae03b2577379000021'), "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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"506452ae03b2577379000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b2577379000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000022'), "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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 5729324117721806922 Completed 200 OK in 308ms (Views: 306.9ms | ActiveRecord: 0.0ms)  (1.8ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000023'), "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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:46 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.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000025'), "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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"506452ae03b2577379000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b2577379000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000026'), "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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"506452ae03b2577379000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506452ae03b2577379000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/506452ae03b2577379000026 Completed 302 Found in 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", Thu, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 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", Thu, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:46 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", Thu, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 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", Thu, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ae03b257737900002f'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506452ae03b2577379000030'), "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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:20:46 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, 27 Sep 2012 13:20:46 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 27 Sep 2012 13:20:46 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.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 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.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 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", Thu, 27 Sep 2012 13:20:47 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:47 UTC +00:00]]  (0.1ms) 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, 27 Sep 2012 13:20:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:47 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, 27 Sep 2012 13:20:47 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:47 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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:20:47 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:47 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, 27 Sep 2012 13:20:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:47 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, 27 Sep 2012 13:20:47 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:47 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, 27 Sep 2012 13:20:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:47 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", Thu, 27 Sep 2012 13:20:47 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:47 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, 27 Sep 2012 13:20:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:47 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.8ms | 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, 27 Sep 2012 13:20:47 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:47 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, 27 Sep 2012 13:20:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:47 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.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, 27 Sep 2012 13:20:47 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:47 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, 27 Sep 2012 13:20:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:47 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", Thu, 27 Sep 2012 13:20:47 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:20:47 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, 27 Sep 2012 13:20:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:20:47 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.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  (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.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.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.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 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.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.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.1ms) 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.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 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 (20.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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 14ms (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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (18.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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"   (2.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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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.3ms) Completed 200 OK in 19ms (Views: 16.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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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: 3.0ms | 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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) Completed 200 OK in 5ms (Views: 3.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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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.9ms | 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, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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 4ms (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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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.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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 27 Sep 2012 13:25: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.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 500 Internal Server Error in 23ms  (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, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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.6ms) 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, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:25:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25: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.1ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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.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, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25: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.4ms | 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, 27 Sep 2012 13:25:58 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25:59 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.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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25:59 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.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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25: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('506453e703b25774d5000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000002'), "mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000001'), "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"=>"506453e703b25774d5000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d5000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/506453e703b25774d5000001/mongo_accounts/506453e703b25774d5000003 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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000005'), "mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000004'), "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"=>"506453e703b25774d5000004", "id"=>"506453e703b25774d5000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d5000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (8ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000004'), :_id=>BSON::ObjectId('506453e703b25774d5000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('506453e703b25774d5000005')}) Redirected to http://test.host/mongo_client/506453e703b25774d5000004/mongo_accounts Completed 302 Found in 11ms (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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000007'), "mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"506453e703b25774d5000006", "id"=>"506453e703b25774d5000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d5000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000006'), :_id=>BSON::ObjectId('506453e703b25774d5000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.4ms) 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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000009'), "mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"506453e703b25774d5000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d5000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d5000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 6ms (Views: 4.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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d500000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d500000b'), "mongo_client_id"=>BSON::ObjectId('506453e703b25774d500000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"506453e703b25774d500000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d500000a')}).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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d500000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d500000e'), "mongo_client_id"=>BSON::ObjectId('506453e703b25774d500000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"506453e703b25774d500000d", "id"=>"506453e703b25774d500000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d500000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506453e703b25774d500000d'), :_id=>BSON::ObjectId('506453e703b25774d500000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d500000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000010'), "mongo_client_id"=>BSON::ObjectId('506453e703b25774d500000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"506453e703b25774d500000f", "id"=>"506453e703b25774d5000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d500000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506453e703b25774d500000f'), :_id=>BSON::ObjectId('506453e703b25774d5000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/506453e703b25774d5000010/mongo_accounts/506453e703b25774d5000010 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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000012'), "mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"506453e703b25774d5000011", "id"=>"506453e703b25774d5000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d5000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000011'), :_id=>BSON::ObjectId('506453e703b25774d5000012')}).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/506453e703b25774d5000012/mongo_accounts/506453e703b25774d5000012 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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000014'), "mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000013'), "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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 27 Sep 2012 13:25: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"=>"506453e703b25774d5000013", "id"=>"506453e703b25774d5000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d5000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000013'), :_id=>BSON::ObjectId('506453e703b25774d5000014')}).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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000016'), "mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"506453e703b25774d5000015", "id"=>"506453e703b25774d5000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d5000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000015'), :_id=>BSON::ObjectId('506453e703b25774d5000016')}).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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000018'), "mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"506453e703b25774d5000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d5000017')}).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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d500001a'), "mongo_client_id"=>BSON::ObjectId('506453e703b25774d5000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"506453e703b25774d5000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d5000019')}).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.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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d500001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d500001d'), "mongo_client_id"=>BSON::ObjectId('506453e703b25774d500001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"506453e703b25774d500001c", "id"=>"506453e703b25774d500001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d500001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506453e703b25774d500001c'), :_id=>BSON::ObjectId('506453e703b25774d500001d')}).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('506453e703b25774d500001e'), "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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25: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('506453e703b25774d500001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/506453e703b25774d500001f 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('506453e703b25774d5000020'), "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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25: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"=>"506453e703b25774d5000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d5000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d5000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('506453e703b25774d5000020')}) 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('506453e703b25774d5000021'), "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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"506453e703b25774d5000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d5000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000022'), "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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 4331401001193422641 Completed 200 OK in 309ms (Views: 307.9ms | ActiveRecord: 0.0ms)  (1.7ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000023'), "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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25: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.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000025'), "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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"506453e703b25774d5000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d5000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000026'), "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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"506453e703b25774d5000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506453e703b25774d5000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/506453e703b25774d5000026 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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:25: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" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25:59 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, 27 Sep 2012 13:25:59 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:25: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" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:25: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 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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d500002f'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25: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.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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506453e703b25774d5000030'), "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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25: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", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:25: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 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, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:25: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:25:59 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 27 Sep 2012 13:25: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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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, 27 Sep 2012 13:26:00 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:00 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, 27 Sep 2012 13:26:00 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:00 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", Thu, 27 Sep 2012 13:26:00 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:00 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", Thu, 27 Sep 2012 13:26:00 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:00 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, 27 Sep 2012 13:26:00 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:00 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, 27 Sep 2012 13:26:00 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:00 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, 27 Sep 2012 13:26:00 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:00 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.9ms) Completed 200 OK in 7ms (Views: 4.5ms | 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, 27 Sep 2012 13:26:00 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:00 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, 27 Sep 2012 13:26:00 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:00 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.7ms | 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, 27 Sep 2012 13:26:00 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:00 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, 27 Sep 2012 13:26:00 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:00 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.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, 27 Sep 2012 13:26:00 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:00 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, 27 Sep 2012 13:26:00 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:00 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", Thu, 27 Sep 2012 13:26:00 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:00 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, 27 Sep 2012 13:26:00 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:00 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.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.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.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 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (20.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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"  (2.2ms) 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (18.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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.6ms) 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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.0ms) Completed 200 OK in 17ms (Views: 14.6ms | ActiveRecord: 0.1ms)  (0.4ms) 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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.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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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"]] Completed 500 Internal Server Error in 22ms  (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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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.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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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.3ms | 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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.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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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.0ms | 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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.0ms | 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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('5064541103b2577580000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000002'), "mongo_client_id"=>BSON::ObjectId('5064541103b2577580000001'), "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"=>"5064541103b2577580000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b2577580000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('5064541103b2577580000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/5064541103b2577580000001/mongo_accounts/5064541103b2577580000003 Completed 302 Found in 3ms (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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000005'), "mongo_client_id"=>BSON::ObjectId('5064541103b2577580000004'), "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"=>"5064541103b2577580000004", "id"=>"5064541103b2577580000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b2577580000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5064541103b2577580000004'), :_id=>BSON::ObjectId('5064541103b2577580000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('5064541103b2577580000005')}) Redirected to http://test.host/mongo_client/5064541103b2577580000004/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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000007'), "mongo_client_id"=>BSON::ObjectId('5064541103b2577580000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"5064541103b2577580000006", "id"=>"5064541103b2577580000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b2577580000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5064541103b2577580000006'), :_id=>BSON::ObjectId('5064541103b2577580000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.4ms) Completed 200 OK in 8ms (Views: 5.1ms | 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000009'), "mongo_client_id"=>BSON::ObjectId('5064541103b2577580000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5064541103b2577580000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b2577580000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5064541103b2577580000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b2577580000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 7ms (Views: 4.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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b257758000000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b257758000000b'), "mongo_client_id"=>BSON::ObjectId('5064541103b257758000000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5064541103b257758000000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b257758000000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.3ms) 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b257758000000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b257758000000e'), "mongo_client_id"=>BSON::ObjectId('5064541103b257758000000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5064541103b257758000000d", "id"=>"5064541103b257758000000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b257758000000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5064541103b257758000000d'), :_id=>BSON::ObjectId('5064541103b257758000000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b257758000000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000010'), "mongo_client_id"=>BSON::ObjectId('5064541103b257758000000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5064541103b257758000000f", "id"=>"5064541103b2577580000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b257758000000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5064541103b257758000000f'), :_id=>BSON::ObjectId('5064541103b2577580000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/5064541103b2577580000010/mongo_accounts/5064541103b2577580000010 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000012'), "mongo_client_id"=>BSON::ObjectId('5064541103b2577580000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5064541103b2577580000011", "id"=>"5064541103b2577580000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b2577580000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5064541103b2577580000011'), :_id=>BSON::ObjectId('5064541103b2577580000012')}).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/5064541103b2577580000012/mongo_accounts/5064541103b2577580000012 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000014'), "mongo_client_id"=>BSON::ObjectId('5064541103b2577580000013'), "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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "guest"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5064541103b2577580000013", "id"=>"5064541103b2577580000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b2577580000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5064541103b2577580000013'), :_id=>BSON::ObjectId('5064541103b2577580000014')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.3ms) 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000016'), "mongo_client_id"=>BSON::ObjectId('5064541103b2577580000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"5064541103b2577580000015", "id"=>"5064541103b2577580000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b2577580000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5064541103b2577580000015'), :_id=>BSON::ObjectId('5064541103b2577580000016')}).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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000018'), "mongo_client_id"=>BSON::ObjectId('5064541103b2577580000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5064541103b2577580000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b2577580000017')}).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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b257758000001a'), "mongo_client_id"=>BSON::ObjectId('5064541103b2577580000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5064541103b2577580000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b2577580000019')}).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.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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "accountant"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b257758000001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b257758000001d'), "mongo_client_id"=>BSON::ObjectId('5064541103b257758000001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5064541103b257758000001c", "id"=>"5064541103b257758000001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b257758000001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5064541103b257758000001c'), :_id=>BSON::ObjectId('5064541103b257758000001d')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b257758000001e'), "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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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('5064541103b257758000001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/5064541103b257758000001f 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('5064541103b2577580000020'), "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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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"=>"5064541103b2577580000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b2577580000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b2577580000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('5064541103b2577580000020')}) 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('5064541103b2577580000021'), "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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"5064541103b2577580000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b2577580000021')}).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.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000022'), "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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 8993163499318830183 Completed 200 OK in 327ms (Views: 326.6ms | ActiveRecord: 0.0ms)  (1.8ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000023'), "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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 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.2ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000025'), "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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"5064541103b2577580000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b2577580000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000026'), "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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"5064541103b2577580000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5064541103b2577580000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/5064541103b2577580000026 Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (2.9ms) 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:26:41 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 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" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b257758000002f'), "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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5064541103b2577580000030'), "created_by_id"=>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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :department_manager], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 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", Thu, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :accountant], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :system_admin], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :guest], ["updated_at", Thu, 27 Sep 2012 13:26:41 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, 27 Sep 2012 13:26:41 UTC +00:00], ["name", :blind_man], ["updated_at", Thu, 27 Sep 2012 13:26:41 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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.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.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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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, 27 Sep 2012 13:26:42 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26: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", Thu, 27 Sep 2012 13:26:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:42 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", Thu, 27 Sep 2012 13:26:42 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26:42 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", Thu, 27 Sep 2012 13:26:42 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:26:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:42 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", Thu, 27 Sep 2012 13:26:42 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26: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", Thu, 27 Sep 2012 13:26:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:42 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.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, 27 Sep 2012 13:26:42 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:26:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:42 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", Thu, 27 Sep 2012 13:26:42 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26: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", Thu, 27 Sep 2012 13:26:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:42 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 29ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.5ms) 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, 27 Sep 2012 13:26:42 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 27 Sep 2012 13:26:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:42 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: 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", Thu, 27 Sep 2012 13:26:42 UTC +00:00], ["name", nil], ["updated_at", Thu, 27 Sep 2012 13:26: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", Thu, 27 Sep 2012 13:26:42 UTC +00:00], ["name", "system_admin"], ["updated_at", Thu, 27 Sep 2012 13:26:42 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.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  (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.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.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.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 (2ms) 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.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.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.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.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.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.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.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.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.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.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.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 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.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.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.0ms) 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  (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.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.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.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.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 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.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.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 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.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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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.0ms) rollback transaction  (0.0ms) begin transaction  (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 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] 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.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.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.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.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.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.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.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.1ms) 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 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 (15ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client]  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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 (2ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client]  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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] 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 (2ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client] 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 (1ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client] 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 (14ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client] 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 (1ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client] 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 (2ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client] 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 (3ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client] 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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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 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 (2ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client]  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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] 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 (2ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client]  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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 (2ms) admin['$cmd'].find({:ismaster=>1}).limit(-1) accounts belongs_to [:client] mongo_accounts belongs_to [:mongo_client]  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.4ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (22.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.1ms) 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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 37ms (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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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 27ms (Views: 24.6ms | 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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.7ms | 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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 6ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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.3ms | 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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 23ms (ActiveRecord: 0.2ms)  (0.8ms) 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "guest"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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.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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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.7ms) Completed 200 OK in 5ms (Views: 4.4ms | 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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.0ms | 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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.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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (14ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000001'), "accountant_id"=>1}]) MONGODB (7ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000002'), "mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000001'), "created_by_id"=>1}]) MONGODB (2ms) 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"=>"506951e603b257bb2d000001"} MONGODB (1ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/506951e603b257bb2d000001/mongo_accounts/506951e603b257bb2d000003 Completed 302 Found in 4ms (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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000005'), "mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000004'), "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"=>"506951e603b257bb2d000004", "id"=>"506951e603b257bb2d000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (4ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000004'), :_id=>BSON::ObjectId('506951e603b257bb2d000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('506951e603b257bb2d000005')}) Redirected to http://test.host/mongo_client/506951e603b257bb2d000004/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.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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000007'), "mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"506951e603b257bb2d000006", "id"=>"506951e603b257bb2d000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000006'), :_id=>BSON::ObjectId('506951e603b257bb2d000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.4ms) Completed 200 OK in 31ms (Views: 28.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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000009'), "mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"506951e603b257bb2d000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 7ms (Views: 4.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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d00000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d00000b'), "mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d00000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"506951e603b257bb2d00000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d00000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.9ms | 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d00000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d00000e'), "mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d00000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"506951e603b257bb2d00000d", "id"=>"506951e603b257bb2d00000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d00000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d00000d'), :_id=>BSON::ObjectId('506951e603b257bb2d00000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.4ms | 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d00000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000010'), "mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d00000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"506951e603b257bb2d00000f", "id"=>"506951e603b257bb2d000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d00000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d00000f'), :_id=>BSON::ObjectId('506951e603b257bb2d000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/506951e603b257bb2d000010/mongo_accounts/506951e603b257bb2d000010 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.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000012'), "mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"506951e603b257bb2d000011", "id"=>"506951e603b257bb2d000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000011'), :_id=>BSON::ObjectId('506951e603b257bb2d000012')}).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/506951e603b257bb2d000012/mongo_accounts/506951e603b257bb2d000012 Completed 302 Found in 4ms (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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000014'), "mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000013'), "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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "guest"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"506951e603b257bb2d000013", "id"=>"506951e603b257bb2d000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000013'), :_id=>BSON::ObjectId('506951e603b257bb2d000014')}).limit(-1).sort([[:_id, :asc]]) 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000016'), "mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"506951e603b257bb2d000015", "id"=>"506951e603b257bb2d000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000015'), :_id=>BSON::ObjectId('506951e603b257bb2d000016')}).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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000018'), "mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"506951e603b257bb2d000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d000017')}).limit(-1).sort([[:_id, :asc]]) 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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d00001a'), "mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"506951e603b257bb2d000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d000019')}).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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d00001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d00001d'), "mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d00001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"506951e603b257bb2d00001c", "id"=>"506951e603b257bb2d00001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d00001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('506951e603b257bb2d00001c'), :_id=>BSON::ObjectId('506951e603b257bb2d00001d')}).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('506951e603b257bb2d00001e'), "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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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('506951e603b257bb2d00001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/506951e603b257bb2d00001f 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('506951e603b257bb2d000020'), "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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 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"=>"506951e603b257bb2d000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('506951e603b257bb2d000020')}) 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('506951e603b257bb2d000021'), "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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"506951e603b257bb2d000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e603b257bb2d000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (2.2ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e603b257bb2d000022'), "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", Mon, 01 Oct 2012 08:18:46 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 3365003252199845268 Completed 200 OK in 348ms (Views: 347.0ms | ActiveRecord: 0.0ms)  (2.5ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e703b257bb2d000023'), "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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:47 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 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e703b257bb2d000025'), "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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"506951e703b257bb2d000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e703b257bb2d000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('506951e703b257bb2d000026'), "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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"506951e703b257bb2d000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('506951e703b257bb2d000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/506951e703b257bb2d000026 Completed 302 Found in 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :blind_man], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 08:18:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e703b257bb2d00002f'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('506951e703b257bb2d000030'), "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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", :blind_man], ["updated_at", Mon, 01 Oct 2012 08:18:47 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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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.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.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.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.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 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) 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:47 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.1ms) SELECT COUNT(*) FROM "users"   (1.1ms) 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:47 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: 4.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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:47 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 7ms (Views: 4.4ms | 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:47 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.1ms | 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:47 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.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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 08:18:47 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", Mon, 01 Oct 2012 08:18:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 08:18:47 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 (24.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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 31ms (ActiveRecord: 0.4ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (0.6ms) 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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 18ms (Views: 15.7ms | 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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.7ms | 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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.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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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: 2.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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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 24ms (ActiveRecord: 0.2ms)  (0.7ms) 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "guest"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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.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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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.1ms) 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.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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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.9ms) Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.3ms) 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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.3ms) 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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.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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:14 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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.1ms) 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 3ms (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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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('5069949203b257c9d9000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000002'), "mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000001'), "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"=>"5069949203b257c9d9000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d9000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/5069949203b257c9d9000001/mongo_accounts/5069949203b257c9d9000003 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000005'), "mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000004'), "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"=>"5069949203b257c9d9000004", "id"=>"5069949203b257c9d9000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d9000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000004'), :_id=>BSON::ObjectId('5069949203b257c9d9000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('5069949203b257c9d9000005')}) Redirected to http://test.host/mongo_client/5069949203b257c9d9000004/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.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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000007'), "mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"5069949203b257c9d9000006", "id"=>"5069949203b257c9d9000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d9000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000006'), :_id=>BSON::ObjectId('5069949203b257c9d9000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.6ms) Completed 200 OK in 32ms (Views: 29.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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000009'), "mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5069949203b257c9d9000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d9000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d9000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 7ms (Views: 4.7ms | 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d900000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d900000b'), "mongo_client_id"=>BSON::ObjectId('5069949203b257c9d900000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5069949203b257c9d900000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d900000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.3ms) 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d900000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d900000e'), "mongo_client_id"=>BSON::ObjectId('5069949203b257c9d900000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5069949203b257c9d900000d", "id"=>"5069949203b257c9d900000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d900000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069949203b257c9d900000d'), :_id=>BSON::ObjectId('5069949203b257c9d900000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d900000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000010'), "mongo_client_id"=>BSON::ObjectId('5069949203b257c9d900000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5069949203b257c9d900000f", "id"=>"5069949203b257c9d9000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d900000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069949203b257c9d900000f'), :_id=>BSON::ObjectId('5069949203b257c9d9000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/5069949203b257c9d9000010/mongo_accounts/5069949203b257c9d9000010 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000012'), "mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5069949203b257c9d9000011", "id"=>"5069949203b257c9d9000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d9000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000011'), :_id=>BSON::ObjectId('5069949203b257c9d9000012')}).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/5069949203b257c9d9000012/mongo_accounts/5069949203b257c9d9000012 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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000014'), "mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000013'), "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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "guest"], ["updated_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5069949203b257c9d9000013", "id"=>"5069949203b257c9d9000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d9000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000013'), :_id=>BSON::ObjectId('5069949203b257c9d9000014')}).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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000016'), "mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"5069949203b257c9d9000015", "id"=>"5069949203b257c9d9000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d9000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000015'), :_id=>BSON::ObjectId('5069949203b257c9d9000016')}).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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000018'), "mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5069949203b257c9d9000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d9000017')}).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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d900001a'), "mongo_client_id"=>BSON::ObjectId('5069949203b257c9d9000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5069949203b257c9d9000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d9000019')}).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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d900001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d900001d'), "mongo_client_id"=>BSON::ObjectId('5069949203b257c9d900001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5069949203b257c9d900001c", "id"=>"5069949203b257c9d900001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d900001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069949203b257c9d900001c'), :_id=>BSON::ObjectId('5069949203b257c9d900001d')}).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('5069949203b257c9d900001e'), "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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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('5069949203b257c9d900001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/5069949203b257c9d900001f Completed 302 Found in 3ms (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('5069949203b257c9d9000020'), "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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 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"=>"5069949203b257c9d9000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d9000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d9000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('5069949203b257c9d9000020')}) 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('5069949203b257c9d9000021'), "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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"5069949203b257c9d9000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949203b257c9d9000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (2.1ms) Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949203b257c9d9000022'), "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", Mon, 01 Oct 2012 13:03:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 3242295211936472284 Completed 200 OK in 389ms (Views: 387.7ms | ActiveRecord: 0.0ms)  (1.5ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949303b257c9d9000023'), "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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:15 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.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949303b257c9d9000025'), "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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"5069949303b257c9d9000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949303b257c9d9000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069949303b257c9d9000026'), "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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"5069949303b257c9d9000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069949303b257c9d9000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/5069949303b257c9d9000026 Completed 302 Found in 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 13:03:15 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.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:03:15 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :blind_man], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949303b257c9d900002f'), "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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069949303b257c9d9000030'), "created_by_id"=>1}]) User Load (0.1ms) 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  (25.5ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:03:15 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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", :blind_man], ["updated_at", Mon, 01 Oct 2012 13:03:15 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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.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.1ms) 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.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  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:15 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.3ms)  (0.1ms) 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:15 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 (2.0ms) Completed 200 OK in 7ms (Views: 4.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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:15 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.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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:15 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.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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:03:15 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", Mon, 01 Oct 2012 13:03:15 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:03:15 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.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  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/1 Completed 302 Found in 4ms (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.4ms) 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.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  (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 (20.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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 33ms (ActiveRecord: 0.5ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (2.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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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.3ms)  (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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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.4ms) Completed 200 OK in 19ms (Views: 16.7ms | 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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.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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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.1ms | 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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: 2.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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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 23ms (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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "guest"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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.4ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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.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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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.4ms | 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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.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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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.0ms | 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:47 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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.1ms) 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 3ms (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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 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('5069952b03b257caa0000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952b03b257caa0000002'), "mongo_client_id"=>BSON::ObjectId('5069952b03b257caa0000001'), "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"=>"5069952b03b257caa0000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952b03b257caa0000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952b03b257caa0000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('5069952b03b257caa0000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/5069952b03b257caa0000001/mongo_accounts/5069952b03b257caa0000003 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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952b03b257caa0000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952b03b257caa0000005'), "mongo_client_id"=>BSON::ObjectId('5069952b03b257caa0000004'), "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"=>"5069952b03b257caa0000004", "id"=>"5069952b03b257caa0000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952b03b257caa0000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069952b03b257caa0000004'), :_id=>BSON::ObjectId('5069952b03b257caa0000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('5069952b03b257caa0000005')}) Redirected to http://test.host/mongo_client/5069952b03b257caa0000004/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.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", Mon, 01 Oct 2012 13:05:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952b03b257caa0000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952b03b257caa0000007'), "mongo_client_id"=>BSON::ObjectId('5069952b03b257caa0000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"5069952b03b257caa0000006", "id"=>"5069952b03b257caa0000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952b03b257caa0000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069952b03b257caa0000006'), :_id=>BSON::ObjectId('5069952b03b257caa0000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.4ms) Completed 200 OK in 30ms (Views: 27.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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000009'), "mongo_client_id"=>BSON::ObjectId('5069952c03b257caa0000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5069952c03b257caa0000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa0000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069952c03b257caa0000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa0000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 6ms (Views: 4.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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa000000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa000000b'), "mongo_client_id"=>BSON::ObjectId('5069952c03b257caa000000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5069952c03b257caa000000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa000000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa000000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa000000e'), "mongo_client_id"=>BSON::ObjectId('5069952c03b257caa000000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5069952c03b257caa000000d", "id"=>"5069952c03b257caa000000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa000000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069952c03b257caa000000d'), :_id=>BSON::ObjectId('5069952c03b257caa000000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa000000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000010'), "mongo_client_id"=>BSON::ObjectId('5069952c03b257caa000000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5069952c03b257caa000000f", "id"=>"5069952c03b257caa0000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa000000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069952c03b257caa000000f'), :_id=>BSON::ObjectId('5069952c03b257caa0000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/5069952c03b257caa0000010/mongo_accounts/5069952c03b257caa0000010 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000012'), "mongo_client_id"=>BSON::ObjectId('5069952c03b257caa0000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5069952c03b257caa0000011", "id"=>"5069952c03b257caa0000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa0000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069952c03b257caa0000011'), :_id=>BSON::ObjectId('5069952c03b257caa0000012')}).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/5069952c03b257caa0000012/mongo_accounts/5069952c03b257caa0000012 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000014'), "mongo_client_id"=>BSON::ObjectId('5069952c03b257caa0000013'), "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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "guest"], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5069952c03b257caa0000013", "id"=>"5069952c03b257caa0000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa0000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069952c03b257caa0000013'), :_id=>BSON::ObjectId('5069952c03b257caa0000014')}).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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000016'), "mongo_client_id"=>BSON::ObjectId('5069952c03b257caa0000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"5069952c03b257caa0000015", "id"=>"5069952c03b257caa0000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa0000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069952c03b257caa0000015'), :_id=>BSON::ObjectId('5069952c03b257caa0000016')}).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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000018'), "mongo_client_id"=>BSON::ObjectId('5069952c03b257caa0000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5069952c03b257caa0000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa0000017')}).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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa000001a'), "mongo_client_id"=>BSON::ObjectId('5069952c03b257caa0000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5069952c03b257caa0000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa0000019')}).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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa000001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa000001d'), "mongo_client_id"=>BSON::ObjectId('5069952c03b257caa000001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5069952c03b257caa000001c", "id"=>"5069952c03b257caa000001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa000001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069952c03b257caa000001c'), :_id=>BSON::ObjectId('5069952c03b257caa000001d')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa000001e'), "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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:48 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('5069952c03b257caa000001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/5069952c03b257caa000001f 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('5069952c03b257caa0000020'), "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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:48 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"=>"5069952c03b257caa0000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa0000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa0000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('5069952c03b257caa0000020')}) 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.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000021'), "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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"5069952c03b257caa0000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa0000021')}).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.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000022'), "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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 3685352678003487839 Completed 200 OK in 392ms (Views: 391.2ms | ActiveRecord: 0.0ms)  (1.8ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000023'), "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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:48 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.2ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000025'), "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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"5069952c03b257caa0000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa0000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000026'), "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.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"5069952c03b257caa0000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069952c03b257caa0000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/5069952c03b257caa0000026 Completed 302 Found in 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :blind_man], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa000002f'), "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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069952c03b257caa0000030'), "created_by_id"=>1}]) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.3ms) rollback transaction  (0.2ms) 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:05:48 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", Mon, 01 Oct 2012 13:05:48 UTC +00:00], ["name", :blind_man], ["updated_at", Mon, 01 Oct 2012 13:05:48 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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.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.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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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", Mon, 01 Oct 2012 13:05:49 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:49 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", Mon, 01 Oct 2012 13:05:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:49 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", Mon, 01 Oct 2012 13:05:49 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:49 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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:05:49 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:49 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", Mon, 01 Oct 2012 13:05:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:49 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", Mon, 01 Oct 2012 13:05:49 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:49 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", Mon, 01 Oct 2012 13:05:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:49 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: 4.5ms | 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", Mon, 01 Oct 2012 13:05:49 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:49 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", Mon, 01 Oct 2012 13:05:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:49 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.6ms | 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", Mon, 01 Oct 2012 13:05:49 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:49 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", Mon, 01 Oct 2012 13:05:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#new as HTML Rendered users/_form.html.erb (24.6ms) Completed 200 OK in 28ms (Views: 26.5ms | ActiveRecord: 0.0ms)  (0.5ms) 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", Mon, 01 Oct 2012 13:05:49 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:49 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", Mon, 01 Oct 2012 13:05:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:49 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.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", Mon, 01 Oct 2012 13:05:49 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:05:49 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", Mon, 01 Oct 2012 13:05:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:05:49 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 (20.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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 31ms (ActiveRecord: 0.4ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (2.2ms) 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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.2ms) Completed 200 OK in 19ms (Views: 16.6ms | 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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.2ms | 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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.3ms) 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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: 2.0ms | 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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 24ms (ActiveRecord: 0.2ms)  (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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "guest"], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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.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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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.3ms) 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:37 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:37 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 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.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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 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.0ms | 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 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.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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 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('5069955e03b257cabe000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000002'), "mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000001'), "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"=>"5069955e03b257cabe000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/5069955e03b257cabe000001/mongo_accounts/5069955e03b257cabe000003 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000005'), "mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000004'), "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"=>"5069955e03b257cabe000004", "id"=>"5069955e03b257cabe000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000004'), :_id=>BSON::ObjectId('5069955e03b257cabe000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('5069955e03b257cabe000005')}) Redirected to http://test.host/mongo_client/5069955e03b257cabe000004/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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000007'), "mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"5069955e03b257cabe000006", "id"=>"5069955e03b257cabe000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000006'), :_id=>BSON::ObjectId('5069955e03b257cabe000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.3ms) Completed 200 OK in 30ms (Views: 27.7ms | ActiveRecord: 0.0ms)  (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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000009'), "mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5069955e03b257cabe000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 6ms (Views: 4.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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe00000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe00000b'), "mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe00000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5069955e03b257cabe00000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe00000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.3ms) 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe00000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe00000e'), "mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe00000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5069955e03b257cabe00000d", "id"=>"5069955e03b257cabe00000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe00000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe00000d'), :_id=>BSON::ObjectId('5069955e03b257cabe00000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe00000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000010'), "mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe00000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5069955e03b257cabe00000f", "id"=>"5069955e03b257cabe000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe00000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe00000f'), :_id=>BSON::ObjectId('5069955e03b257cabe000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/5069955e03b257cabe000010/mongo_accounts/5069955e03b257cabe000010 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000012'), "mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5069955e03b257cabe000011", "id"=>"5069955e03b257cabe000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000011'), :_id=>BSON::ObjectId('5069955e03b257cabe000012')}).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/5069955e03b257cabe000012/mongo_accounts/5069955e03b257cabe000012 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000014'), "mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000013'), "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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "guest"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5069955e03b257cabe000013", "id"=>"5069955e03b257cabe000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000013'), :_id=>BSON::ObjectId('5069955e03b257cabe000014')}).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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000016'), "mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"5069955e03b257cabe000015", "id"=>"5069955e03b257cabe000016"} MONGODB (7ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000015'), :_id=>BSON::ObjectId('5069955e03b257cabe000016')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 10ms  (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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000018'), "mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5069955e03b257cabe000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe000017')}).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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe00001a'), "mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5069955e03b257cabe000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe000019')}).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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "accountant"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe00001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe00001d'), "mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe00001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5069955e03b257cabe00001c", "id"=>"5069955e03b257cabe00001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe00001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5069955e03b257cabe00001c'), :_id=>BSON::ObjectId('5069955e03b257cabe00001d')}).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('5069955e03b257cabe00001e'), "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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 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('5069955e03b257cabe00001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/5069955e03b257cabe00001f Completed 302 Found in 3ms (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('5069955e03b257cabe000020'), "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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 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"=>"5069955e03b257cabe000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('5069955e03b257cabe000020')}) 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('5069955e03b257cabe000021'), "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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"5069955e03b257cabe000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (1.8ms) Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000022'), "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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 3806516441317865507 Completed 200 OK in 412ms (Views: 411.0ms | ActiveRecord: 0.0ms)  (1.9ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000023'), "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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 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('5069955e03b257cabe000025'), "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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"5069955e03b257cabe000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000026'), "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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"5069955e03b257cabe000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5069955e03b257cabe000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/5069955e03b257cabe000026 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06: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", nil], ["created_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06:38 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" = 'system_admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:06:38 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :blind_man], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06:38 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe00002f'), "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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06:38 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5069955e03b257cabe000030'), "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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06:38 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :department_manager], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :accountant], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :system_admin], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :guest], ["updated_at", Mon, 01 Oct 2012 13:06:38 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", Mon, 01 Oct 2012 13:06:38 UTC +00:00], ["name", :blind_man], ["updated_at", Mon, 01 Oct 2012 13:06:38 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  (0.0ms) rollback transaction  (0.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 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  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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", Mon, 01 Oct 2012 13:06:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06: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", Mon, 01 Oct 2012 13:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:39 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", Mon, 01 Oct 2012 13:06:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06:39 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.1ms) SELECT COUNT(*) FROM "users"   (1.8ms) 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", Mon, 01 Oct 2012 13:06:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06: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", Mon, 01 Oct 2012 13:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:39 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.1ms) 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 29ms (ActiveRecord: 0.3ms)  (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", Mon, 01 Oct 2012 13:06:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06: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", Mon, 01 Oct 2012 13:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:39 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: 4.3ms | 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", Mon, 01 Oct 2012 13:06:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:39 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.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", Mon, 01 Oct 2012 13:06:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 01 Oct 2012 13:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:39 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.4ms) 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", Mon, 01 Oct 2012 13:06:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06: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", Mon, 01 Oct 2012 13:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:39 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: 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", Mon, 01 Oct 2012 13:06:39 UTC +00:00], ["name", nil], ["updated_at", Mon, 01 Oct 2012 13:06: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", Mon, 01 Oct 2012 13:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Mon, 01 Oct 2012 13:06:39 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 (22ms) 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 (4.8ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "accounts" ("client_id", "created_at", "created_by_id", "name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["client_id", 1], ["created_at", Tue, 05 Mar 2013 15:59:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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 36ms (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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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.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 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 4ms (ActiveRecord: 0.3ms)  (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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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 23ms (Views: 20.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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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 Completed 500 Internal Server Error in 3ms  (4.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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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.3ms) Completed 200 OK in 5ms (Views: 3.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", Tue, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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: 2.7ms | 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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.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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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 Completed 500 Internal Server Error in 3ms  (0.3ms) 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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.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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#edit as HTML Parameters: {"id"=>"1"} Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Rendered clients/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.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", Tue, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#index as HTML Completed 500 Internal Server Error in 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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: 3.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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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 27ms (Views: 26.0ms | 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:47 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, 05 Mar 2013 15:59:47 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (199ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167303b257520e000001'), "accountant_id"=>1}]) MONGODB (7ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000002'), "mongo_client_id"=>BSON::ObjectId('5136167303b257520e000001'), "created_by_id"=>1}]) MONGODB (1ms) 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"=>"5136167303b257520e000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167303b257520e000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('5136167303b257520e000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/5136167303b257520e000001/mongo_accounts/5136167403b257520e000003 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000005'), "mongo_client_id"=>BSON::ObjectId('5136167403b257520e000004'), "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"=>"5136167403b257520e000004", "id"=>"5136167403b257520e000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (3ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136167403b257520e000004'), :_id=>BSON::ObjectId('5136167403b257520e000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('5136167403b257520e000005')}) Redirected to http://test.host/mongo_client/5136167403b257520e000004/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", Tue, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000007'), "mongo_client_id"=>BSON::ObjectId('5136167403b257520e000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"5136167403b257520e000006", "id"=>"5136167403b257520e000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136167403b257520e000006'), :_id=>BSON::ObjectId('5136167403b257520e000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.5ms) Completed 200 OK in 8ms (Views: 6.1ms | 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000009'), "mongo_client_id"=>BSON::ObjectId('5136167403b257520e000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5136167403b257520e000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (1ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136167403b257520e000008')}) Completed 500 Internal Server Error in 4ms  (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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e00000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e00000b'), "mongo_client_id"=>BSON::ObjectId('5136167403b257520e00000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5136167403b257520e00000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e00000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.3ms) Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e00000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e00000e'), "mongo_client_id"=>BSON::ObjectId('5136167403b257520e00000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5136167403b257520e00000d", "id"=>"5136167403b257520e00000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e00000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136167403b257520e00000d'), :_id=>BSON::ObjectId('5136167403b257520e00000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.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", Tue, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e00000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000010'), "mongo_client_id"=>BSON::ObjectId('5136167403b257520e00000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5136167403b257520e00000f", "id"=>"5136167403b257520e000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e00000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136167403b257520e00000f'), :_id=>BSON::ObjectId('5136167403b257520e000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/5136167403b257520e000010/mongo_accounts/5136167403b257520e000010 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000012'), "mongo_client_id"=>BSON::ObjectId('5136167403b257520e000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5136167403b257520e000011", "id"=>"5136167403b257520e000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136167403b257520e000011'), :_id=>BSON::ObjectId('5136167403b257520e000012')}).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/5136167403b257520e000012/mongo_accounts/5136167403b257520e000012 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000014'), "mongo_client_id"=>BSON::ObjectId('5136167403b257520e000013'), "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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5136167403b257520e000013", "id"=>"5136167403b257520e000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136167403b257520e000013'), :_id=>BSON::ObjectId('5136167403b257520e000014')}).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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000016'), "mongo_client_id"=>BSON::ObjectId('5136167403b257520e000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"5136167403b257520e000015", "id"=>"5136167403b257520e000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136167403b257520e000015'), :_id=>BSON::ObjectId('5136167403b257520e000016')}).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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000018'), "mongo_client_id"=>BSON::ObjectId('5136167403b257520e000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5136167403b257520e000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136167403b257520e000017')}) 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e00001a'), "mongo_client_id"=>BSON::ObjectId('5136167403b257520e000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5136167403b257520e000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e000019')}).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.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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e00001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e00001d'), "mongo_client_id"=>BSON::ObjectId('5136167403b257520e00001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5136167403b257520e00001c", "id"=>"5136167403b257520e00001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e00001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136167403b257520e00001c'), :_id=>BSON::ObjectId('5136167403b257520e00001d')}).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('5136167403b257520e00001e'), "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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:48 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('5136167403b257520e00001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/5136167403b257520e00001f 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('5136167403b257520e000020'), "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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:48 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"=>"5136167403b257520e000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('5136167403b257520e000020')}) 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.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000021'), "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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"5136167403b257520e000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (2.2ms) Completed 200 OK in 31ms (Views: 29.6ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000022'), "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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML Completed 500 Internal Server Error in 1ms  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000023'), "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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:48 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 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000025'), "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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"5136167403b257520e000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000026'), "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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"5136167403b257520e000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136167403b257520e000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/5136167403b257520e000026 Completed 302 Found in 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 15:59:48 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", Tue, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 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", Tue, 05 Mar 2013 15:59:48 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 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", Tue, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 15:59:48 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", Tue, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 15:59:48 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", Tue, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 15:59:48 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", Tue, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 05 Mar 2013 15:59:48 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", Tue, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.3ms) 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 15:59:48 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", Tue, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e00002f'), "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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136167403b257520e000030'), "created_by_id"=>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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 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", Tue, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 15:59:48 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, 05 Mar 2013 15:59:48 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 05 Mar 2013 15:59:48 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.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.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 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  (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 child belongs_to [:parent]  (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) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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, 05 Mar 2013 15:59:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:49 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, 05 Mar 2013 15:59:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:49 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, 05 Mar 2013 15:59:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/3 Completed 302 Found in 30ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "users"  (1.7ms) 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, 05 Mar 2013 15:59:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:49 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, 05 Mar 2013 15:59:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:49 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", Tue, 05 Mar 2013 15:59:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:49 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, 05 Mar 2013 15:59:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:49 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 (2.0ms) Completed 200 OK in 8ms (Views: 5.3ms | 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, 05 Mar 2013 15:59:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:49 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, 05 Mar 2013 15:59:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#index as HTML Completed 500 Internal Server Error in 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, 05 Mar 2013 15:59:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:49 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, 05 Mar 2013 15:59:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:49 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.4ms | 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, 05 Mar 2013 15:59:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:49 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, 05 Mar 2013 15:59:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:49 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.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, 05 Mar 2013 15:59:49 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 15:59:49 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, 05 Mar 2013 15:59:49 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 15:59:49 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.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:39 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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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", 1], ["created_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06:39 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, 05 Mar 2013 16:06:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06:39 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 33ms (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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06:39 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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06:39 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 18ms (Views: 15.5ms | 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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06:39 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 Completed 500 Internal Server Error in 3ms  (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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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: 3.2ms | ActiveRecord: 0.0ms)  (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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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.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 5ms (Views: 2.4ms | 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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 05 Mar 2013 16:06: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.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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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 Completed 500 Internal Server Error in 2ms  (0.3ms) 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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.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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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.2ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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.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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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.4ms) rollback transaction  (0.1ms) 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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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.3ms | 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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#index as HTML Completed 500 Internal Server Error in 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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:39 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.1ms | 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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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 27ms (Views: 25.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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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('5136180f03b257523d000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000002'), "mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000001'), "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"=>"5136180f03b257523d000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/5136180f03b257523d000001/mongo_accounts/5136180f03b257523d000003 Completed 302 Found in 3ms (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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000005'), "mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000004'), "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"=>"5136180f03b257523d000004", "id"=>"5136180f03b257523d000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000004'), :_id=>BSON::ObjectId('5136180f03b257523d000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('5136180f03b257523d000005')}) Redirected to http://test.host/mongo_client/5136180f03b257523d000004/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.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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000007'), "mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"5136180f03b257523d000006", "id"=>"5136180f03b257523d000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000006'), :_id=>BSON::ObjectId('5136180f03b257523d000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.4ms) 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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000009'), "mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5136180f03b257523d000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000008')}) Completed 500 Internal Server Error in 3ms  (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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d00000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d00000b'), "mongo_client_id"=>BSON::ObjectId('5136180f03b257523d00000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5136180f03b257523d00000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d00000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.3ms) 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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d00000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d00000e'), "mongo_client_id"=>BSON::ObjectId('5136180f03b257523d00000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5136180f03b257523d00000d", "id"=>"5136180f03b257523d00000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d00000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136180f03b257523d00000d'), :_id=>BSON::ObjectId('5136180f03b257523d00000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d00000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000010'), "mongo_client_id"=>BSON::ObjectId('5136180f03b257523d00000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5136180f03b257523d00000f", "id"=>"5136180f03b257523d000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d00000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136180f03b257523d00000f'), :_id=>BSON::ObjectId('5136180f03b257523d000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/5136180f03b257523d000010/mongo_accounts/5136180f03b257523d000010 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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000012'), "mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5136180f03b257523d000011", "id"=>"5136180f03b257523d000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000011'), :_id=>BSON::ObjectId('5136180f03b257523d000012')}).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/5136180f03b257523d000012/mongo_accounts/5136180f03b257523d000012 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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000014'), "mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000013'), "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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 05 Mar 2013 16:06: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"=>"5136180f03b257523d000013", "id"=>"5136180f03b257523d000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000013'), :_id=>BSON::ObjectId('5136180f03b257523d000014')}).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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000016'), "mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"5136180f03b257523d000015", "id"=>"5136180f03b257523d000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000015'), :_id=>BSON::ObjectId('5136180f03b257523d000016')}).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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000018'), "mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5136180f03b257523d000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB (8ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000017')}) Completed 500 Internal Server Error in 11ms  (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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d00001a'), "mongo_client_id"=>BSON::ObjectId('5136180f03b257523d000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5136180f03b257523d000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d000019')}).limit(-1).sort([[:_id, :asc]]) User Load (0.3ms) 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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d00001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d00001d'), "mongo_client_id"=>BSON::ObjectId('5136180f03b257523d00001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5136180f03b257523d00001c", "id"=>"5136180f03b257523d00001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d00001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136180f03b257523d00001c'), :_id=>BSON::ObjectId('5136180f03b257523d00001d')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d00001e'), "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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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('5136180f03b257523d00001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/5136180f03b257523d00001f 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('5136180f03b257523d000020'), "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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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"=>"5136180f03b257523d000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('5136180f03b257523d000020')}) 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.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136180f03b257523d000021'), "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, 05 Mar 2013 16:06:39 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"5136180f03b257523d000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136180f03b257523d000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (1.9ms) Completed 200 OK in 30ms (Views: 28.8ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136181003b257523d000022'), "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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML Completed 500 Internal Server Error in 1ms  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136181003b257523d000023'), "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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:40 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('5136181003b257523d000025'), "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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"5136181003b257523d000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136181003b257523d000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136181003b257523d000026'), "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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"5136181003b257523d000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136181003b257523d000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/5136181003b257523d000026 Completed 302 Found in 3ms (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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:06:40 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", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 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", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 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", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 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", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:06:40 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", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 05 Mar 2013 16:06:40 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", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:06:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136181003b257523d00002f'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136181003b257523d000030'), "created_by_id"=>1}]) User Load (0.1ms) 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", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 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", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 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", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:06:40 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", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 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", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:06:40 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", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:06:40 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:06:40 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", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 05 Mar 2013 16:06:40 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.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.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 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.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.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.0ms) begin transaction child belongs_to [:parent]  (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) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:06:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/3 Completed 302 Found in 32ms (ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM "users"  (1.8ms) 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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.4ms) 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:40 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 7ms (Views: 4.5ms | 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#index as HTML Completed 500 Internal Server Error in 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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: 3.0ms | 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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 5ms (Views: 2.0ms | 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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:06: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, 05 Mar 2013 16:06:40 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:06: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 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", Tue, 05 Mar 2013 16:07:08 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:08 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, 05 Mar 2013 16:07:08 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:08 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, 05 Mar 2013 16:07:08 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:08 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, 05 Mar 2013 16:07:08 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:08 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 32ms (ActiveRecord: 0.5ms)  (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, 05 Mar 2013 16:07:08 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:08 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, 05 Mar 2013 16:07:08 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:08 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, 05 Mar 2013 16:07:08 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:08 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:07:08 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:08 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, 05 Mar 2013 16:07:08 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:08 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, 05 Mar 2013 16:07:08 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:08 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 18ms (Views: 15.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, 05 Mar 2013 16:07:08 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:08 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, 05 Mar 2013 16:07:08 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:08 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, 05 Mar 2013 16:07:08 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:08 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 Completed 500 Internal Server Error in 3ms  (4.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", Tue, 05 Mar 2013 16:07:08 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:08 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, 05 Mar 2013 16:07:08 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:08 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, 05 Mar 2013 16:07:08 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:08 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.3ms) 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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: 2.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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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.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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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 Completed 500 Internal Server Error in 2ms  (0.4ms) 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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.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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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.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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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.4ms | 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#index as HTML Completed 500 Internal Server Error in 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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.0ms | 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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 26ms (Views: 25.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", Tue, 05 Mar 2013 16:07:09 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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", Tue, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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('5136182d03b2575247000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000002'), "mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000001'), "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"=>"5136182d03b2575247000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b2575247000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/5136182d03b2575247000001/mongo_accounts/5136182d03b2575247000003 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000005'), "mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000004'), "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"=>"5136182d03b2575247000004", "id"=>"5136182d03b2575247000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b2575247000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000004'), :_id=>BSON::ObjectId('5136182d03b2575247000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('5136182d03b2575247000005')}) Redirected to http://test.host/mongo_client/5136182d03b2575247000004/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.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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000007'), "mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"5136182d03b2575247000006", "id"=>"5136182d03b2575247000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b2575247000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000006'), :_id=>BSON::ObjectId('5136182d03b2575247000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.8ms) Completed 200 OK in 8ms (Views: 5.6ms | 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000009'), "mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5136182d03b2575247000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b2575247000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000008')}) Completed 500 Internal Server Error in 3ms  (0.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b257524700000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b257524700000b'), "mongo_client_id"=>BSON::ObjectId('5136182d03b257524700000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5136182d03b257524700000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b257524700000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.4ms) Completed 200 OK in 6ms (Views: 3.3ms | 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b257524700000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b257524700000e'), "mongo_client_id"=>BSON::ObjectId('5136182d03b257524700000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5136182d03b257524700000d", "id"=>"5136182d03b257524700000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b257524700000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136182d03b257524700000d'), :_id=>BSON::ObjectId('5136182d03b257524700000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.3ms | 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b257524700000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000010'), "mongo_client_id"=>BSON::ObjectId('5136182d03b257524700000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5136182d03b257524700000f", "id"=>"5136182d03b2575247000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b257524700000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136182d03b257524700000f'), :_id=>BSON::ObjectId('5136182d03b2575247000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/5136182d03b2575247000010/mongo_accounts/5136182d03b2575247000010 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000012'), "mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5136182d03b2575247000011", "id"=>"5136182d03b2575247000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b2575247000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000011'), :_id=>BSON::ObjectId('5136182d03b2575247000012')}).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/5136182d03b2575247000012/mongo_accounts/5136182d03b2575247000012 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000014'), "mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000013'), "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.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5136182d03b2575247000013", "id"=>"5136182d03b2575247000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b2575247000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000013'), :_id=>BSON::ObjectId('5136182d03b2575247000014')}).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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000016'), "mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"5136182d03b2575247000015", "id"=>"5136182d03b2575247000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b2575247000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000015'), :_id=>BSON::ObjectId('5136182d03b2575247000016')}).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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000018'), "mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5136182d03b2575247000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b2575247000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000017')}) Completed 500 Internal Server Error in 3ms  (0.2ms) rollback transaction  (0.0ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b257524700001a'), "mongo_client_id"=>BSON::ObjectId('5136182d03b2575247000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5136182d03b2575247000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b2575247000019')}).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.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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b257524700001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b257524700001d'), "mongo_client_id"=>BSON::ObjectId('5136182d03b257524700001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5136182d03b257524700001c", "id"=>"5136182d03b257524700001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b257524700001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136182d03b257524700001c'), :_id=>BSON::ObjectId('5136182d03b257524700001d')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 3ms  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b257524700001e'), "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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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('5136182d03b257524700001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/5136182d03b257524700001f 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('5136182d03b2575247000020'), "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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 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"=>"5136182d03b2575247000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b2575247000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b2575247000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('5136182d03b2575247000020')}) 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('5136182d03b2575247000021'), "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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"5136182d03b2575247000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b2575247000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (3.3ms) Completed 200 OK in 35ms (Views: 33.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000022'), "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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML Completed 500 Internal Server Error in 1ms  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000023'), "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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#new as HTML Rendered mongo_clients/_form.html.erb (1.2ms) 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('5136182d03b2575247000025'), "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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"5136182d03b2575247000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b2575247000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000026'), "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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"5136182d03b2575247000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136182d03b2575247000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/5136182d03b2575247000026 Completed 302 Found in 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:07:09 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", Tue, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 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", Tue, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:07:09 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", Tue, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.3ms) 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:07:09 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", Tue, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b257524700002f'), "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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136182d03b2575247000030'), "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", Tue, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:07:09 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", Tue, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:07:09 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, 05 Mar 2013 16:07:09 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 05 Mar 2013 16:07:09 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.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.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 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  (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 child belongs_to [:parent]  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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, 05 Mar 2013 16:07:10 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:10 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, 05 Mar 2013 16:07:10 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:10 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 (25.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:07:10 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/3 Completed 302 Found in 30ms (ActiveRecord: 25.1ms)  (0.0ms) 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", Tue, 05 Mar 2013 16:07:10 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:10 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, 05 Mar 2013 16:07:10 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:10 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", Tue, 05 Mar 2013 16:07:10 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:10 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, 05 Mar 2013 16:07:10 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:10 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: 4.5ms | 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, 05 Mar 2013 16:07:10 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:10 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, 05 Mar 2013 16:07:10 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#index as HTML Completed 500 Internal Server Error in 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, 05 Mar 2013 16:07:10 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:10 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, 05 Mar 2013 16:07:10 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:10 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.1ms | 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, 05 Mar 2013 16:07:10 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:10 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, 05 Mar 2013 16:07:10 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:10 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.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, 05 Mar 2013 16:07:10 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:07:10 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, 05 Mar 2013 16:07:10 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:07:10 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.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08:03 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", 1], ["created_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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 32ms (ActiveRecord: 0.5ms)  (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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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.3ms)  (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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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 (5.2ms) Completed 200 OK in 17ms (Views: 15.1ms | 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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 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" = '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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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.1ms) Completed 200 OK in 5ms (Views: 2.9ms | 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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"]] 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 05 Mar 2013 16:08: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.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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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.3ms) 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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.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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.1ms) 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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 (1.9ms) 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.3ms) INSERT INTO "clients" ("accountant_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["accountant_id", 1], ["created_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#index as HTML Completed 500 Internal Server Error in 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 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.0ms | 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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 26ms (Views: 25.0ms | ActiveRecord: 0.0ms)  (0.8ms) 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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.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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 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('5136186303b2575255000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000002'), "mongo_client_id"=>BSON::ObjectId('5136186303b2575255000001'), "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"=>"5136186303b2575255000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b2575255000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('5136186303b2575255000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/5136186303b2575255000001/mongo_accounts/5136186303b2575255000003 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000005'), "mongo_client_id"=>BSON::ObjectId('5136186303b2575255000004'), "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"=>"5136186303b2575255000004", "id"=>"5136186303b2575255000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b2575255000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136186303b2575255000004'), :_id=>BSON::ObjectId('5136186303b2575255000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('5136186303b2575255000005')}) Redirected to http://test.host/mongo_client/5136186303b2575255000004/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.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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000007'), "mongo_client_id"=>BSON::ObjectId('5136186303b2575255000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"5136186303b2575255000006", "id"=>"5136186303b2575255000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b2575255000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136186303b2575255000006'), :_id=>BSON::ObjectId('5136186303b2575255000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.6ms) Completed 200 OK in 8ms (Views: 5.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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000009'), "mongo_client_id"=>BSON::ObjectId('5136186303b2575255000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5136186303b2575255000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b2575255000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136186303b2575255000008')}) 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" = '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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b257525500000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186303b257525500000b'), "mongo_client_id"=>BSON::ObjectId('5136186303b257525500000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5136186303b257525500000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b257525500000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.3ms) 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b257525500000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186303b257525500000e'), "mongo_client_id"=>BSON::ObjectId('5136186303b257525500000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5136186303b257525500000d", "id"=>"5136186303b257525500000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b257525500000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136186303b257525500000d'), :_id=>BSON::ObjectId('5136186303b257525500000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b257525500000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000010'), "mongo_client_id"=>BSON::ObjectId('5136186303b257525500000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5136186303b257525500000f", "id"=>"5136186303b2575255000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b257525500000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136186303b257525500000f'), :_id=>BSON::ObjectId('5136186303b2575255000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/5136186303b2575255000010/mongo_accounts/5136186303b2575255000010 Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000012'), "mongo_client_id"=>BSON::ObjectId('5136186303b2575255000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5136186303b2575255000011", "id"=>"5136186303b2575255000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b2575255000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136186303b2575255000011'), :_id=>BSON::ObjectId('5136186303b2575255000012')}).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/5136186303b2575255000012/mongo_accounts/5136186303b2575255000012 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000014'), "mongo_client_id"=>BSON::ObjectId('5136186303b2575255000013'), "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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 05 Mar 2013 16:08: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"=>"5136186303b2575255000013", "id"=>"5136186303b2575255000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b2575255000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136186303b2575255000013'), :_id=>BSON::ObjectId('5136186303b2575255000014')}).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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000016'), "mongo_client_id"=>BSON::ObjectId('5136186303b2575255000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"5136186303b2575255000015", "id"=>"5136186303b2575255000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b2575255000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136186303b2575255000015'), :_id=>BSON::ObjectId('5136186303b2575255000016')}).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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000018'), "mongo_client_id"=>BSON::ObjectId('5136186303b2575255000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5136186303b2575255000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b2575255000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136186303b2575255000017')}) 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186303b257525500001a'), "mongo_client_id"=>BSON::ObjectId('5136186303b2575255000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5136186303b2575255000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b2575255000019')}).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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b257525500001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186303b257525500001d'), "mongo_client_id"=>BSON::ObjectId('5136186303b257525500001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5136186303b257525500001c", "id"=>"5136186303b257525500001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b257525500001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136186303b257525500001c'), :_id=>BSON::ObjectId('5136186303b257525500001d')}).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('5136186303b257525500001e'), "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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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('5136186303b257525500001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/5136186303b257525500001f 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('5136186303b2575255000020'), "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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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"=>"5136186303b2575255000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b2575255000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b2575255000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('5136186303b2575255000020')}) 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.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000021'), "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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"5136186303b2575255000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b2575255000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000022'), "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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML Completed 500 Internal Server Error in 1ms  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000023'), "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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 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('5136186303b2575255000025'), "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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"5136186303b2575255000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b2575255000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136186303b2575255000026'), "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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"5136186303b2575255000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136186303b2575255000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/5136186303b2575255000026 Completed 302 Found in 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction User Load (0.3ms) 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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08: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" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08: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" = '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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:08: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:08: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" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:08:03 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, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08: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" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08:03 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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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" = 'accountant' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:03 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08: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" = '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, 05 Mar 2013 16:08:03 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:08: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 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, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:08: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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 05 Mar 2013 16:08:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:08: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:08:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186403b257525500002f'), "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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136186403b2575255000030'), "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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:08: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" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:08: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:08: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:08: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 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, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:08: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" = '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, 05 Mar 2013 16:08:04 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 05 Mar 2013 16:08: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  (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.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.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  (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 child belongs_to [:parent]  (0.1ms) 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) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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, 05 Mar 2013 16:08:04 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/3 Completed 302 Found in 29ms (ActiveRecord: 0.2ms)  (0.1ms) 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, 05 Mar 2013 16:08:04 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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 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, 05 Mar 2013 16:08:04 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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: 4.4ms | 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, 05 Mar 2013 16:08:04 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#index as HTML Completed 500 Internal Server Error in 1ms  (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, 05 Mar 2013 16:08:04 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:04 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 5ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (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, 05 Mar 2013 16:08:04 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08:04 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, 05 Mar 2013 16:08:04 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:08: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", Tue, 05 Mar 2013 16:08:04 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:08: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] 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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 32ms (ActiveRecord: 0.5ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (2.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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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.3ms)  (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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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 18ms (Views: 16.6ms | 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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 Completed 500 Internal Server Error in 3ms  (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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by AccountsController#new as HTML Parameters: {"client_id"=>"1"} Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Rendered accounts/_form.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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: 2.0ms | 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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.2ms) 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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.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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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", Tue, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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", Tue, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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 Completed 500 Internal Server Error in 3ms  (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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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.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", Tue, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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.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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#edit as HTML Parameters: {"id"=>"1"} Client Load (0.1ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = ? LIMIT 1 [["id", "1"]] Rendered clients/_form.html.erb (1.9ms) Completed 200 OK in 6ms (Views: 4.4ms | 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ClientsController#index as HTML Completed 500 Internal Server Error in 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", Tue, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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 27ms (Views: 25.4ms | 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", Tue, 05 Mar 2013 16:09:50 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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('513618ce03b2575269000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000002'), "mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000001'), "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"=>"513618ce03b2575269000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b2575269000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/513618ce03b2575269000001/mongo_accounts/513618ce03b2575269000003 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000005'), "mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000004'), "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"=>"513618ce03b2575269000004", "id"=>"513618ce03b2575269000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b2575269000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000004'), :_id=>BSON::ObjectId('513618ce03b2575269000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('513618ce03b2575269000005')}) Redirected to http://test.host/mongo_client/513618ce03b2575269000004/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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000007'), "mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"513618ce03b2575269000006", "id"=>"513618ce03b2575269000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b2575269000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000006'), :_id=>BSON::ObjectId('513618ce03b2575269000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.3ms) Completed 200 OK in 7ms (Views: 4.9ms | 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000009'), "mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"513618ce03b2575269000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b2575269000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000008')}) 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" = '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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('513618ce03b257526900000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618ce03b257526900000b'), "mongo_client_id"=>BSON::ObjectId('513618ce03b257526900000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"513618ce03b257526900000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b257526900000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.3ms) Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('513618ce03b257526900000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618ce03b257526900000e'), "mongo_client_id"=>BSON::ObjectId('513618ce03b257526900000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"513618ce03b257526900000d", "id"=>"513618ce03b257526900000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b257526900000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('513618ce03b257526900000d'), :_id=>BSON::ObjectId('513618ce03b257526900000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('513618ce03b257526900000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000010'), "mongo_client_id"=>BSON::ObjectId('513618ce03b257526900000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"513618ce03b257526900000f", "id"=>"513618ce03b2575269000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b257526900000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('513618ce03b257526900000f'), :_id=>BSON::ObjectId('513618ce03b2575269000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/513618ce03b2575269000010/mongo_accounts/513618ce03b2575269000010 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000012'), "mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"513618ce03b2575269000011", "id"=>"513618ce03b2575269000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b2575269000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000011'), :_id=>BSON::ObjectId('513618ce03b2575269000012')}).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/513618ce03b2575269000012/mongo_accounts/513618ce03b2575269000012 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000014'), "mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000013'), "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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"513618ce03b2575269000013", "id"=>"513618ce03b2575269000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b2575269000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000013'), :_id=>BSON::ObjectId('513618ce03b2575269000014')}).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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000016'), "mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"513618ce03b2575269000015", "id"=>"513618ce03b2575269000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b2575269000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000015'), :_id=>BSON::ObjectId('513618ce03b2575269000016')}).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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000018'), "mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"513618ce03b2575269000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b2575269000017')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000017')}) 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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('513618ce03b2575269000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618ce03b257526900001a'), "mongo_client_id"=>BSON::ObjectId('513618ce03b2575269000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"513618ce03b2575269000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b2575269000019')}).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.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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('513618ce03b257526900001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618ce03b257526900001d'), "mongo_client_id"=>BSON::ObjectId('513618ce03b257526900001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"513618ce03b257526900001c", "id"=>"513618ce03b257526900001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b257526900001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('513618ce03b257526900001c'), :_id=>BSON::ObjectId('513618ce03b257526900001d')}).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('513618ce03b257526900001e'), "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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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('513618ce03b257526900001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/513618ce03b257526900001f 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('513618ce03b2575269000020'), "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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 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"=>"513618ce03b2575269000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b2575269000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b2575269000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('513618ce03b2575269000020')}) 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('513618ce03b2575269000021'), "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, 05 Mar 2013 16:09:50 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"513618ce03b2575269000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618ce03b2575269000021')}).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('513618cf03b2575269000022'), "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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML Completed 500 Internal Server Error in 1ms  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('513618cf03b2575269000023'), "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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:51 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.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('513618cf03b2575269000025'), "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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"513618cf03b2575269000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618cf03b2575269000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('513618cf03b2575269000026'), "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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"513618cf03b2575269000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('513618cf03b2575269000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/513618cf03b2575269000026 Completed 302 Found in 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:09:51 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", Tue, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:09:51 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.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.4ms) begin transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'system_admin' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:09:51 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", Tue, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618cf03b257526900002f'), "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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('513618cf03b2575269000030'), "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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 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", Tue, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:09:51 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" = '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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 05 Mar 2013 16:09:51 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.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.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 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  (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.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.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) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/users/3 Completed 302 Found in 29ms (ActiveRecord: 0.2ms)  (0.1ms) 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by UsersController#index as HTML Completed 500 Internal Server Error in 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:51 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 5ms (Views: 3.2ms | 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:51 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: 1.9ms | ActiveRecord: 0.1ms)  (0.4ms) 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:09:51 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, 05 Mar 2013 16:09:51 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:09:51 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.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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 32ms (ActiveRecord: 0.5ms)  (0.0ms) SELECT COUNT(*) FROM "accounts"  (1.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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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.5ms) Completed 200 OK in 17ms (Views: 15.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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.1ms) 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.6ms | 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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) Completed 200 OK in 5ms (Views: 3.1ms | 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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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: 2.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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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.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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.1ms) 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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 05 Mar 2013 16:11: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.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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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.3ms) rollback transaction  (0.0ms) begin transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'accountant' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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.3ms) 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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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.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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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.1ms) 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.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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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.9ms) Completed 200 OK in 6ms (Views: 4.4ms | 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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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 4ms (Views: 2.8ms | 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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:58 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.2ms | 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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:58 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.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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:58 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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:58 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('5136194e03b2575299000001'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000002'), "mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000001'), "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"=>"5136194e03b2575299000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b2575299000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/5136194e03b2575299000001/mongo_accounts/5136194e03b2575299000003 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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000005'), "mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000004'), "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"=>"5136194e03b2575299000004", "id"=>"5136194e03b2575299000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b2575299000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000004'), :_id=>BSON::ObjectId('5136194e03b2575299000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('5136194e03b2575299000005')}) Redirected to http://test.host/mongo_client/5136194e03b2575299000004/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.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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000007'), "mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"5136194e03b2575299000006", "id"=>"5136194e03b2575299000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b2575299000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000006'), :_id=>BSON::ObjectId('5136194e03b2575299000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.4ms) Completed 200 OK in 7ms (Views: 5.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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000009'), "mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5136194e03b2575299000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b2575299000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (8ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b2575299000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 15ms (Views: 13.5ms | 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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194e03b257529900000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194e03b257529900000b'), "mongo_client_id"=>BSON::ObjectId('5136194e03b257529900000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5136194e03b257529900000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b257529900000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.4ms) Completed 200 OK in 5ms (Views: 3.3ms | 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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194e03b257529900000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194e03b257529900000e'), "mongo_client_id"=>BSON::ObjectId('5136194e03b257529900000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5136194e03b257529900000d", "id"=>"5136194e03b257529900000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b257529900000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136194e03b257529900000d'), :_id=>BSON::ObjectId('5136194e03b257529900000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194e03b257529900000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000010'), "mongo_client_id"=>BSON::ObjectId('5136194e03b257529900000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5136194e03b257529900000f", "id"=>"5136194e03b2575299000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b257529900000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136194e03b257529900000f'), :_id=>BSON::ObjectId('5136194e03b2575299000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/5136194e03b2575299000010/mongo_accounts/5136194e03b2575299000010 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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000012'), "mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5136194e03b2575299000011", "id"=>"5136194e03b2575299000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b2575299000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000011'), :_id=>BSON::ObjectId('5136194e03b2575299000012')}).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/5136194e03b2575299000012/mongo_accounts/5136194e03b2575299000012 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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000014'), "mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000013'), "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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "guest"], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5136194e03b2575299000013", "id"=>"5136194e03b2575299000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b2575299000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000013'), :_id=>BSON::ObjectId('5136194e03b2575299000014')}).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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000016'), "mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"5136194e03b2575299000015", "id"=>"5136194e03b2575299000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b2575299000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000015'), :_id=>BSON::ObjectId('5136194e03b2575299000016')}).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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000018'), "mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5136194e03b2575299000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b2575299000017')}).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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194e03b2575299000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194e03b257529900001a'), "mongo_client_id"=>BSON::ObjectId('5136194e03b2575299000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5136194e03b2575299000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b2575299000019')}).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.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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "accountant"], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194e03b257529900001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194e03b257529900001d'), "mongo_client_id"=>BSON::ObjectId('5136194e03b257529900001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5136194e03b257529900001c", "id"=>"5136194e03b257529900001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b257529900001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5136194e03b257529900001c'), :_id=>BSON::ObjectId('5136194e03b257529900001d')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194e03b257529900001e'), "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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:58 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('5136194e03b257529900001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/5136194e03b257529900001f 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('5136194e03b2575299000020'), "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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:58 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"=>"5136194e03b2575299000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b2575299000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b2575299000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('5136194e03b2575299000020')}) 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('5136194e03b2575299000021'), "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", Tue, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"5136194e03b2575299000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194e03b2575299000021')}).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('5136194e03b2575299000022'), "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, 05 Mar 2013 16:11:58 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 4205762136222391096 Completed 200 OK in 499ms (Views: 498.3ms | ActiveRecord: 0.0ms)  (1.5ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194f03b2575299000023'), "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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:59 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.3ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194f03b2575299000025'), "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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"5136194f03b2575299000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194f03b2575299000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5136194f03b2575299000026'), "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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"5136194f03b2575299000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5136194f03b2575299000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/5136194f03b2575299000026 Completed 302 Found in 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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:11: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" = 'guest' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:11: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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194f03b257529900002f'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5136194f03b2575299000030'), "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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :department_manager], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :accountant], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :system_admin], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :guest], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", :blind_man], ["updated_at", Tue, 05 Mar 2013 16:11: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  (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 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.3ms) 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  (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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.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) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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.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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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 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", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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.8ms) Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.1ms)  (0.4ms) 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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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 6ms (Views: 3.6ms | ActiveRecord: 0.1ms)  (0.5ms) 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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11:59 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: 3.0ms | 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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 05 Mar 2013 16:11:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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 5ms (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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", nil], ["updated_at", Tue, 05 Mar 2013 16:11: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, 05 Mar 2013 16:11:59 UTC +00:00], ["name", "system_admin"], ["updated_at", Tue, 05 Mar 2013 16:11: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 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 (25ms) 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.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 20 Mar 2013 13:29:11 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:11 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", Wed, 20 Mar 2013 13:29:11 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:11 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", Wed, 20 Mar 2013 13:29:11 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:11 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", Wed, 20 Mar 2013 13:29:11 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:11 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 18ms (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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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 (9.5ms) Completed 200 OK in 46ms (Views: 44.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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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.3ms | 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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.3ms) 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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: 2.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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "accountant"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "accountant"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "guest"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "accountant"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "accountant"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "accountant"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "accountant"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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.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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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.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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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 28ms (Views: 27.3ms | 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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.0ms | ActiveRecord: 0.0ms)  (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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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.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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (92ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000001'), "accountant_id"=>1}]) MONGODB (9ms) dummy_test['system.namespaces'].find({}) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000002'), "mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000001'), "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"=>"5149b9a803b257c7f8000001"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f8000001')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000003'), "name"=>nil, "mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000001'), "created_by_id"=>1}]) Redirected to http://test.host/mongo_client/5149b9a803b257c7f8000001/mongo_accounts/5149b9a803b257c7f8000003 Completed 302 Found in 4ms (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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000004'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000005'), "mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000004'), "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"=>"5149b9a803b257c7f8000004", "id"=>"5149b9a803b257c7f8000005"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f8000004')}).limit(-1).sort([[:_id, :asc]]) MONGODB (3ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000004'), :_id=>BSON::ObjectId('5149b9a803b257c7f8000005')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].remove({:_id=>BSON::ObjectId('5149b9a803b257c7f8000005')}) Redirected to http://test.host/mongo_client/5149b9a803b257c7f8000004/mongo_accounts Completed 302 Found in 6ms (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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000006'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000007'), "mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000006'), "created_by_id"=>1}]) Processing by MongoAccountsController#edit as HTML Parameters: {"mongo_client_id"=>"5149b9a803b257c7f8000006", "id"=>"5149b9a803b257c7f8000007"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f8000006')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000006'), :_id=>BSON::ObjectId('5149b9a803b257c7f8000007')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (2.6ms) Completed 200 OK in 9ms (Views: 6.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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000008'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000009'), "mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000008'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5149b9a803b257c7f8000008"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f8000008')}).limit(-1).sort([[:_id, :asc]]) MONGODB (1ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000008')}) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f8000008')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 7ms (Views: 5.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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f800000a'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f800000b'), "mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f800000a'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5149b9a803b257c7f800000a"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f800000a')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_accounts/_form.html.erb (1.3ms) Completed 200 OK in 6ms (Views: 3.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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f800000d'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f800000e'), "mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f800000d'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5149b9a803b257c7f800000d", "id"=>"5149b9a803b257c7f800000e"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f800000d')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f800000d'), :_id=>BSON::ObjectId('5149b9a803b257c7f800000e')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 5ms (Views: 2.5ms | 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f800000f'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000010'), "mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f800000f'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5149b9a803b257c7f800000f", "id"=>"5149b9a803b257c7f8000010"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f800000f')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f800000f'), :_id=>BSON::ObjectId('5149b9a803b257c7f8000010')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_client/5149b9a803b257c7f8000010/mongo_accounts/5149b9a803b257c7f8000010 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "accountant"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000011'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000012'), "mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000011'), "created_by_id"=>1}]) Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5149b9a803b257c7f8000011", "id"=>"5149b9a803b257c7f8000012"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f8000011')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000011'), :_id=>BSON::ObjectId('5149b9a803b257c7f8000012')}).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/5149b9a803b257c7f8000012/mongo_accounts/5149b9a803b257c7f8000012 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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "accountant"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000013'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000014'), "mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000013'), "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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "guest"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoAccountsController#update as HTML Parameters: {"mongo_account"=>{"name"=>nil}, "mongo_client_id"=>"5149b9a803b257c7f8000013", "id"=>"5149b9a803b257c7f8000014"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f8000013')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000013'), :_id=>BSON::ObjectId('5149b9a803b257c7f8000014')}).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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "accountant"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000015'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000016'), "mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000015'), "created_by_id"=>1}]) Processing by MongoAccountsController#destroy as HTML Parameters: {"mongo_client_id"=>"5149b9a803b257c7f8000015", "id"=>"5149b9a803b257c7f8000016"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f8000015')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000015'), :_id=>BSON::ObjectId('5149b9a803b257c7f8000016')}).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.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "accountant"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000017'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000018'), "mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000017'), "created_by_id"=>1}]) Processing by MongoAccountsController#index as HTML Parameters: {"mongo_client_id"=>"5149b9a803b257c7f8000017"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f8000017')}).limit(-1).sort([[:_id, :asc]]) Completed 500 Internal Server Error in 2ms  (5.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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "accountant"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000019'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f800001a'), "mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f8000019'), "created_by_id"=>1}]) Processing by MongoAccountsController#new as HTML Parameters: {"mongo_client_id"=>"5149b9a803b257c7f8000019"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f8000019')}).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.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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "accountant"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f800001c'), "accountant_id"=>1}]) MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f800001d'), "mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f800001c'), "created_by_id"=>1}]) Processing by MongoAccountsController#show as HTML Parameters: {"mongo_client_id"=>"5149b9a803b257c7f800001c", "id"=>"5149b9a803b257c7f800001d"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f800001c')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_accounts'].find({"mongo_client_id"=>BSON::ObjectId('5149b9a803b257c7f800001c'), :_id=>BSON::ObjectId('5149b9a803b257c7f800001d')}).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('5149b9a803b257c7f800001e'), "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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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('5149b9a803b257c7f800001f'), "name"=>nil, "accountant_id"=>1}]) Redirected to http://test.host/mongo_clients/5149b9a803b257c7f800001f 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('5149b9a803b257c7f8000020'), "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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 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"=>"5149b9a803b257c7f8000020"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f8000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f8000020')}).limit(-1).sort([[:_id, :asc]]) MONGODB (0ms) dummy_test['mongo_clients'].remove({:_id=>BSON::ObjectId('5149b9a803b257c7f8000020')}) 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('5149b9a803b257c7f8000021'), "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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#edit as HTML Parameters: {"id"=>"5149b9a803b257c7f8000021"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a803b257c7f8000021')}).limit(-1).sort([[:_id, :asc]]) Rendered mongo_clients/_form.html.erb (2.1ms) Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a803b257c7f8000022'), "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", Wed, 20 Mar 2013 13:29:12 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#index as HTML MONGODB (2ms) dummy_test['mongo_clients'].find({}) MONGODB [DEBUG] cursor.refresh() for cursor 7799143519229917796 Completed 200 OK in 503ms (Views: 502.6ms | ActiveRecord: 0.0ms)  (1.7ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a903b257c7f8000023'), "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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:13 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.5ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a903b257c7f8000025'), "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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#show as HTML Parameters: {"id"=>"5149b9a903b257c7f8000025"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a903b257c7f8000025')}).limit(-1).sort([[:_id, :asc]]) Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction MONGODB (0ms) dummy_test['mongo_clients'].insert([{"_id"=>BSON::ObjectId('5149b9a903b257c7f8000026'), "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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by MongoClientsController#update as HTML Parameters: {"mongo_client"=>{"name"=>nil}, "id"=>"5149b9a903b257c7f8000026"} MONGODB (0ms) dummy_test['mongo_clients'].find({:_id=>BSON::ObjectId('5149b9a903b257c7f8000026')}).limit(-1).sort([[:_id, :asc]]) Redirected to http://test.host/mongo_clients/5149b9a903b257c7f8000026 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :system_admin], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :department_manager], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :system_admin], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :guest], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["created_by_id", 1], ["name", nil], ["type", nil], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 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 (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :department_manager], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :guest], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :system_admin], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :guest], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :system_admin], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :guest], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :system_admin], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :system_admin], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :guest], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :blind_man], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :system_admin], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :department_manager], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :system_admin], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :guest], ["updated_at", Wed, 20 Mar 2013 13:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a903b257c7f800002f'), "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.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 MONGODB (0ms) dummy_test['mongo_accounts'].insert([{"_id"=>BSON::ObjectId('5149b9a903b257c7f8000030'), "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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :department_manager], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :guest], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :system_admin], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :accountant], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :system_admin], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :guest], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", :blind_man], ["updated_at", Wed, 20 Mar 2013 13:29:13 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.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (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.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.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  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:13 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"   (2.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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:13 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:13 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", Wed, 20 Mar 2013 13:29:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:14 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", Wed, 20 Mar 2013 13:29:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:14 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 (2.7ms) Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.1ms)  (0.4ms) 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", Wed, 20 Mar 2013 13:29:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:14 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", Wed, 20 Mar 2013 13:29:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:14 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 30ms (Views: 27.7ms | 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", Wed, 20 Mar 2013 13:29:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:14 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", Wed, 20 Mar 2013 13:29:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:14 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.1ms | 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", Wed, 20 Mar 2013 13:29:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:14 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", Wed, 20 Mar 2013 13:29:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:14 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.3ms | 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", Wed, 20 Mar 2013 13:29:14 UTC +00:00], ["name", nil], ["updated_at", Wed, 20 Mar 2013 13:29:14 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", Wed, 20 Mar 2013 13:29:14 UTC +00:00], ["name", "system_admin"], ["updated_at", Wed, 20 Mar 2013 13:29:14 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.4ms) rollback transaction